Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Představuje krátký vektor dvou celých čísel bez znaménka.
Syntaxe
class uint_2;
Členové
Veřejné definice typedef
| Název | Popis |
|---|---|
value_type |
Veřejné konstruktory
| Název | Popis |
|---|---|
| konstruktor uint_2 | Přetíženo. Výchozí konstruktor inicializuje všechny prvky s hodnotou 0. |
Veřejné metody
| Název | Popis |
|---|---|
| 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 |
Veřejné operátory
| Název | Popis |
|---|---|
| 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>>= |
Veřejné konstanty
| Název | Popis |
|---|---|
| size – konstanta |
Veřejné datové členy
| Název | Popis |
|---|---|
| uint_2::g | |
| uint_2::gr | |
| uint_2::r | |
| uint_2::rg | |
| uint_2::x | |
| uint_2::xy | |
| uint_2::y | |
| uint_2::yx |
Hierarchie dědičnosti
uint_2
Požadavky
Hlavička: amp_short_vectors.h
Obor názvů: Concurrency::graphics
uint_2
Výchozí konstruktor inicializuje všechny prvky s hodnotou 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);
Parametry
_V0
Hodnota pro inicializaci elementu 0.
_V1
Hodnota pro inicializaci elementu 1.
_V
Hodnota pro inicializaci.
_Jiný
Objekt použitý k inicializaci.
size
static const int size = 2;