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:

VertexHullDomainGeometryPixelCompute
xx

 

See also

RWByteAddressBuffer
Shader Model 5

 

 

Show: