Class TextureInfo

Inheritance Relationships

Base Type

Class Documentation

class TextureInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for a texture object.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this TextureInfo object's TypeId.

Returns

This TextureInfo object's TypeId

Public Members

api_types::TextureType type = {api_types::GPA_TEXTURE_TYPE_UNKNOWN}

This TextureInfo object's TextureType.

api_types::Format format = {api_types::GPA_FORMAT_UNKNOWN}

This TextureInfo object's GpaFormat.

uint64_t width = {0}

This TextureInfo object's width.

uint64_t height = {0}

This TextureInfo object's height.

uint64_t depth = {0}

This TextureInfo object's depth.

uint32_t mipLevelCount = {0}

This TextureInfo object's mip level count.

uint32_t arrayLayerCount = {0}

This TextureInfo object's array layer count.

uint32_t sampleCount = {0}

This TextureInfo object's sample count.

uint32_t sampleQuality = {0}

This TextureInfo object's sample quality.

api_types::Extent3D samplerFeedbackMipRegion = {0}

This TextureInfo object's sampler feedback mip region.

SwapchainInfo const *pSwapchainInfo = {nullptr}

This TextureInfo object's SwapchainInfo, or nullptr if this TextureInfo isn't associated with a SwapchainInfo.