Table of Contents

Class MipMapDescription

Namespace
SharpDX.Toolkit.Graphics
Assembly
HelixToolkit.SharpDX.dll

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

width int

The width.

height int

The height.

depth int

The depth.

rowStride int

The row stride.

depthStride int

The depth stride.

widthPacked int

The packed width.

heightPacked int

The packed height.

Fields

Depth

Depth of this mipmap.

public readonly int Depth

Field Value

int

DepthStride

DepthStride of this mipmap (number of bytes per depth slice).

public readonly int DepthStride

Field Value

int

Height

Height of this mipmap.

public readonly int Height

Field Value

int

HeightPacked

Height of this mipmap.

public readonly int HeightPacked

Field Value

int

MipmapSize

Size in bytes of this whole mipmap.

public readonly int MipmapSize

Field Value

int

RowStride

RowStride of this mipmap (number of bytes per row).

public readonly int RowStride

Field Value

int

Width

Width of this mipmap.

public readonly int Width

Field Value

int

WidthPacked

Width of this mipmap.

public readonly int WidthPacked

Field Value

int

Methods

Equals(MipMapDescription?)

public bool Equals(MipMapDescription? other)

Parameters

other MipMapDescription

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(MipMapDescription, MipMapDescription)

Implements the ==.

public static bool operator ==(MipMapDescription left, MipMapDescription right)

Parameters

left MipMapDescription

The left.

right MipMapDescription

The right.

Returns

bool

The result of the operator.

operator !=(MipMapDescription, MipMapDescription)

Implements the !=.

public static bool operator !=(MipMapDescription left, MipMapDescription right)

Parameters

left MipMapDescription

The left.

right MipMapDescription

The right.

Returns

bool

The result of the operator.