Compartir a través de


unorm_2::unorm_2 Constructor

Default constructor, initializes all elements with 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);

Parameters

  • _V0
    The value to initialize element 0.

  • _V1
    The value to initialize element 1.

  • _V
    The value for initialization.

  • _Other
    The object used to initialize.

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

unorm_2 Class