RWByteAddressBuffer.StoreAligned

Description

Set four values to the buffer at the specified location, the address will be aligned to the alignment of T.

Signature

void RWByteAddressBuffer.StoreAligned<T>(
    uint address,
    T value);

Generic Parameters

T

The type of the input value.

Parameters

address : uint

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

value : T

The input value.

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.