Class MipMapDescription
Describes a mipmap.
public class MipMapDescription : IEquatable<MipMapDescription>
- Inheritance
-
MipMapDescription
- Implements
- Inherited Members
Constructors
MipMapDescription(int, int, int, int, int, int, int)
Initializes a new instance of the MipMapDescription class.
public MipMapDescription(int width, int height, int depth, int rowStride, int depthStride, int widthPacked, int heightPacked)
Parameters
widthintThe width.
heightintThe height.
depthintThe depth.
rowStrideintThe row stride.
depthStrideintThe depth stride.
widthPackedintThe packed width.
heightPackedintThe packed height.
Fields
Depth
Depth of this mipmap.
public readonly int Depth
Field Value
DepthStride
DepthStride of this mipmap (number of bytes per depth slice).
public readonly int DepthStride
Field Value
Height
Height of this mipmap.
public readonly int Height
Field Value
HeightPacked
Height of this mipmap.
public readonly int HeightPacked
Field Value
MipmapSize
Size in bytes of this whole mipmap.
public readonly int MipmapSize
Field Value
RowStride
RowStride of this mipmap (number of bytes per row).
public readonly int RowStride
Field Value
Width
Width of this mipmap.
public readonly int Width
Field Value
WidthPacked
Width of this mipmap.
public readonly int WidthPacked
Field Value
Methods
Equals(MipMapDescription?)
public bool Equals(MipMapDescription? other)
Parameters
otherMipMapDescription
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(MipMapDescription, MipMapDescription)
Implements the ==.
public static bool operator ==(MipMapDescription left, MipMapDescription right)
Parameters
leftMipMapDescriptionThe left.
rightMipMapDescriptionThe right.
Returns
- bool
The result of the operator.
operator !=(MipMapDescription, MipMapDescription)
Implements the !=.
public static bool operator !=(MipMapDescription left, MipMapDescription right)
Parameters
leftMipMapDescriptionThe left.
rightMipMapDescriptionThe right.
Returns
- bool
The result of the operator.