CoopVec<T, N:int>.init
Description
Signature
CoopVec<T, N:int>.init() where T : __BuiltinArithmeticType; CoopVec<T, N:int>.init(T t) where T : __BuiltinArithmeticType; CoopVec<T, N:int>.init<U>(CoopVec<U, N> other) where U : __BuiltinArithmeticType where T : __BuiltinArithmeticType; CoopVec<T, N:int>.init<each U>(U args) where U : __BuiltinArithmeticType where T : __BuiltinArithmeticType; CoopVec<T, N:int>.init(int i) where T : __BuiltinArithmeticType; CoopVec<T, N:int>.init(CoopVec<T, N> x) where T : __BuiltinArithmeticType;
Generic Parameters
U: __BuiltinArithmeticType
Parameters
t : T
other : CoopVec<U, N>
args : U
i : int
x : CoopVec<T, N>
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
.