Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 1.06 KB

sm5-object-byteaddressbuffer-getdimensions.md

File metadata and controls

77 lines (47 loc) · 1.06 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
ByteAddressBuffer::GetDimensions function
Gets the length of the buffer. | ByteAddressBuffer::GetDimensions function
32099118-8d8a-440e-96ba-2580d905f068
GetDimensions function HLSL
apiref
GetDimensions
NA
reference
05/31/2018

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