Struct TextureSubresource

Struct Documentation

struct TextureSubresource

Graphics API agnostic information for a texture subresource.

Public Members

uint32_t baseMipLevel = {0}

The base mip level referenced by this TextureSubresource.

uint32_t mipLevelCount = {0}

The number of mip levels referenced by this TextureSubresource.

uint32_t baseArrayLayer = {0}

The base array layer referenced by this TextureSubresource.

uint32_t arrayLayerCount = {0}

The number of array layers referenced by this TextureSubresource.

TextureAspectFlags aspect = {GPA_TEXTURE_ASPECT_UNKNOWN}

The texture aspect/plane referenced by this TextureSubresource.