Descriptor binding description for RootSignature and Descriptor Storage creation. Description place in array determines binding index that this lane maps to. e.g. bindings[1] means on HLSL side this results in [[vk::binding(0,1)]]. All the bindings in Descriptor Storage are unbounded, array of these structures determine the presence and order of the bindings.
uint32_t binding_space;
uint32_t space_overlap_count;
uint32_t binding_count;
};
DescriptorType
Type of the descriptor in the descriptor table.
Descriptor binding description for RootSignature and Descriptor Storage creation. Description place i...
Definition at line 2145 of file api.hpp.
uint32_t wis::DescriptorBindingDesc::space_overlap_count |
Number of consecutive spaces this binding occupies. e.g. for binding_space = 1 and space_overlap_count = 3, HLSL binding will be :register(x0,space1), register(x0,space2), register(x0,space3) This is useful for binding multiple resource types to the same register array in HLSL.
Definition at line 2153 of file api.hpp.