다음을 통해 공유


uint_2 클래스

부호 없는 두 정수의 짧은 벡터를 나타냅니다.

구문

class uint_2;

멤버

공용 Typedefs

이름 설명
value_type

공용 생성자

속성 설명
uint_2 생성자 오버로드됨. 기본 생성자는 0을 사용하여 모든 요소를 초기화합니다.

공용 메서드

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

Public 연산자

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

공용 상수

이름 설명
크기 상수

공용 데이터 멤버

이름 설명
uint_2::g
uint_2::gr
uint_2::r
uint_2::rg
uint_2::x
uint_2::xy
uint_2::y
uint_2::yx

상속 계층 구조

uint_2

요구 사항

헤더: amp_short_vectors.h

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

uint_2

기본 생성자는 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);

매개 변수

_V0
요소 0을 초기화할 값입니다.

_V1
요소 1을 초기화할 값입니다.

_V
초기화에 대한 값입니다.

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

size

static const int size = 2;

참고 항목

Concurrency::graphics 네임스페이스