Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Stellt einen kurzen Vektor aus zwei normalen Zahlen ohne Vorzeichen dar.
Syntax
class unorm_2;
Member
Öffentliche Typedefs
| Name | Beschreibung |
|---|---|
value_type |
Öffentliche Konstruktoren
| Name | Beschreibung |
|---|---|
| unorm_2-Konstruktor | Überladen. Standardkonstruktor, initialisiert alle Elemente mit 0. |
Öffentliche Methoden
| Name | Beschreibung |
|---|---|
| unorm_2::get_x | |
| unorm_2::get_xy | |
| unorm_2::get_y | |
| unorm_2::get_yx | |
| unorm_2::ref_g | |
| unorm_2::ref_r | |
| unorm_2::ref_x | |
| unorm_2::ref_y | |
| unorm_2::set_x | |
| unorm_2::set_xy | |
| unorm_2::set_y | |
| unorm_2::set_yx |
Öffentliche Operatoren
| Name | Beschreibung |
|---|---|
| unorm_2::operator-- | |
| unorm_2::operator*= | |
| unorm_2::operator/= | |
| unorm_2::operator++ | |
| unorm_2::operator+= | |
| unorm_2::operator= | |
| unorm_2::operator-= |
Öffentliche Konstanten
| Name | Beschreibung |
|---|---|
| unorm_2::size-Konstante |
Öffentliche Datenmember
| Name | Beschreibung |
|---|---|
| unorm_2::g | |
| unorm_2::gr | |
| unorm_2::r | |
| unorm_2::rg | |
| unorm_2::x | |
| unorm_2::xy | |
| unorm_2::y | |
| unorm_2::yx |
Vererbungshierarchie
unorm_2
Anforderungen
Kopfzeile: amp_short_vectors.h
Namespace: Parallelität::graphics
unorm_2
Standardkonstruktor, initialisiert alle Elemente mit 0.
unorm_2() restrict(amp,
cpu);
unorm_2(
unorm _V0,
unorm _V1) restrict(amp,
cpu);
unorm_2(
float _V0,
float _V1) restrict(amp,
cpu);
unorm_2(
unorm _V) restrict(amp,
cpu);
explicit unorm_2(
float _V) restrict(amp,
cpu);
unorm_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const norm_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const double_2& _Other) restrict(amp,
cpu);
Parameter
_V0
Der Wert zum Initialisieren des Elements 0.
_V1
Der Wert zum Initialisieren des Elements 1.
_V
Der Wert für die Initialisierung.
_Other
Das Objekt, das zum Initialisieren verwendet wird.
size
static const int size = 2;