UmbraTextureInfo struct

A structure describing a texture asset.

Public variables

uint32_t width
The width, in texels, of the texture.
uint32_t height
The height, in texels, of the texture.
UmbraTextureFormat format
The format of the texture.
UmbraColorSpace colorSpace
The color space of the texture.
uint32_t numMipLevels
The number of mip levels of the texture.
uint32_t dataByteSize
The uncompressed data size, in bytes, of the texture.
UmbraTextureType type
The type of the texture.
uint32_t metaDataByteSize
The uncompressed meta data size, in bytes, of the texture.

Variable details

UmbraColorSpace UmbraTextureInfo::colorSpace

The color space of the texture.