RWByteAddressBuffer.Store
Description
Set one value to the buffer at the specified location.
Signature
void RWByteAddressBuffer.Store( uint address, uint value); void RWByteAddressBuffer.Store<T>( uint address, T value); void RWByteAddressBuffer.Store<T>( uint address, T value, uint alignment);
Generic Parameters
T
The type of the value to load from the buffer.
Parameters
address : uint
The input address in bytes, which must be a multiple of 4.
value : uint
The input value.
value : T
The input value.
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.
spirv
Available in all stages.