共用方式為


int_3::int_3 Constructor

Default constructor, initializes all elements with 0.

int_3() restrict(amp,cpu);
int_3(
   int _V0,
   int _V1,
   int _V2
) restrict(amp,cpu);
int_3(
   int _V
) restrict(amp,cpu);
int_3(
   const int_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const uint_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const float_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const unorm_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const norm_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const double_3& _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.

  • _V
    The value for initialization.

  • _Other
    The object used to initialize.

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

int_3 Class