Class RenderTargetInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class RenderTargetInfo : public gpa::playback::ResourceInfo::Ex

Graphics API agnostic information for a render target.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this RenderTargetInfo object's TypeId.

Returns

This RenderTargetInfo object's TypeId

Public Members

ResourceInfo const *pResourceInfo = {nullptr}

A pointer to the ResourceInfo referenced by this RenderTargetInfo.

ViewInfo const *pViewInfo = {nullptr}

A pointer to the View info that describes the ResourceInfo.

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

This RenderTargetInfo object's Format.

struct gpa::playback::RenderTargetInfo::BufferInfo buffer

This RenderTargetInfo object's BufferInfo.

struct gpa::playback::RenderTargetInfo::TextureInfo texture

This RenderTargetInfo object's TextureInfo.

TextureInfo const *pTextureInfo = {nullptr}
api_types::TextureType type = {api_types::GPA_TEXTURE_TYPE_UNKNOWN}
api_types::TextureSubresource subresource = {}
struct BufferInfo

Public Members

uint64_t offset = {0}

The referenced buffer's offset in bytes.

uint32_t count = {0}

The number of api_types::Format elements referenced via this RenderTargetInfo.

struct TextureInfo

Public Members

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

This RenderTargetInfo object's api_types::TextureType.

api_types::TextureSubresource subresource = {}

The api_types::TextureSubresource referenced via this RenderTargetInfo.