RWByteAddressBuffer.Load4Aligned
Description
Load four 32-bit unsigned integers from the buffer at the specified location with alignment of uint4, which is 16.
Signature
vector<uint, 4> RWByteAddressBuffer.Load4Aligned(int location);
Parameters
location : int
The input address in bytes which must be a multiple of alignment of 16.
Return value
uint4 Four 32-bit unsigned integer value loaded from 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.
metal
Available in all stages.
spirv
Available in all stages.