coopVecLoad
Description
Signature
CoopVec<T, N> coopVecLoad<N:int, T>( ByteAddressBuffer buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; CoopVec<T, N> coopVecLoad<N:int, T>( RWByteAddressBuffer buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; CoopVec<T, N> coopVecLoad<N:int, T>( StructuredBuffer<T, DefaultDataLayout> buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType; CoopVec<T, N> coopVecLoad<N:int, T>( RWStructuredBuffer<T, DefaultDataLayout> buffer, int byteOffset16ByteAligned) where T : __BuiltinArithmeticType;
Generic Parameters
N : int
T: __BuiltinArithmeticType
Parameters
buffer : ByteAddressBuffer
byteOffset16ByteAligned : int = 0
buffer : RWByteAddressBuffer
buffer : StructuredBuffer<T, DefaultDataLayout>
buffer : RWStructuredBuffer<T, DefaultDataLayout>
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
.