CoopVec<T, int N>.mod¶
Description¶
Performs component-wise remainder operation between two cooperative vectors.
Signature¶
CoopVec<T, N> CoopVec<T, int N>.mod(CoopVec<T, N> other) where T : __BuiltinArithmeticType;
Parameters¶
other : CoopVec<T, N>¶
The cooperative vector to compute the remainder with.
Return value¶
A new cooperative vector containing the remainder of the division between corresponding components.
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
cpp¶
Available in all stages.
cuda¶
Available in all stages.
spirv¶
Available in all stages.
Requires capability: spvCooperativeVectorNV.