Поделиться через


Конструктор uint_2::uint_2

Конструктор по умолчанию, инициализирует все элементы нулем.

uint_2() restrict(amp,cpu);
uint_2(
   unsigned int _V0,
   unsigned int _V1
) restrict(amp,cpu);
uint_2(
   unsigned int _V
) restrict(amp,cpu);
uint_2(
   const uint_2& _Other
) restrict(amp,cpu);
explicit inline uint_2(
   const int_2& _Other
) restrict(amp,cpu);
explicit inline uint_2(
   const float_2& _Other
) restrict(amp,cpu);
explicit inline uint_2(
   const unorm_2& _Other
) restrict(amp,cpu);
explicit inline uint_2(
   const norm_2& _Other
) restrict(amp,cpu);
explicit inline uint_2(
   const double_2& _Other
) restrict(amp,cpu);

Параметры

  • _V0
    Значение для инициализации 0-го элемента.

  • _V1
    Значение для инициализации 1-го элемента.

  • _V
    Значение для инициализации.

  • _Other
    Объект, используемый для инициализации.

Требования

Заголовок: amp_short_vectors.h

Пространство имен: Concurrency::graphics

См. также

Ссылки

Класс uint_2