uint_3::uint_3 构造函数

默认构造函数,初始化 0 的所有元素。

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

参数

  • _V0
    初始化的元素0的值。

  • _V1
    初始化的元素1的值。

  • _V2
    初始化的元素2的值。

  • _V
    用于初始化的值。

  • _Other
    被用来初始化的对象。

要求

**页眉:**amp_short_vectors.h

**命名空间:**Concurrency::graphics

请参见

参考

uint_3 类