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::unorm_3 Class Reference

Represent a short vector of 3 unorm's. More...

#include <amp_short_vectors.h>

Public Types

typedef unorm value_type
 

Public Member Functions

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

Detailed Description

Represent a short vector of 3 unorm's.

Member Typedef Documentation

Constructor & Destructor Documentation

Concurrency::graphics::unorm_3::unorm_3 ( )
inline

Default constructor, initializes all elements with 0.

11886  {
11887  _M_x = unorm(0.0f);
11888  _M_y = unorm(0.0f);
11889  _M_z = unorm(0.0f);
11890  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
Concurrency::graphics::unorm_3::unorm_3 ( unorm  _V0,
unorm  _V1,
unorm  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
11905  {
11906  _M_x = _V0;
11907  _M_y = _V1;
11908  _M_z = _V2;
11909  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
Concurrency::graphics::unorm_3::unorm_3 ( float  _V0,
float  _V1,
float  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
11924  {
11925  _M_x = unorm(_V0);
11926  _M_y = unorm(_V1);
11927  _M_z = unorm(_V2);
11928  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
Concurrency::graphics::unorm_3::unorm_3 ( unorm  _V)
inline

Constructor.

Parameters
_VThe value for initialization.
11937  {
11938  _M_x = _V;
11939  _M_y = _V;
11940  _M_z = _V;
11941  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
Concurrency::graphics::unorm_3::unorm_3 ( float  _V)
inlineexplicit
11944  {
11945  _M_x = unorm(_V);
11946  _M_y = unorm(_V);
11947  _M_z = unorm(_V);
11948  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
Concurrency::graphics::unorm_3::unorm_3 ( const unorm_3 _Other)
inline

Copy constructor.

Parameters
_OtherThe object to copy from.
11957  {
11958  *this = _Other;
11959  }
Concurrency::graphics::unorm_3::unorm_3 ( const uint_3 _Other)
inlineexplicit

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

Parameters
_OtherThe object used to initialize.
22463  {
22464  uint_3 _Value = _Other;
22465  _M_x = static_cast<value_type>(_Value.x);
22466  _M_y = static_cast<value_type>(_Value.y);
22467  _M_z = static_cast<value_type>(_Value.z);
22468  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm value_type
Definition: amp_short_vectors.h:11721
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
Concurrency::graphics::unorm_3::unorm_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.
22471  {
22472  int_3 _Value = _Other;
22473  _M_x = static_cast<value_type>(_Value.x);
22474  _M_y = static_cast<value_type>(_Value.y);
22475  _M_z = static_cast<value_type>(_Value.z);
22476  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm value_type
Definition: amp_short_vectors.h:11721
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
Concurrency::graphics::unorm_3::unorm_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.
22479  {
22480  float_3 _Value = _Other;
22481  _M_x = static_cast<value_type>(_Value.x);
22482  _M_y = static_cast<value_type>(_Value.y);
22483  _M_z = static_cast<value_type>(_Value.z);
22484  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm value_type
Definition: amp_short_vectors.h:11721
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
Concurrency::graphics::unorm_3::unorm_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.
22487  {
22488  norm_3 _Value = _Other;
22489  _M_x = static_cast<value_type>(_Value.x);
22490  _M_y = static_cast<value_type>(_Value.y);
22491  _M_z = static_cast<value_type>(_Value.z);
22492  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm value_type
Definition: amp_short_vectors.h:11721
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
Concurrency::graphics::unorm_3::unorm_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.
22495  {
22496  double_3 _Value = _Other;
22497  _M_x = static_cast<value_type>(_Value.x);
22498  _M_y = static_cast<value_type>(_Value.y);
22499  _M_z = static_cast<value_type>(_Value.z);
22500  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm value_type
Definition: amp_short_vectors.h:11721
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173

Member Function Documentation

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

Property for accessing element 0 of this unorm_3 as a unorm.

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

Property for accessing element 0 of this unorm_3 as a unorm.

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

Property for accessing element 1 of this unorm_3 as a unorm.

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

Property for accessing element 1 of this unorm_3 as a unorm.

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

Property for accessing element 2 of this unorm_3 as a unorm.

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

Property for accessing element 2 of this unorm_3 as a unorm.

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

Property for accessing element 0, and 1 of this unorm_3 as a unorm_2.

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

Property for accessing element 0, and 1 of this unorm_3 as a unorm_2.

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

Property for accessing element 0, and 2 of this unorm_3 as a unorm_2.

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

Property for accessing element 0, and 2 of this unorm_3 as a unorm_2.

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

Property for accessing element 1, and 0 of this unorm_3 as a unorm_2.

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

Property for accessing element 1, and 0 of this unorm_3 as a unorm_2.

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

Property for accessing element 1, and 2 of this unorm_3 as a unorm_2.

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

Property for accessing element 1, and 2 of this unorm_3 as a unorm_2.

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

Property for accessing element 2, and 0 of this unorm_3 as a unorm_2.

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

Property for accessing element 2, and 0 of this unorm_3 as a unorm_2.

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

Property for accessing element 2, and 1 of this unorm_3 as a unorm_2.

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

Property for accessing element 2, and 1 of this unorm_3 as a unorm_2.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

unorm Concurrency::graphics::unorm_3::get_x ( ) const
inline

Returns element 0 of this unorm_3.

Returns
Element 0 of this unorm_3.
11746  {
11747  return _M_x;
11748  }
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm_2 Concurrency::graphics::unorm_3::get_xy ( ) const
inline

Returns a unorm_2 that is composed of element 0, and element 1 of this unorm_3.

Returns
a unorm_2.
12108  {
12109  return unorm_2(_M_x,_M_y);
12110  }
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_3 Concurrency::graphics::unorm_3::get_xyz ( ) const
inline

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

Returns
a unorm_3.
12300  {
12301  return unorm_3(_M_x,_M_y,_M_z);
12302  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_2 Concurrency::graphics::unorm_3::get_xz ( ) const
inline

Returns a unorm_2 that is composed of element 0, and element 2 of this unorm_3.

Returns
a unorm_2.
12140  {
12141  return unorm_2(_M_x,_M_z);
12142  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm_3 Concurrency::graphics::unorm_3::get_xzy ( ) const
inline

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

Returns
a unorm_3.
12333  {
12334  return unorm_3(_M_x,_M_z,_M_y);
12335  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm Concurrency::graphics::unorm_3::get_y ( ) const
inline

Returns element 1 of this unorm_3.

Returns
Element 1 of this unorm_3.
11796  {
11797  return _M_y;
11798  }
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_2 Concurrency::graphics::unorm_3::get_yx ( ) const
inline

Returns a unorm_2 that is composed of element 1, and element 0 of this unorm_3.

Returns
a unorm_2.
12172  {
12173  return unorm_2(_M_y,_M_x);
12174  }
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_3 Concurrency::graphics::unorm_3::get_yxz ( ) const
inline

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

Returns
a unorm_3.
12366  {
12367  return unorm_3(_M_y,_M_x,_M_z);
12368  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_2 Concurrency::graphics::unorm_3::get_yz ( ) const
inline

Returns a unorm_2 that is composed of element 1, and element 2 of this unorm_3.

Returns
a unorm_2.
12204  {
12205  return unorm_2(_M_y,_M_z);
12206  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_3 Concurrency::graphics::unorm_3::get_yzx ( ) const
inline

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

Returns
a unorm_3.
12399  {
12400  return unorm_3(_M_y,_M_z,_M_x);
12401  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm Concurrency::graphics::unorm_3::get_z ( ) const
inline

Returns element 2 of this unorm_3.

Returns
Element 2 of this unorm_3.
11846  {
11847  return _M_z;
11848  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_2 Concurrency::graphics::unorm_3::get_zx ( ) const
inline

Returns a unorm_2 that is composed of element 2, and element 0 of this unorm_3.

Returns
a unorm_2.
12236  {
12237  return unorm_2(_M_z,_M_x);
12238  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm_3 Concurrency::graphics::unorm_3::get_zxy ( ) const
inline

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

Returns
a unorm_3.
12432  {
12433  return unorm_3(_M_z,_M_x,_M_y);
12434  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_2 Concurrency::graphics::unorm_3::get_zy ( ) const
inline

Returns a unorm_2 that is composed of element 2, and element 1 of this unorm_3.

Returns
a unorm_2.
12268  {
12269  return unorm_2(_M_z,_M_y);
12270  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_3 Concurrency::graphics::unorm_3::get_zyx ( ) const
inline

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

Returns
a unorm_3.
12465  {
12466  return unorm_3(_M_z,_M_y,_M_x);
12467  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm_3& Concurrency::graphics::unorm_3::operator*= ( const unorm_3 _Other)
inline
12071  {
12072  unorm_3 _Value1 = *this;
12073  unorm_3 _Value2 = _Other;
12074  _Value1.x *= _Value2.x;
12075  _Value1.y *= _Value2.y;
12076  _Value1.z *= _Value2.z;
12077  *this = _Value1;
12078  return *this;
12079  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator++ ( )
inline
12015  {
12016  unorm_3 _Value = *this;
12017  ++_Value._M_x;
12018  ++_Value._M_y;
12019  ++_Value._M_z;
12020  *this = _Value;
12021  return *this;
12022  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
_In_ int _Value
Definition: setjmp.h:173
unorm_3 Concurrency::graphics::unorm_3::operator++ ( int  )
inline
12025  {
12026  unorm_3 _Result = *this;
12027  ++(*this);
12028  return _Result;
12029  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator+= ( const unorm_3 _Other)
inline
12049  {
12050  unorm_3 _Value1 = *this;
12051  unorm_3 _Value2 = _Other;
12052  _Value1.x += _Value2.x;
12053  _Value1.y += _Value2.y;
12054  _Value1.z += _Value2.z;
12055  *this = _Value1;
12056  return *this;
12057  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator-- ( )
inline
12032  {
12033  unorm_3 _Value = *this;
12034  --_Value._M_x;
12035  --_Value._M_y;
12036  --_Value._M_z;
12037  *this = _Value;
12038  return *this;
12039  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
_In_ int _Value
Definition: setjmp.h:173
unorm_3 Concurrency::graphics::unorm_3::operator-- ( int  )
inline
12042  {
12043  unorm_3 _Result = *this;
12044  --(*this);
12045  return _Result;
12046  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator-= ( const unorm_3 _Other)
inline
12060  {
12061  unorm_3 _Value1 = *this;
12062  unorm_3 _Value2 = _Other;
12063  _Value1.x -= _Value2.x;
12064  _Value1.y -= _Value2.y;
12065  _Value1.z -= _Value2.z;
12066  *this = _Value1;
12067  return *this;
12068  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator/= ( const unorm_3 _Other)
inline
12082  {
12083  unorm_3 _Value1 = *this;
12084  unorm_3 _Value2 = _Other;
12085  _Value1.x /= _Value2.x;
12086  _Value1.y /= _Value2.y;
12087  _Value1.z /= _Value2.z;
12088  *this = _Value1;
12089  return *this;
12090  }
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
unorm_3& Concurrency::graphics::unorm_3::operator= ( const unorm_3 _Other)
inline
11962  {
11963  _M_x = _Other._M_x;
11964  _M_y = _Other._M_y;
11965  _M_z = _Other._M_z;
11966  return *this;
11967  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm& Concurrency::graphics::unorm_3::ref_b ( )
inline

Returns reference to element 2 of this unorm_3.

Returns
Reference to element 2 of this unorm_3.
11866  {
11867  return _M_z;
11868  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm& Concurrency::graphics::unorm_3::ref_g ( )
inline

Returns reference to element 1 of this unorm_3.

Returns
Reference to element 1 of this unorm_3.
11816  {
11817  return _M_y;
11818  }
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm& Concurrency::graphics::unorm_3::ref_r ( )
inline

Returns reference to element 0 of this unorm_3.

Returns
Reference to element 0 of this unorm_3.
11766  {
11767  return _M_x;
11768  }
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm& Concurrency::graphics::unorm_3::ref_x ( )
inline

Returns reference to element 0 of this unorm_3.

Returns
Reference to element 0 of this unorm_3.
11756  {
11757  return _M_x;
11758  }
value_type _M_x
Definition: amp_short_vectors.h:11726
unorm& Concurrency::graphics::unorm_3::ref_y ( )
inline

Returns reference to element 1 of this unorm_3.

Returns
Reference to element 1 of this unorm_3.
11806  {
11807  return _M_y;
11808  }
value_type _M_y
Definition: amp_short_vectors.h:11727
unorm& Concurrency::graphics::unorm_3::ref_z ( )
inline

Returns reference to element 2 of this unorm_3.

Returns
Reference to element 2 of this unorm_3.
11856  {
11857  return _M_z;
11858  }
value_type _M_z
Definition: amp_short_vectors.h:11728
void Concurrency::graphics::unorm_3::set_x ( unorm  _Value)
inline

Set element 0 of this unorm_3 with a unorm.

Parameters
_Valuea unorm value.
11777  {
11778  _M_x = _Value;
11779  }
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_xy ( const unorm_2 _Value)
inline

Set element 0, and 1 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12119  {
12120  unorm_2 _Val = _Value;
12121  _M_x = _Val.x;
12122  _M_y = _Val.y;
12123  }
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_xyz ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12311  {
12312  unorm_3 _Val = _Value;
12313  _M_x = _Val.x;
12314  _M_y = _Val.y;
12315  _M_z = _Val.z;
12316  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_xz ( const unorm_2 _Value)
inline

Set element 0, and 2 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12151  {
12152  unorm_2 _Val = _Value;
12153  _M_x = _Val.x;
12154  _M_z = _Val.y;
12155  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_xzy ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12344  {
12345  unorm_3 _Val = _Value;
12346  _M_x = _Val.x;
12347  _M_z = _Val.y;
12348  _M_y = _Val.z;
12349  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_y ( unorm  _Value)
inline

Set element 1 of this unorm_3 with a unorm.

Parameters
_Valuea unorm value.
11827  {
11828  _M_y = _Value;
11829  }
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_yx ( const unorm_2 _Value)
inline

Set element 1, and 0 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12183  {
12184  unorm_2 _Val = _Value;
12185  _M_y = _Val.x;
12186  _M_x = _Val.y;
12187  }
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_yxz ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12377  {
12378  unorm_3 _Val = _Value;
12379  _M_y = _Val.x;
12380  _M_x = _Val.y;
12381  _M_z = _Val.z;
12382  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_yz ( const unorm_2 _Value)
inline

Set element 1, and 2 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12215  {
12216  unorm_2 _Val = _Value;
12217  _M_y = _Val.x;
12218  _M_z = _Val.y;
12219  }
value_type _M_z
Definition: amp_short_vectors.h:11728
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_yzx ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12410  {
12411  unorm_3 _Val = _Value;
12412  _M_y = _Val.x;
12413  _M_z = _Val.y;
12414  _M_x = _Val.z;
12415  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_z ( unorm  _Value)
inline

Set element 2 of this unorm_3 with a unorm.

Parameters
_Valuea unorm value.
11877  {
11878  _M_z = _Value;
11879  }
value_type _M_z
Definition: amp_short_vectors.h:11728
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_zx ( const unorm_2 _Value)
inline

Set element 2, and 0 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12247  {
12248  unorm_2 _Val = _Value;
12249  _M_z = _Val.x;
12250  _M_x = _Val.y;
12251  }
value_type _M_z
Definition: amp_short_vectors.h:11728
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_zxy ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12443  {
12444  unorm_3 _Val = _Value;
12445  _M_z = _Val.x;
12446  _M_x = _Val.y;
12447  _M_y = _Val.z;
12448  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_zy ( const unorm_2 _Value)
inline

Set element 2, and 1 of this unorm_3 with a unorm_2.

Parameters
_Valuea unorm_2 value.
12279  {
12280  unorm_2 _Val = _Value;
12281  _M_z = _Val.x;
12282  _M_y = _Val.y;
12283  }
value_type _M_z
Definition: amp_short_vectors.h:11728
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173
void Concurrency::graphics::unorm_3::set_zyx ( const unorm_3 _Value)
inline

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

Parameters
_Valuea unorm_3 value.
12476  {
12477  unorm_3 _Val = _Value;
12478  _M_z = _Val.x;
12479  _M_y = _Val.y;
12480  _M_x = _Val.z;
12481  }
value_type _M_z
Definition: amp_short_vectors.h:11728
unorm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:11885
value_type _M_x
Definition: amp_short_vectors.h:11726
_In_ int _Val
Definition: vcruntime_string.h:62
value_type _M_y
Definition: amp_short_vectors.h:11727
_In_ int _Value
Definition: setjmp.h:173

Member Data Documentation

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

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