共用方式為


uint_4::uint_4 Constructor

Default constructor, initializes all elements with 0.

uint_4() restrict(amp,cpu);
uint_4(
   unsigned int _V0,
   unsigned int _V1,
   unsigned int _V2,
   unsigned int _V3
) restrict(amp,cpu);
uint_4(
   unsigned int _V
) restrict(amp,cpu);
uint_4(
   const uint_4& _Other
) restrict(amp,cpu);
explicit inline uint_4(
   const int_4& _Other
) restrict(amp,cpu);
explicit inline uint_4(
   const float_4& _Other
) restrict(amp,cpu);
explicit inline uint_4(
   const unorm_4& _Other
) restrict(amp,cpu);
explicit inline uint_4(
   const norm_4& _Other
) restrict(amp,cpu);
explicit inline uint_4(
   const double_4& _Other
) restrict(amp,cpu);

Parameters

  • _V0
    The value to initialize element 0.

  • _V1
    The value to initialize element 1.

  • _V2
    The value to initialize element 2.

  • _V3
    The value to initialize element 3.

  • _V
    The value for initialization.

  • _Other
    The object used to initialize.

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

uint_4 Class