Struct ImageDescription
A description for Image.
public struct ImageDescription : IEquatable<ImageDescription>
- Implements
- Inherited Members
- Extension Methods
Fields
ArraySize
Number of textures in the array. The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture1DArraySize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
public int ArraySize
Field Value
Remarks
This field is only valid for Texture1D, Texture2D and TextureCube
Depth
Texture depth (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture3DSize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
public int Depth
Field Value
Remarks
This field is only valid for Texture3D.
Dimension
The dimension of a texture.
public TextureDimension Dimension
Field Value
Format
Texture format (see SharpDX.DXGI.Format).
public Format Format
Field Value
- Format
Height
Texture height (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture3DSize (2048). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
public int Height
Field Value
Remarks
This field is only valid for Texture2D, Texture3D and TextureCube.
MipLevels
The maximum number of mipmap levels in the texture. See the remarks in SharpDX.Direct3D11.ShaderResourceViewDescription.Texture1DResource. Use 1 for a multisampled texture; or 0 to generate a full set of subtextures.
public int MipLevels
Field Value
Width
Texture width (in texels). The range is from 1 to SharpDX.Direct3D11.Resource.MaximumTexture1DSize (16384). However, the range is actually constrained by the feature level at which you create the rendering device. For more information about restrictions, see Remarks.
public int Width
Field Value
Remarks
This field is valid for all textures: Texture1D, Texture2D, Texture3D and TextureCube.
Methods
Equals(ImageDescription)
public bool Equals(ImageDescription other)
Parameters
otherImageDescription
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ImageDescription, ImageDescription)
public static bool operator ==(ImageDescription left, ImageDescription right)
Parameters
leftImageDescriptionrightImageDescription
Returns
operator !=(ImageDescription, ImageDescription)
public static bool operator !=(ImageDescription left, ImageDescription right)
Parameters
leftImageDescriptionrightImageDescription