sincos
Description
Signature
void sincos<T>( T x, out T s, out T c) where T : __BuiltinFloatingPointType; void sincos<T, N:int>( vector<T, N> x, out vector<T, N> s, out vector<T, N> c) where T : __BuiltinFloatingPointType; void sincos<T, N:int, M:int, L1:int, L2:int>( matrix<T, N, M> x, out matrix<T, N, M> s, out matrix<T, N, M> c) where T : __BuiltinFloatingPointType;
Generic Parameters
T: __BuiltinFloatingPointType
N : int
M : int
L1 : int
L2 : int
Parameters
x : T
s : T
c : T
x : vector<T, N>
s : vector<T, N>
c : vector<T, N>
x : matrix<T, N, M>
s : matrix<T, N, M>
c : matrix<T, N, M>
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.
metal
Available in all stages.
wgsl
Available in all stages.
spirv
Available in all stages.