ImageDescription Struct
Namespace: Stride.GraphicsAssembly: Stride.dll
A description for Image.
[DataContract]
public struct ImageDescription : IEquatable<ImageDescription>
| Name | Description | |
|---|---|---|
| Fields | ||
| ArraySize | Number of textures in the array. The range is from 1 to |
|
| Depth | Texture depth (in texels). The range is from 1 to |
|
| Dimension | The dimension of a texture. |
|
| Format | Texture format (see |
|
| Height | Texture height (in texels). The range is from 1 to |
|
| MipLevels | The maximum number of mipmap levels in the texture. See the remarks in |
|
| Width | Texture width (in texels). The range is from 1 to |
|
| Methods | ||
| Equals(ImageDescription) | ||
| Equals(Object) | ||
| GetHashCode() | ||
| ToString() | ||
| Operators | ||
| Equality(ImageDescription, ImageDescription) | ||
| Inequality(ImageDescription, ImageDescription) | ||
Fields
ArraySize
Number of textures in the array. The range is from 1 to
public int ArraySize
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
This field is only valid for
Depth
Texture depth (in texels). The range is from 1 to
public int Depth
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
This field is only valid for
Dimension
The dimension of a texture.
public TextureDimension Dimension
Field Value
| Type | Description |
|---|---|
| TextureDimension |
Format
Texture format (see
public PixelFormat Format
Field Value
| Type | Description |
|---|---|
| PixelFormat |
Height
Texture height (in texels). The range is from 1 to
public int Height
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
This field is only valid for
MipLevels
The maximum number of mipmap levels in the texture. See the remarks in
public int MipLevels
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Width
Texture width (in texels). The range is from 1 to
public int Width
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
This field is valid for all textures:
Methods
Equals(ImageDescription)
public bool Equals(ImageDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageDescription | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
GetHashCode()
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
Operators
Equality(ImageDescription, ImageDescription)
public static bool operator ==(ImageDescription left, ImageDescription right)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageDescription | left | |
| ImageDescription | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(ImageDescription, ImageDescription)
public static bool operator !=(ImageDescription left, ImageDescription right)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageDescription | left | |
| ImageDescription | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |