RWBuffer::GetDimensions function

Gets the length of the buffer.

Syntax

void GetDimensions(
  out uint dim
);

Parameters

dim [out]

Type: uint

The length, in elements, of the Buffer as set in the Unordered Resource View.

Return value

Nothing

Remarks

This function is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x

 

See also

RWBuffer

Shader Model 5