Struct TextureFormat
Describes the format and layout of a texture.
struct TextureFormat;
Fields
Name | Type | Description |
---|---|---|
cubeFaces
|
uint | Bitwise combination of CubeFaceBit members.
|
Properties
Name | Type | Description |
---|---|---|
channelSize [get]
|
uint | Returns the size of a single channel in bytes. |
dimension [get]
|
TextureDimension | Returns the texture dimension. |
isCompressed [get]
|
bool | Returns true if the format is compressed.
|
isCubemap [get]
|
bool | Returns true if the format is a cubemap.
|
numChannels [get]
|
uint | Returns the number of channels. |
pixelSize [get]
|
uint | Returns the size of a pixel in bytes. |