Struct ResourceBindings
Nested Relationships
Nested Types
Struct Documentation
-
struct ResourceBindings
The resource bindings associated with a call index.
"Binding" means that the resource enclosed was bound, but not necessarily that it was used by the execution.
Public Members
-
std::vector<InputResource> inputs
-
std::vector<OutputResource> outputs
-
std::vector<ResourceID> indexBuffers
-
std::vector<BufferRange> indexBuffersRanges
-
std::vector<ResourceID> vertexBuffers
-
std::vector<BufferRange> vertexBuffersRanges
-
std::vector<ArgumentResource> argumentResources
-
std::vector<ResourceID> shaders
-
struct ArgumentResource
Represents the resource that used due to being provided as call argument.
Public Types
-
enum ArgumentType
Values:
-
enumerator kArgType_Unknown
Unknown/invalid ArgumentType.
-
enumerator kArgType_IndirectBuffer
Buffer used as indirect buffer.
-
enumerator kArgType_IndirectCountBuffer
Buffer used as indirect count source.
-
enumerator kArgType_SourceResource
Source resource for copy, blit, resolve etc.
-
enumerator kArgType_DestinationResource
Destination resource for copy, blit, resolve, clear, fill etc.
-
enumerator kArgType_BarrierTransitionTarget
Resource used as target of barrier or layout transition.
-
enumerator kArgType_LoadedResource
Resource data loaded as is, such as at the beginning of a render pass.
-
enumerator kArgType_Count
Total number of ArgumentType enumerations.
-
enumerator kArgType_Unknown
Public Members
-
ResourceID id
-
ArgumentType argumentType
-
uint32_t argumentIndex
-
ResourceType resourceType
For attachment images, the attachment index associated with the resource.
-
TextureRange textureRange
-
BufferRange bufferRange
-
enum ArgumentType
-
struct InputResource
Public Members
-
ResourceID id
-
uint32_t bindIndex
-
uint32_t descriptorSetIndex
-
uint32_t arrayIndex
-
StageVisibilityFlags visibility
-
BindingMetadata metadata
-
ResourceID id
-
struct OutputResource
-
struct ResouceBinding
-
std::vector<InputResource> inputs