다음을 통해 공유


int_3 클래스

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

Public 연산자

이름 설명
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>>=

공용 상수

이름 설명
크기 상수

공용 데이터 멤버

이름 설명
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

네임스페이스: 동시성::그래픽

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
초기화에 대한 값입니다.

_Other
초기화하는 데 사용되는 개체입니다.

size

구문

static const int size = 3;

참고 항목

Concurrency::graphics 네임스페이스