ByteAddressBuffer.GetDimensions

Description

Get the number of bytes in the buffer.

Signature

void ByteAddressBuffer.GetDimensions(out uint dim);

Parameters

dim : uint

[out] The number of bytes in the buffer.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cpp

Available in all stages.

cuda

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.

llvm

Available in all stages.