CoopVec<T, N:int>.store
Description
Store all elements of this CoopVec into a buffer at a specified offset.
Signature
void CoopVec<T, N:int>.store( RWByteAddressBuffer buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; void CoopVec<T, N:int>.store( RWStructuredBuffer<T, DefaultDataLayout> buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; void CoopVec<T, N:int>.store<M:int>( T[M] data, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType;
Generic Parameters
M : int
Parameters
buffer : RWByteAddressBuffer
The destination buffer to store the values into.
byteOffset16ByteAligned : int = 0
The byte offset from the start of the buffer where the data will be stored. Must be 16-byte aligned.
buffer : RWStructuredBuffer<T, DefaultDataLayout>
The destination buffer to store the values into.
data : T [ M ]
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
cpp
Available in all stages.
cuda
Available in all stages.
spirv
Available in all stages.
Requires capability: spvCooperativeVectorNV
.