GetDimensions function

Gets the length of the buffer.

Syntax

void GetDimensions(
  out uint dim
);

Parameters

dim [out]

Type: uint

The length, in bytes, of the buffer.

Return value

This function does not return a value.

Remarks

This function is supported for the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x x x x x

 

See also

Buffer

Shader Model 5