다음을 통해 공유


unorm_2::unorm_2 생성자

기본 생성자가 모든 요소가 0으로 초기화 합니다.

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

매개 변수

  • _V0
    요소 0을 초기화할 값입니다.

  • _V1
    1 요소를 초기화할 수 있는 값입니다.

  • _V
    값을 초기화 합니다.

  • _Other
    초기화 하는 데 사용 되는 개체입니다.

요구 사항

헤더: amp_short_vectors.h

네임 스페이스: Concurrency::graphics

참고 항목

참조

unorm_2 클래스