Struct TextureMetadata

Struct Documentation

struct TextureMetadata

Public Members

TextureType type = {kTextureTypeInvalid}
uint32_t width = {0}

Width of the texture in pixels.

uint32_t height = {0}

Height of the texture in pixels.

uint32_t depth = {0}

Depth of the texture in pixels.

uint32_t slices = {0}

Number of slices (for example, for arrays of 2D textures or cube textures)

uint32_t mips = {0}

Number of mip maps.

uint64_t format = {0}

The native pixel format.

uint32_t sampleCount = {0}

The sample count of the image; >1 for multi-sampled images, 1 otherwise. If an image's sample count could not be retrieved, 0 is reported.

std::vector<Aspect> aspects