默认构造函数,初始化 0 的所有元素。
double_3() restrict(amp, cpu);
double_3(
double _V0,
double _V1,
double _V2
) restrict(amp, cpu);
double_3(
double _V
) restrict(amp, cpu);
double_3(
const double_3& _Other
) restrict(amp, cpu);
explicit inline double_3(
const uint_3& _Other
) restrict(amp, cpu);
explicit inline double_3(
const int_3& _Other
) restrict(amp, cpu);
explicit inline double_3(
const float_3& _Other
) restrict(amp, cpu);
explicit inline double_3(
const unorm_3& _Other
) restrict(amp, cpu);
explicit inline double_3(
const norm_3& _Other
) restrict(amp, cpu);
参数
_V0
初始化的元素0的值。_V1
初始化的元素1的值。_V2
初始化的元素2的值。_V
用于初始化的值。_Other
被用来初始化的对象。
要求
**页眉:**amp_short_vectors.h
**命名空间:**Concurrency::graphics