共用方式為


int_3::int_3 建構函式

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

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

參數

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

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

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

  • _V
    用來初始化的值。

  • _Other
    用來初始化的物件。

需求

標頭: amp_short_vectors.h

命名空間: Concurrency::graphics

請參閱

參考

int_3 類別