分享方式:


int_3 類別

表示三個整數的簡短向量。

語法

class int_3;

成員

公用 Typedefs

名稱 描述
value_type

公用建構函式

名稱 描述
int_3建構函式 已多載。 默認建構函式,使用 0 初始化所有元素。

公用方法

名稱 描述
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

公用運算子

名稱 描述
int_3::operator-
int_3::operator--
int_3::operator%=
int_3::operator&=
int_3::operator*=
int_3::operator/=
int_3::operator^=
int_3::operator|=
int_3::operator~
int_3::operator++
int_3::operator+=
int_3::operator<<=
int_3::operator=
int_3::operator-=
int_3::operator>>=

公用常數

名稱 描述
size 常數

公用資料成員

名稱 描述
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

繼承階層架構

int_3

需求

標頭: amp_short_vectors.h

命名空間: Concurrency::graphics

int_3

默認建構函式,使用 0 初始化所有元素。

語法

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);

參數

_V0
初始化專案 0 的值。

_V1
要初始化專案 1 的值。

_V2
初始化專案 2 的值。

_V
初始化的值。

_其他
用來初始化的物件。

size

語法

static const int size = 3;

另請參閱

Concurrency::graphics 命名空間