Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

ConsumeStructuredBuffer<T, L>.GetDimensions¶

Description¶

Gets the dimensions of the resource.

Signature¶

void ConsumeStructuredBuffer<T, L>.GetDimensions(
    out uint numStructs,
    out uint stride)
    where L : IBufferDataLayout;

Parameters¶

numStructs : uint¶

[out] The number of structures in the buffer.

stride : uint¶

[out] The stride, in bytes, of each element

On this page
  • ConsumeStructuredBuffer<T, L>.GetDimensions
    • Description
    • Signature
    • Parameters
      • numStructs : uint
      • stride : uint