float_2::float_2 建構函式
預設建構函式,初始化所有元素為 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