Class InputBindingInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class InputBindingInfo : public gpa::playback::ResourceInfo::Ex

Graphics API agnostic information for an input binding.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this InputBindingInfo object's TypeId.

Returns

This InputBindingInfo object's TypeId

Public Members

ResourceInfo const *pResourceInfo = {nullptr}

A pointer to the referenced ResourceInfo.

ViewInfo const *pViewInfo = {nullptr}

a pointer to a ViewInfo that corresponds to the resource

ResourceId setId = {0}

The capture handle of the corresponding descriptor set.

ResourceId setHandle = {0}

The playback handle of the corresponding descriptor set.

uint32_t setIndex = {0}

The descriptor set index / descriptor heap id.

uint32_t bindIndex = {0}

The bind index within the descriptor set / descriptor heap.

uint32_t arrayIndex = {0}

The array index within the bind slot at bind index.

struct gpa::playback::InputBindingInfo::ShaderBinding shader
api_types::ShaderStageFlags shaderStages = {api_types::GPA_SHADER_STAGE_UNKNOWN}

The api_types::ShaderStageFlags at which this descriptor is accesible.

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

The api_types::Format of this descriptor.

api_types::BufferRegion buffer = {}

The buffer description, note that this field is only active if pResourceInfo points to a BufferInfo.

struct gpa::playback::InputBindingInfo::TextureInputBindingInfo texture

The texture description, note that this field is only active if pResourceInfo points to a TextureInfo.

struct ShaderBinding

This struct represents shader binding. @detail For DX this binding information is different from DescriptorBinding which represents the position inside a DescriptorHeap/DescriptorSet. For Vulkan this is the same as DescriptorBinding.

Public Members

uint32_t registerIndex = {0}

DX shader variable register index.

uint32_t registerType = {0}

DX shader variable register index.

uint32_t spaceIndex = {0}

DX shader variable space index.

uint32_t arrayIndex = {0}

The array index within the bind slot at bind index.

struct TextureInputBindingInfo

Public Members

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

The api_types::TextureType of this descriptor.

api_types::TextureSubresource subresource = {}

The api_types::TextureSubresource of this descriptor.

SamplerInfo const *pSamplerInfo = {nullptr}

A pointer to this descriptor's SamplerInfo.

bool immutableSampler = {false}

Whether or not this descriptor's sampler is immutable.

bool staticSampler = {false}

Whether or not this descriptor's sampler is static.