RWByteAddressBuffer::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

 

See also

RWByteAddressBuffer

Shader Model 5