Class InputBindingInfo
Defined in File input-binding-info.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public gpa::playback::ResourceInfo::Ex
(Class ResourceInfo::Ex)
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.
-
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.
-
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.
-
api_types::TextureType type = {api_types::GPA_TEXTURE_TYPE_UNKNOWN}
-
virtual TypeId GetTypeId() const final override