Megosztás a következőn keresztül:


int_3 osztály

Három egész számból álló rövid vektort jelöl.

Szemantika

class int_3;

Tagok

Nyilvános típustdefiníciók

Név Description
value_type

Nyilvános konstruktorok

Név Description
int_3 konstruktor Túlterhelt. Az alapértelmezett konstruktor az összes elemet inicializálja 0-val.

Nyilvános módszerek

Név Description
int_3::get_x
int_3::get_xy
int_3::get_xyz
int_3::get_xz
int_3::get_xzy
int_3::get_y
int_3::get_yx
int_3::get_yxz
int_3::get_yz
int_3::get_yzx
int_3::get_z
int_3::get_zx
int_3::get_zxy
int_3::get_zy
int_3::get_zyx
int_3::ref_b
int_3::ref_g
int_3::ref_r
int_3::ref_x
int_3::ref_y
int_3::ref_z
int_3::set_x
int_3::set_xy
int_3::set_xyz
int_3::set_xz
int_3::set_xzy
int_3::set_y
int_3::set_yx
int_3::set_yxz
int_3::set_yz
int_3::set_yzx
int_3::set_z
int_3::set_zx
int_3::set_zxy
int_3::set_zy
int_3::set_zyx

Nyilvános operátorok

Név Description
int_3::operátor-
int_3::operátor-
int_3::operátor%=
int_3::operátor>
int_3::operátor*=
int_3::operátor/=
int_3::operátor^=
int_3::operátor|=
int_3::operátor~
int_3::operátor++
int_3::operátor+=
int_3::operátor<<=
int_3::operátor=
int_3::operátor-=
int_3::operátor>>=

Nyilvános állandók

Név Description
méretállandó

Nyilvános adatok tagjai

Név Description
int_3::b
int_3::bg
int_3::bgr
int_3::br
int_3::brg
int_3::g
int_3::gb
int_3::gbr
int_3::gr
int_3::grb
int_3::r
int_3::rb
int_3::rbg
int_3::rg
int_3::rgb
int_3::x
int_3::xy
int_3::xyz
int_3::xz
int_3::xzy
int_3::y
int_3::yx
int_3::yxz
int_3::yz
int_3::yzx
int_3::z
int_3::zx
int_3::zxy
int_3::zy
int_3::zyx

Öröklési hierarchia

int_3

Requirements

Fejléc: amp_short_vectors.h

Namespace: Párhuzamosság::grafika

int_3

Az alapértelmezett konstruktor az összes elemet inicializálja 0-val.

Szemantika

int_3() restrict(amp,cpu);
int_3(
   int _V0,
   int _V1,
   int _V2
) restrict(amp,cpu);
int_3(
   int _V
) restrict(amp,cpu);
int_3(
   const int_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const uint_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const float_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const unorm_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const norm_3& _Other
) restrict(amp,cpu);
explicit inline int_3(
   const double_3& _Other
) restrict(amp,cpu);

Paraméterek

_V0
A 0. elem inicializálandó értéke.

_V1
Az 1. elem inicializálandó értéke.

_V2
A 2. elem inicializálandó értéke.

_V
Az inicializálás értéke.

_Más
Az inicializáláshoz használt objektum.

size

Szemantika

static const int size = 3;

Lásd még

Concurrency::grafikus névtér