共用方式為


float_3::float_3 建構函式

預設建構函式,初始化所有元素為 0 。

float_3() restrict(amp,cpu);
float_3(
   float _V0,
   float _V1,
   float _V2
) restrict(amp,cpu);
float_3(
   float _V
) restrict(amp,cpu);
float_3(
   const float_3& _Other
) restrict(amp,cpu);
explicit inline float_3(
   const uint_3& _Other
) restrict(amp,cpu);
explicit inline float_3(
   const int_3& _Other
) restrict(amp,cpu);
explicit inline float_3(
   const unorm_3& _Other
) restrict(amp,cpu);
explicit inline float_3(
   const norm_3& _Other
) restrict(amp,cpu);
explicit inline float_3(
   const double_3& _Other
) restrict(amp,cpu);

參數

  • _V0
    用來初始化項目 0 的值。

  • _V1
    用來初始化項目 1 的值。

  • _V2
    用來初始化項目 2 的值。

  • _V
    用來初始化的值。

  • _Other
    用來初始化的物件。

需求

標頭: amp_short_vectors.h

命名空間: Concurrency::graphics

請參閱

參考

float_3 類別