Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of mappen te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen om mappen te wijzigen.
Vertegenwoordigt een korte vector van twee niet-ondertekende gehele getallen.
Syntaxis
class uint_2;
Leden
Openbare typedefs
| Naam | Description |
|---|---|
value_type |
Openbare constructors
| Naam | Description |
|---|---|
| uint_2 constructor | Overbelast. Standaardconstructor, initialiseert alle elementen met 0. |
Openbare methoden
| Naam | 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 |
Openbare operators
| Naam | 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>>= |
Openbare constanten
| Naam | Description |
|---|---|
| grootteconstante |
Publieke dataleden
| Naam | 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 |
Overnamehiƫrarchie
uint_2
Requirements
Koptekst: amp_short_vectors.h
Namespace: Gelijktijdigheid::graphics
uint_2
Standaardconstructor, initialiseert alle elementen met 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);
Parameterwaarden
_V0
De waarde voor het initialiseren van element 0.
_V1
De waarde voor het initialiseren van element 1.
_V
De waarde voor initialisatie.
_Andere
Het object dat is gebruikt om te initialiseren.
size
static const int size = 2;