CoopVec<T, N:int>.load
Description
Signature
/// Requires Capability Set 1: static CoopVec<T, N> CoopVec<T, N:int>.load( ByteAddressBuffer buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; /// Requires Capability Set 1: static CoopVec<T, N> CoopVec<T, N:int>.load( RWByteAddressBuffer buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; /// Requires Capability Set 1: static CoopVec<T, N> CoopVec<T, N:int>.load( StructuredBuffer<T, DefaultDataLayout> buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; /// Requires Capability Set 2: static CoopVec<T, N> CoopVec<T, N:int>.load( RWStructuredBuffer<T, DefaultDataLayout> buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; /// Requires Capability Set 1: static CoopVec<T, N> CoopVec<T, N:int>.load<M:int>( const T[M] data, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType;
Generic Parameters
M : int
Parameters
buffer : ByteAddressBuffer
byteOffset16ByteAligned : int = 0
buffer : RWByteAddressBuffer
buffer : StructuredBuffer<T, DefaultDataLayout>
buffer : RWStructuredBuffer<T, DefaultDataLayout>
data : T [ M ]
Availability and Requirements
Capability Set 1
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
.
Capability Set 2
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeVectorNV
.