默认构造函数,初始化 0 的所有元素。
float_2() restrict(amp,cpu);
float_2(
float _V0,
float _V1
) restrict(amp,cpu);
float_2(
float _V
) restrict(amp,cpu);
float_2(
const float_2& _Other
) restrict(amp,cpu);
explicit inline float_2(
const uint_2& _Other
) restrict(amp,cpu);
explicit inline float_2(
const int_2& _Other
) restrict(amp,cpu);
explicit inline float_2(
const unorm_2& _Other
) restrict(amp,cpu);
explicit inline float_2(
const norm_2& _Other
) restrict(amp,cpu);
explicit inline float_2(
const double_2& _Other
) restrict(amp,cpu);
参数
_V0
初始化的元素0的值。_V1
初始化的元素1的值。_V
用于初始化的值。_Other
被用来初始化的对象。
要求
**页眉:**amp_short_vectors.h
**命名空间:**Concurrency::graphics