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 类