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

ByteAddressBuffer

Shader Model 5