RasterizerOrderedByteAddressBuffer.Load4

Description

Load four 32-bit unsigned integers from the buffer at the specified location.

Signature

/// Requires Capability Set 1:
vector<uint, 4> RasterizerOrderedByteAddressBuffer.Load4(
    uint location);

/// Requires Capability Set 2:
vector<uint, 4> RasterizerOrderedByteAddressBuffer.Load4(
    uint location,
    out uint status);

Parameters

location : uint

The input address in bytes, which must be a multiple of 4.

status : uint

Return value

Four 32-bit unsigned integers loaded from the buffer.

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.

wgsl

Available in all stages.

spirv

Available in all stages.

llvm

Available in all stages.

Capability Set 2

Defined for the following targets:

hlsl

Available in all stages.