Describes the binding information of a buffer (or array of buffers).
More...
|
HgiBufferHandleVector | buffers |
|
std::vector< uint32_t > | offsets |
|
HgiBindResourceType | resourceType |
|
uint32_t | bindingIndex |
|
HgiShaderStage | stageUsage |
|
Describes the binding information of a buffer (or array of buffers).
-
buffers: The buffer(s) to be bound. If there are more than one buffer, the buffers will be put in an array-of-buffers. Please note that different platforms have varying limits to max buffers in an array.
-
offsets: Offset (in bytes) where data begins from the start of the buffer. This if an offset for each buffer in 'buffers'.
-
resourceType: The type of buffer(s) that is to be bound. All buffers in the array must have the same type. Vertex, index and indirect buffers are not bound to a resourceSet. They are instead passed to the draw command.
-
bindingIndex: Binding location for the buffer(s).
-
stageUsage: What shader stage(s) the buffer will be used in.
Definition at line 70 of file resourceBindings.h.
The documentation for this struct was generated from the following file: