ByteAddressBuffer.Load
Description
Signature
/// Requires Capability Set 1: uint ByteAddressBuffer.Load(int location); /// Requires Capability Set 2: uint ByteAddressBuffer.Load( int location, out uint status); T ByteAddressBuffer.Load<T>(int location); T ByteAddressBuffer.Load<T>( int location, int alignment);
Generic Parameters
T
Parameters
location : int
status : uint
alignment : int
Availability and Requirements
Capability Set 1
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.
metal
Available in all stages.
spirv
Available in all stages.
Capability Set 2
Defined for the following targets:
hlsl
Available in all stages.