Buffer::GetDimensions function
The length, in elements, of the Buffer as set in the Shader Resource View.
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