RWByteAddressBuffer.Store2

Description

Set two values to the buffer at the specified location.

Signature

void RWByteAddressBuffer.Store2(
    uint address,
    vector<uint, 2> value);

void RWByteAddressBuffer.Store2(
    uint address,
    vector<uint, 2> value,
    uint alignment);

Parameters

address : uint

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

value : vector<uint, 2>

Two input values.

alignment : uint

Specifies the alignment of the location, which must be a multiple of 4.

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.

wgsl

Available in all stages.

spirv

Available in all stages.

llvm

Available in all stages.