Class KTXMipmapLevel
For each mipmap level in numberOfMipmapLevels.
Inherited Members
Namespace: Evergine.Assets.Extensions.KTX
Assembly: Evergine.Assets.dll
Syntax
public class KTXMipmapLevel
Constructors
KTXMipmapLevel(uint, uint, uint, uint, uint, KTXArrayElement[])
Initializes a new instance of the KTXMipmapLevel class.
Declaration
public KTXMipmapLevel(uint width, uint height, uint depth, uint totalSize, uint arraySliceSize, KTXArrayElement[] slices)
Parameters
Type | Name | Description |
---|---|---|
uint | width | The width. |
uint | height | The height. |
uint | depth | The depth. |
uint | totalSize | The total size. |
uint | arraySliceSize | The array slize size. |
KTXArrayElement[] | slices | The slices. |
Properties
ArrayElementSize
Gets the array element size.
Declaration
public uint ArrayElementSize { get; }
Property Value
Type | Description |
---|---|
uint |
ArrayElements
Getsthe array elements.
Declaration
public KTXArrayElement[] ArrayElements { get; }
Property Value
Type | Description |
---|---|
KTXArrayElement[] |
Depth
Gets the mipmap depth.
Declaration
public uint Depth { get; }
Property Value
Type | Description |
---|---|
uint |
Height
Gets the mipmap height.
Declaration
public uint Height { get; }
Property Value
Type | Description |
---|---|
uint |
TotalSize
Gets the mipmap total size.
Declaration
public uint TotalSize { get; }
Property Value
Type | Description |
---|---|
uint |
Width
Gets the mip map width.
Declaration
public uint Width { get; }
Property Value
Type | Description |
---|---|
uint |