| description | Learn more about: uint_2 Class | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | uint_2 Class | |||||||||||||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||||||||||||||
| f1_keywords |
|
|||||||||||||||||||||||||
| ms.assetid | 9fcc9129-72b1-4da7-9012-4d3be15f1c52 |
Represents a short vector of two unsigned integers.
class uint_2;| Name | Description |
|---|---|
value_type |
| Name | Description |
|---|---|
| uint_2 Constructor | Overloaded. Default constructor, initializes all elements with 0. |
| Name | Description |
|---|---|
| uint_2::get_x | |
| uint_2::get_xy | |
| uint_2::get_y | |
| uint_2::get_yx | |
| uint_2::ref_g_Method | |
| uint_2::ref_r_Method | |
| uint_2::ref_x_Method | |
| uint_2::ref_y_Method | |
| uint_2::set_x | |
| uint_2::set_xy | |
| uint_2::set_y | |
| uint_2::set_yx |
| Name | Description |
|---|---|
| uint_2::operator-- | |
| uint_2::operator%= | |
| uint_2::operator&= | |
| uint_2::operator*= | |
| uint_2::operator/= | |
| uint_2::operator^= | |
| uint_2::operator|= | |
| uint_2::operator~ | |
| uint_2::operator++ | |
| uint_2::operator+= | |
| uint_2::operator<<= | |
| uint_2::operator= | |
| uint_2::operator-= | |
| uint_2::operator>>= |
| Name | Description |
|---|---|
| size Constant |
| Name | Description |
|---|---|
| uint_2::g | |
| uint_2::gr | |
| uint_2::r | |
| uint_2::rg | |
| uint_2::x | |
| uint_2::xy | |
| uint_2::y | |
| uint_2::yx |
uint_2
Header: amp_short_vectors.h
Namespace: Concurrency::graphics
Default constructor, initializes all elements with 0.
uint_2() restrict(amp,
cpu);
uint_2(
unsigned int _V0,
unsigned int _V1) restrict(amp,
cpu);
uint_2(
unsigned int _V) restrict(amp,
cpu);
uint_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const norm_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const double_2& _Other) restrict(amp,
cpu);_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.
static const int size = 2;