Edit

Share via


unorm_3 Class

Represents a short vector of three unsigned normal numbers.

Syntax

class unorm_3;

Members

Public Typedefs

Name Description
value_type

Public Constructors

Name Description
unorm_3 Constructor Overloaded. Default constructor, initializes all elements with 0.

Public Methods

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

Public Operators

Name Description
unorm_3::operator--
unorm_3::operator*=
unorm_3::operator/=
unorm_3::operator++
unorm_3::operator+=
unorm_3::operator=
unorm_3::operator-=

Public Constants

Name Description
size Constant

Public Data Members

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

Inheritance Hierarchy

unorm_3

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

unorm_3

Default constructor, initializes all elements with 0.

unorm_3() restrict(amp,
    cpu);

unorm_3(
    unorm _V0,
    unorm _V1,
    unorm _V2) restrict(amp,
    cpu);

unorm_3(
    float _V0,
    float _V1,
    float _V2) restrict(amp,
    cpu);

unorm_3(
    unorm _V) restrict(amp,
    cpu);

explicit unorm_3(
    float _V) restrict(amp,
    cpu);

unorm_3(
    const unorm_3& _Other) restrict(amp,
    cpu);

explicit inline unorm_3(
    const uint_3& _Other) restrict(amp,
    cpu);

explicit inline unorm_3(
    const int_3& _Other) restrict(amp,
    cpu);

explicit inline unorm_3(
    const float_3& _Other) restrict(amp,
    cpu);

explicit inline unorm_3(
    const norm_3& _Other) restrict(amp,
    cpu);

explicit inline unorm_3(
    const double_3& _Other) restrict(amp,
    cpu);

Parameters

_V0
The value to initialize element 0.

_V1
The value to initialize element 1.

_V2
The value to initialize element 2.

_V
The value for initialization.

_Other
The object used to initialize.

size

static const int size = 3;

See also

Concurrency::graphics Namespace