STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
Concurrency::graphics::uint_3 Class Reference

Represent a short vector of 3 unsigned ints. More...

#include <amp_short_vectors.h>

Public Types

typedef unsigned int value_type
 

Public Member Functions

 __declspec (property(get=get_x, put=set_x)) unsigned int x
 Property for accessing element 0 of this uint_3 as an unsigned int. More...
 
 __declspec (property(get=get_x, put=set_x)) unsigned int r
 Property for accessing element 0 of this uint_3 as an unsigned int. More...
 
unsigned int get_x () const __GPU
 Returns element 0 of this uint_3. More...
 
unsigned intref_x () __GPU
 Returns reference to element 0 of this uint_3. More...
 
unsigned intref_r () __GPU
 Returns reference to element 0 of this uint_3. More...
 
void set_x (unsigned int _Value) __GPU
 Set element 0 of this uint_3 with an unsigned int. More...
 
 __declspec (property(get=get_y, put=set_y)) unsigned int y
 Property for accessing element 1 of this uint_3 as an unsigned int. More...
 
 __declspec (property(get=get_y, put=set_y)) unsigned int g
 Property for accessing element 1 of this uint_3 as an unsigned int. More...
 
unsigned int get_y () const __GPU
 Returns element 1 of this uint_3. More...
 
unsigned intref_y () __GPU
 Returns reference to element 1 of this uint_3. More...
 
unsigned intref_g () __GPU
 Returns reference to element 1 of this uint_3. More...
 
void set_y (unsigned int _Value) __GPU
 Set element 1 of this uint_3 with an unsigned int. More...
 
 __declspec (property(get=get_z, put=set_z)) unsigned int z
 Property for accessing element 2 of this uint_3 as an unsigned int. More...
 
 __declspec (property(get=get_z, put=set_z)) unsigned int b
 Property for accessing element 2 of this uint_3 as an unsigned int. More...
 
unsigned int get_z () const __GPU
 Returns element 2 of this uint_3. More...
 
unsigned intref_z () __GPU
 Returns reference to element 2 of this uint_3. More...
 
unsigned intref_b () __GPU
 Returns reference to element 2 of this uint_3. More...
 
void set_z (unsigned int _Value) __GPU
 Set element 2 of this uint_3 with an unsigned int. More...
 
 uint_3 () __GPU
 Default constructor, initializes all elements with 0. More...
 
 uint_3 (unsigned int _V0, unsigned int _V1, unsigned int _V2) __GPU
 Constructor. More...
 
 uint_3 (unsigned int _V) __GPU
 Constructor. More...
 
 uint_3 (const int_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 uint_3 (const float_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 uint_3 (const unorm_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 uint_3 (const norm_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 uint_3 (const double_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
uint_3 operator~ () const __GPU
 
uint_3operator++ () __GPU
 
uint_3 operator++ (int) __GPU
 
uint_3operator-- () __GPU
 
uint_3 operator-- (int) __GPU
 
uint_3operator+= (const uint_3 &_Other) __GPU
 
uint_3operator-= (const uint_3 &_Other) __GPU
 
uint_3operator*= (const uint_3 &_Other) __GPU
 
uint_3operator/= (const uint_3 &_Other) __GPU
 
uint_3operator%= (const uint_3 &_Other) __GPU
 
uint_3operator^= (const uint_3 &_Other) __GPU
 
uint_3operator|= (const uint_3 &_Other) __GPU
 
uint_3operator&= (const uint_3 &_Other) __GPU
 
uint_3operator>>= (const uint_3 &_Other) __GPU
 
uint_3operator<<= (const uint_3 &_Other) __GPU
 
 __declspec (property(get=get_xy, put=set_xy)) uint_2 xy
 Property for accessing element 0, and 1 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_xy, put=set_xy)) uint_2 rg
 Property for accessing element 0, and 1 of this uint_3 as a uint_2. More...
 
uint_2 get_xy () const __GPU
 Returns a uint_2 that is composed of element 0, and element 1 of this uint_3. More...
 
void set_xy (const uint_2 &_Value) __GPU
 Set element 0, and 1 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) uint_2 xz
 Property for accessing element 0, and 2 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) uint_2 rb
 Property for accessing element 0, and 2 of this uint_3 as a uint_2. More...
 
uint_2 get_xz () const __GPU
 Returns a uint_2 that is composed of element 0, and element 2 of this uint_3. More...
 
void set_xz (const uint_2 &_Value) __GPU
 Set element 0, and 2 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) uint_2 yx
 Property for accessing element 1, and 0 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) uint_2 gr
 Property for accessing element 1, and 0 of this uint_3 as a uint_2. More...
 
uint_2 get_yx () const __GPU
 Returns a uint_2 that is composed of element 1, and element 0 of this uint_3. More...
 
void set_yx (const uint_2 &_Value) __GPU
 Set element 1, and 0 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) uint_2 yz
 Property for accessing element 1, and 2 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) uint_2 gb
 Property for accessing element 1, and 2 of this uint_3 as a uint_2. More...
 
uint_2 get_yz () const __GPU
 Returns a uint_2 that is composed of element 1, and element 2 of this uint_3. More...
 
void set_yz (const uint_2 &_Value) __GPU
 Set element 1, and 2 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) uint_2 zx
 Property for accessing element 2, and 0 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) uint_2 br
 Property for accessing element 2, and 0 of this uint_3 as a uint_2. More...
 
uint_2 get_zx () const __GPU
 Returns a uint_2 that is composed of element 2, and element 0 of this uint_3. More...
 
void set_zx (const uint_2 &_Value) __GPU
 Set element 2, and 0 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) uint_2 zy
 Property for accessing element 2, and 1 of this uint_3 as a uint_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) uint_2 bg
 Property for accessing element 2, and 1 of this uint_3 as a uint_2. More...
 
uint_2 get_zy () const __GPU
 Returns a uint_2 that is composed of element 2, and element 1 of this uint_3. More...
 
void set_zy (const uint_2 &_Value) __GPU
 Set element 2, and 1 of this uint_3 with a uint_2. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) uint_3 xyz
 Property for accessing element 0, 1, and 2 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) uint_3 rgb
 Property for accessing element 0, 1, and 2 of this uint_3 as a uint_3. More...
 
uint_3 get_xyz () const __GPU
 Returns a uint_3 that is composed of element 0, element 1, and element 2 of this uint_3. More...
 
void set_xyz (const uint_3 &_Value) __GPU
 Set element 0, 1, and 2 of this uint_3 with a uint_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) uint_3 xzy
 Property for accessing element 0, 2, and 1 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) uint_3 rbg
 Property for accessing element 0, 2, and 1 of this uint_3 as a uint_3. More...
 
uint_3 get_xzy () const __GPU
 Returns a uint_3 that is composed of element 0, element 2, and element 1 of this uint_3. More...
 
void set_xzy (const uint_3 &_Value) __GPU
 Set element 0, 2, and 1 of this uint_3 with a uint_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) uint_3 yxz
 Property for accessing element 1, 0, and 2 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) uint_3 grb
 Property for accessing element 1, 0, and 2 of this uint_3 as a uint_3. More...
 
uint_3 get_yxz () const __GPU
 Returns a uint_3 that is composed of element 1, element 0, and element 2 of this uint_3. More...
 
void set_yxz (const uint_3 &_Value) __GPU
 Set element 1, 0, and 2 of this uint_3 with a uint_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) uint_3 yzx
 Property for accessing element 1, 2, and 0 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) uint_3 gbr
 Property for accessing element 1, 2, and 0 of this uint_3 as a uint_3. More...
 
uint_3 get_yzx () const __GPU
 Returns a uint_3 that is composed of element 1, element 2, and element 0 of this uint_3. More...
 
void set_yzx (const uint_3 &_Value) __GPU
 Set element 1, 2, and 0 of this uint_3 with a uint_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) uint_3 zxy
 Property for accessing element 2, 0, and 1 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) uint_3 brg
 Property for accessing element 2, 0, and 1 of this uint_3 as a uint_3. More...
 
uint_3 get_zxy () const __GPU
 Returns a uint_3 that is composed of element 2, element 0, and element 1 of this uint_3. More...
 
void set_zxy (const uint_3 &_Value) __GPU
 Set element 2, 0, and 1 of this uint_3 with a uint_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) uint_3 zyx
 Property for accessing element 2, 1, and 0 of this uint_3 as a uint_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) uint_3 bgr
 Property for accessing element 2, 1, and 0 of this uint_3 as a uint_3. More...
 
uint_3 get_zyx () const __GPU
 Returns a uint_3 that is composed of element 2, element 1, and element 0 of this uint_3. More...
 
void set_zyx (const uint_3 &_Value) __GPU
 Set element 2, 1, and 0 of this uint_3 with a uint_3. More...
 

Static Public Attributes

static const int size = 3
 

Private Attributes

value_type _M_x
 
value_type _M_y
 
value_type _M_z
 

Static Private Attributes

static const _Short_vector_base_type_id _Base_type_id = _Uint_type
 

Detailed Description

Represent a short vector of 3 unsigned ints.

Member Typedef Documentation

Constructor & Destructor Documentation

Concurrency::graphics::uint_3::uint_3 ( )
inline

Default constructor, initializes all elements with 0.

1092  {
1093  _M_x = 0;
1094  _M_y = 0;
1095  _M_z = 0;
1096  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( unsigned int  _V0,
unsigned int  _V1,
unsigned int  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
1111  {
1112  _M_x = _V0;
1113  _M_y = _V1;
1114  _M_z = _V2;
1115  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( unsigned int  _V)
inline

Constructor.

Parameters
_VThe value for initialization.
1124  {
1125  _M_x = _V;
1126  _M_y = _V;
1127  _M_z = _V;
1128  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( const int_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22094  {
22095  int_3 _Value = _Other;
22096  _M_x = static_cast<value_type>(_Value.x);
22097  _M_y = static_cast<value_type>(_Value.y);
22098  _M_z = static_cast<value_type>(_Value.z);
22099  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
unsigned int value_type
Definition: amp_short_vectors.h:927
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( const float_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22102  {
22103  float_3 _Value = _Other;
22104  _M_x = static_cast<value_type>(_Value.x);
22105  _M_y = static_cast<value_type>(_Value.y);
22106  _M_z = static_cast<value_type>(_Value.z);
22107  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
unsigned int value_type
Definition: amp_short_vectors.h:927
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( const unorm_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22110  {
22111  unorm_3 _Value = _Other;
22112  _M_x = static_cast<value_type>(_Value.x);
22113  _M_y = static_cast<value_type>(_Value.y);
22114  _M_z = static_cast<value_type>(_Value.z);
22115  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
unsigned int value_type
Definition: amp_short_vectors.h:927
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( const norm_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22118  {
22119  norm_3 _Value = _Other;
22120  _M_x = static_cast<value_type>(_Value.x);
22121  _M_y = static_cast<value_type>(_Value.y);
22122  _M_z = static_cast<value_type>(_Value.z);
22123  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
unsigned int value_type
Definition: amp_short_vectors.h:927
value_type _M_x
Definition: amp_short_vectors.h:932
Concurrency::graphics::uint_3::uint_3 ( const double_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22126  {
22127  double_3 _Value = _Other;
22128  _M_x = static_cast<value_type>(_Value.x);
22129  _M_y = static_cast<value_type>(_Value.y);
22130  _M_z = static_cast<value_type>(_Value.z);
22131  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
unsigned int value_type
Definition: amp_short_vectors.h:927
value_type _M_x
Definition: amp_short_vectors.h:932

Member Function Documentation

Concurrency::graphics::uint_3::__declspec ( property(get=get_x, put=set_x )

Property for accessing element 0 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_x, put=set_x )

Property for accessing element 0 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_y, put=set_y )

Property for accessing element 1 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_y, put=set_y )

Property for accessing element 1 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_z, put=set_z )

Property for accessing element 2 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_z, put=set_z )

Property for accessing element 2 of this uint_3 as an unsigned int.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xy, put=set_xy )

Property for accessing element 0, and 1 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xy, put=set_xy )

Property for accessing element 0, and 1 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xz, put=set_xz )

Property for accessing element 0, and 2 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xz, put=set_xz )

Property for accessing element 0, and 2 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yx, put=set_yx )

Property for accessing element 1, and 0 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yx, put=set_yx )

Property for accessing element 1, and 0 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yz, put=set_yz )

Property for accessing element 1, and 2 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yz, put=set_yz )

Property for accessing element 1, and 2 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zx, put=set_zx )

Property for accessing element 2, and 0 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zx, put=set_zx )

Property for accessing element 2, and 0 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zy, put=set_zy )

Property for accessing element 2, and 1 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zy, put=set_zy )

Property for accessing element 2, and 1 of this uint_3 as a uint_2.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xyz, put=set_xyz )

Property for accessing element 0, 1, and 2 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xyz, put=set_xyz )

Property for accessing element 0, 1, and 2 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xzy, put=set_xzy )

Property for accessing element 0, 2, and 1 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_xzy, put=set_xzy )

Property for accessing element 0, 2, and 1 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yxz, put=set_yxz )

Property for accessing element 1, 0, and 2 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yxz, put=set_yxz )

Property for accessing element 1, 0, and 2 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yzx, put=set_yzx )

Property for accessing element 1, 2, and 0 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_yzx, put=set_yzx )

Property for accessing element 1, 2, and 0 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zxy, put=set_zxy )

Property for accessing element 2, 0, and 1 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zxy, put=set_zxy )

Property for accessing element 2, 0, and 1 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zyx, put=set_zyx )

Property for accessing element 2, 1, and 0 of this uint_3 as a uint_3.

Concurrency::graphics::uint_3::__declspec ( property(get=get_zyx, put=set_zyx )

Property for accessing element 2, 1, and 0 of this uint_3 as a uint_3.

unsigned int Concurrency::graphics::uint_3::get_x ( ) const
inline

Returns element 0 of this uint_3.

Returns
Element 0 of this uint_3.
952  {
953  return _M_x;
954  }
value_type _M_x
Definition: amp_short_vectors.h:932
uint_2 Concurrency::graphics::uint_3::get_xy ( ) const
inline

Returns a uint_2 that is composed of element 0, and element 1 of this uint_3.

Returns
a uint_2.
1341  {
1342  return uint_2(_M_x, _M_y);
1343  }
value_type _M_y
Definition: amp_short_vectors.h:933
value_type _M_x
Definition: amp_short_vectors.h:932
uint_3 Concurrency::graphics::uint_3::get_xyz ( ) const
inline

Returns a uint_3 that is composed of element 0, element 1, and element 2 of this uint_3.

Returns
a uint_3.
1533  {
1534  return uint_3(_M_x, _M_y, _M_z);
1535  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
uint_2 Concurrency::graphics::uint_3::get_xz ( ) const
inline

Returns a uint_2 that is composed of element 0, and element 2 of this uint_3.

Returns
a uint_2.
1373  {
1374  return uint_2(_M_x, _M_z);
1375  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_x
Definition: amp_short_vectors.h:932
uint_3 Concurrency::graphics::uint_3::get_xzy ( ) const
inline

Returns a uint_3 that is composed of element 0, element 2, and element 1 of this uint_3.

Returns
a uint_3.
1566  {
1567  return uint_3(_M_x, _M_z, _M_y);
1568  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
unsigned int Concurrency::graphics::uint_3::get_y ( ) const
inline

Returns element 1 of this uint_3.

Returns
Element 1 of this uint_3.
1002  {
1003  return _M_y;
1004  }
value_type _M_y
Definition: amp_short_vectors.h:933
uint_2 Concurrency::graphics::uint_3::get_yx ( ) const
inline

Returns a uint_2 that is composed of element 1, and element 0 of this uint_3.

Returns
a uint_2.
1405  {
1406  return uint_2(_M_y, _M_x);
1407  }
value_type _M_y
Definition: amp_short_vectors.h:933
value_type _M_x
Definition: amp_short_vectors.h:932
uint_3 Concurrency::graphics::uint_3::get_yxz ( ) const
inline

Returns a uint_3 that is composed of element 1, element 0, and element 2 of this uint_3.

Returns
a uint_3.
1599  {
1600  return uint_3(_M_y, _M_x, _M_z);
1601  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
uint_2 Concurrency::graphics::uint_3::get_yz ( ) const
inline

Returns a uint_2 that is composed of element 1, and element 2 of this uint_3.

Returns
a uint_2.
1437  {
1438  return uint_2(_M_y, _M_z);
1439  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3 Concurrency::graphics::uint_3::get_yzx ( ) const
inline

Returns a uint_3 that is composed of element 1, element 2, and element 0 of this uint_3.

Returns
a uint_3.
1632  {
1633  return uint_3(_M_y, _M_z, _M_x);
1634  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
unsigned int Concurrency::graphics::uint_3::get_z ( ) const
inline

Returns element 2 of this uint_3.

Returns
Element 2 of this uint_3.
1052  {
1053  return _M_z;
1054  }
value_type _M_z
Definition: amp_short_vectors.h:934
uint_2 Concurrency::graphics::uint_3::get_zx ( ) const
inline

Returns a uint_2 that is composed of element 2, and element 0 of this uint_3.

Returns
a uint_2.
1469  {
1470  return uint_2(_M_z, _M_x);
1471  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_x
Definition: amp_short_vectors.h:932
uint_3 Concurrency::graphics::uint_3::get_zxy ( ) const
inline

Returns a uint_3 that is composed of element 2, element 0, and element 1 of this uint_3.

Returns
a uint_3.
1665  {
1666  return uint_3(_M_z, _M_x, _M_y);
1667  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
uint_2 Concurrency::graphics::uint_3::get_zy ( ) const
inline

Returns a uint_2 that is composed of element 2, and element 1 of this uint_3.

Returns
a uint_2.
1501  {
1502  return uint_2(_M_z, _M_y);
1503  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3 Concurrency::graphics::uint_3::get_zyx ( ) const
inline

Returns a uint_3 that is composed of element 2, element 1, and element 0 of this uint_3.

Returns
a uint_3.
1698  {
1699  return uint_3(_M_z, _M_y, _M_x);
1700  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
uint_3& Concurrency::graphics::uint_3::operator%= ( const uint_3 _Other)
inline
1260  {
1261  uint_3 _Value1 = *this;
1262  uint_3 _Value2 = _Other;
1263  _Value1.x %= _Value2.x;
1264  _Value1.y %= _Value2.y;
1265  _Value1.z %= _Value2.z;
1266  *this = _Value1;
1267  return *this;
1268  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator&= ( const uint_3 _Other)
inline
1293  {
1294  uint_3 _Value1 = *this;
1295  uint_3 _Value2 = _Other;
1296  _Value1.x &= _Value2.x;
1297  _Value1.y &= _Value2.y;
1298  _Value1.z &= _Value2.z;
1299  *this = _Value1;
1300  return *this;
1301  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator*= ( const uint_3 _Other)
inline
1238  {
1239  uint_3 _Value1 = *this;
1240  uint_3 _Value2 = _Other;
1241  _Value1.x *= _Value2.x;
1242  _Value1.y *= _Value2.y;
1243  _Value1.z *= _Value2.z;
1244  *this = _Value1;
1245  return *this;
1246  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator++ ( )
inline
1182  {
1183  uint_3 _Value = *this;
1184  ++_Value._M_x;
1185  ++_Value._M_y;
1186  ++_Value._M_z;
1187  *this = _Value;
1188  return *this;
1189  }
_In_ _Value
Definition: corecrt_wstdlib.h:65
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3 Concurrency::graphics::uint_3::operator++ ( int  )
inline
1192  {
1193  uint_3 _Result = *this;
1194  ++(*this);
1195  return _Result;
1196  }
_Result
Definition: corecrt_wconio.h:362
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator+= ( const uint_3 _Other)
inline
1216  {
1217  uint_3 _Value1 = *this;
1218  uint_3 _Value2 = _Other;
1219  _Value1.x += _Value2.x;
1220  _Value1.y += _Value2.y;
1221  _Value1.z += _Value2.z;
1222  *this = _Value1;
1223  return *this;
1224  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator-- ( )
inline
1199  {
1200  uint_3 _Value = *this;
1201  --_Value._M_x;
1202  --_Value._M_y;
1203  --_Value._M_z;
1204  *this = _Value;
1205  return *this;
1206  }
_In_ _Value
Definition: corecrt_wstdlib.h:65
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3 Concurrency::graphics::uint_3::operator-- ( int  )
inline
1209  {
1210  uint_3 _Result = *this;
1211  --(*this);
1212  return _Result;
1213  }
_Result
Definition: corecrt_wconio.h:362
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator-= ( const uint_3 _Other)
inline
1227  {
1228  uint_3 _Value1 = *this;
1229  uint_3 _Value2 = _Other;
1230  _Value1.x -= _Value2.x;
1231  _Value1.y -= _Value2.y;
1232  _Value1.z -= _Value2.z;
1233  *this = _Value1;
1234  return *this;
1235  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator/= ( const uint_3 _Other)
inline
1249  {
1250  uint_3 _Value1 = *this;
1251  uint_3 _Value2 = _Other;
1252  _Value1.x /= _Value2.x;
1253  _Value1.y /= _Value2.y;
1254  _Value1.z /= _Value2.z;
1255  *this = _Value1;
1256  return *this;
1257  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator<<= ( const uint_3 _Other)
inline
1315  {
1316  uint_3 _Value1 = *this;
1317  uint_3 _Value2 = _Other;
1318  _Value1.x <<= _Value2.x;
1319  _Value1.y <<= _Value2.y;
1320  _Value1.z <<= _Value2.z;
1321  *this = _Value1;
1322  return *this;
1323  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator>>= ( const uint_3 _Other)
inline
1304  {
1305  uint_3 _Value1 = *this;
1306  uint_3 _Value2 = _Other;
1307  _Value1.x >>= _Value2.x;
1308  _Value1.y >>= _Value2.y;
1309  _Value1.z >>= _Value2.z;
1310  *this = _Value1;
1311  return *this;
1312  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator^= ( const uint_3 _Other)
inline
1271  {
1272  uint_3 _Value1 = *this;
1273  uint_3 _Value2 = _Other;
1274  _Value1.x ^= _Value2.x;
1275  _Value1.y ^= _Value2.y;
1276  _Value1.z ^= _Value2.z;
1277  *this = _Value1;
1278  return *this;
1279  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3& Concurrency::graphics::uint_3::operator|= ( const uint_3 _Other)
inline
1282  {
1283  uint_3 _Value1 = *this;
1284  uint_3 _Value2 = _Other;
1285  _Value1.x |= _Value2.x;
1286  _Value1.y |= _Value2.y;
1287  _Value1.z |= _Value2.z;
1288  *this = _Value1;
1289  return *this;
1290  }
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
uint_3 Concurrency::graphics::uint_3::operator~ ( ) const
inline
1176  {
1177  uint_3 _Value = *this;
1178  return uint_3(~_Value.x, ~_Value.y, ~_Value.z);
1179  }
_In_ _Value
Definition: corecrt_wstdlib.h:65
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
unsigned int& Concurrency::graphics::uint_3::ref_b ( )
inline

Returns reference to element 2 of this uint_3.

Returns
Reference to element 2 of this uint_3.
1072  {
1073  return _M_z;
1074  }
value_type _M_z
Definition: amp_short_vectors.h:934
unsigned int& Concurrency::graphics::uint_3::ref_g ( )
inline

Returns reference to element 1 of this uint_3.

Returns
Reference to element 1 of this uint_3.
1022  {
1023  return _M_y;
1024  }
value_type _M_y
Definition: amp_short_vectors.h:933
unsigned int& Concurrency::graphics::uint_3::ref_r ( )
inline

Returns reference to element 0 of this uint_3.

Returns
Reference to element 0 of this uint_3.
972  {
973  return _M_x;
974  }
value_type _M_x
Definition: amp_short_vectors.h:932
unsigned int& Concurrency::graphics::uint_3::ref_x ( )
inline

Returns reference to element 0 of this uint_3.

Returns
Reference to element 0 of this uint_3.
962  {
963  return _M_x;
964  }
value_type _M_x
Definition: amp_short_vectors.h:932
unsigned int& Concurrency::graphics::uint_3::ref_y ( )
inline

Returns reference to element 1 of this uint_3.

Returns
Reference to element 1 of this uint_3.
1012  {
1013  return _M_y;
1014  }
value_type _M_y
Definition: amp_short_vectors.h:933
unsigned int& Concurrency::graphics::uint_3::ref_z ( )
inline

Returns reference to element 2 of this uint_3.

Returns
Reference to element 2 of this uint_3.
1062  {
1063  return _M_z;
1064  }
value_type _M_z
Definition: amp_short_vectors.h:934
void Concurrency::graphics::uint_3::set_x ( unsigned int  _Value)
inline

Set element 0 of this uint_3 with an unsigned int.

Parameters
_Valuean unsigned int value.
983  {
984  _M_x = _Value;
985  }
_In_ _Value
Definition: corecrt_wstdlib.h:65
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_xy ( const uint_2 _Value)
inline

Set element 0, and 1 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1352  {
1353  uint_2 _Val = _Value;
1354  _M_x = _Val.x;
1355  _M_y = _Val.y;
1356  }
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_xyz ( const uint_3 _Value)
inline

Set element 0, 1, and 2 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1544  {
1545  uint_3 _Val = _Value;
1546  _M_x = _Val.x;
1547  _M_y = _Val.y;
1548  _M_z = _Val.z;
1549  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_xz ( const uint_2 _Value)
inline

Set element 0, and 2 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1384  {
1385  uint_2 _Val = _Value;
1386  _M_x = _Val.x;
1387  _M_z = _Val.y;
1388  }
value_type _M_z
Definition: amp_short_vectors.h:934
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_xzy ( const uint_3 _Value)
inline

Set element 0, 2, and 1 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1577  {
1578  uint_3 _Val = _Value;
1579  _M_x = _Val.x;
1580  _M_z = _Val.y;
1581  _M_y = _Val.z;
1582  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_y ( unsigned int  _Value)
inline

Set element 1 of this uint_3 with an unsigned int.

Parameters
_Valuean unsigned int value.
1033  {
1034  _M_y = _Value;
1035  }
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
void Concurrency::graphics::uint_3::set_yx ( const uint_2 _Value)
inline

Set element 1, and 0 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1416  {
1417  uint_2 _Val = _Value;
1418  _M_y = _Val.x;
1419  _M_x = _Val.y;
1420  }
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_yxz ( const uint_3 _Value)
inline

Set element 1, 0, and 2 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1610  {
1611  uint_3 _Val = _Value;
1612  _M_y = _Val.x;
1613  _M_x = _Val.y;
1614  _M_z = _Val.z;
1615  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_yz ( const uint_2 _Value)
inline

Set element 1, and 2 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1448  {
1449  uint_2 _Val = _Value;
1450  _M_y = _Val.x;
1451  _M_z = _Val.y;
1452  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::uint_3::set_yzx ( const uint_3 _Value)
inline

Set element 1, 2, and 0 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1643  {
1644  uint_3 _Val = _Value;
1645  _M_y = _Val.x;
1646  _M_z = _Val.y;
1647  _M_x = _Val.z;
1648  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_z ( unsigned int  _Value)
inline

Set element 2 of this uint_3 with an unsigned int.

Parameters
_Valuean unsigned int value.
1083  {
1084  _M_z = _Value;
1085  }
value_type _M_z
Definition: amp_short_vectors.h:934
_In_ _Value
Definition: corecrt_wstdlib.h:65
void Concurrency::graphics::uint_3::set_zx ( const uint_2 _Value)
inline

Set element 2, and 0 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1480  {
1481  uint_2 _Val = _Value;
1482  _M_z = _Val.x;
1483  _M_x = _Val.y;
1484  }
value_type _M_z
Definition: amp_short_vectors.h:934
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_zxy ( const uint_3 _Value)
inline

Set element 2, 0, and 1 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1676  {
1677  uint_3 _Val = _Value;
1678  _M_z = _Val.x;
1679  _M_x = _Val.y;
1680  _M_y = _Val.z;
1681  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932
void Concurrency::graphics::uint_3::set_zy ( const uint_2 _Value)
inline

Set element 2, and 1 of this uint_3 with a uint_2.

Parameters
_Valuea uint_2 value.
1512  {
1513  uint_2 _Val = _Value;
1514  _M_z = _Val.x;
1515  _M_y = _Val.y;
1516  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::uint_3::set_zyx ( const uint_3 _Value)
inline

Set element 2, 1, and 0 of this uint_3 with a uint_3.

Parameters
_Valuea uint_3 value.
1709  {
1710  uint_3 _Val = _Value;
1711  _M_z = _Val.x;
1712  _M_y = _Val.y;
1713  _M_x = _Val.z;
1714  }
value_type _M_z
Definition: amp_short_vectors.h:934
value_type _M_y
Definition: amp_short_vectors.h:933
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
uint_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:1091
value_type _M_x
Definition: amp_short_vectors.h:932

Member Data Documentation

const _Short_vector_base_type_id Concurrency::graphics::uint_3::_Base_type_id = _Uint_type
staticprivate
value_type Concurrency::graphics::uint_3::_M_x
private
value_type Concurrency::graphics::uint_3::_M_y
private
value_type Concurrency::graphics::uint_3::_M_z
private
const int Concurrency::graphics::uint_3::size = 3
static

The documentation for this class was generated from the following file: