RWStructuredBuffer<T, L>.GetDimensions
Description
Get the dimensions of the buffer.
Signature
void RWStructuredBuffer<T, L>.GetDimensions( out uint numStructs, out uint stride) where L : IBufferDataLayout;
Parameters
numStructs : uint
The number of structures in the buffer.
stride : uint
The stride, in bytes, of each structure element.
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
cpp
Available in all stages.
cuda
Available in all stages.
metal
Available in all stages.
wgsl
Available in all stages.
spirv
Available in all stages.