CoopVec<T, N:int>.copyFrom
Description
Copy values from another CoopVec instance into this one. The source CoopVec can have a different element type, in which case appropriate type conversion will be performed.
Signature
void CoopVec<T, N:int>.copyFrom<U>(CoopVec<U, N> other) where U : __BuiltinArithmeticType where T : __BuiltinArithmeticType;
Generic Parameters
U: __BuiltinArithmeticType
Parameters
other : CoopVec<U, N>
The source CoopVec to copy from.
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.