Partager via


unorm_2 Class

Represents a short vector of two unsigned normal numbers.

class unorm_2;

Members

Public Typedefs

Name

Description

value_type

Public Constructors

Name

Description

unorm_2::unorm_2 Constructor

Overloaded. Default constructor, initializes all elements with 0.

Public Methods

Name

Description

unorm_2::get_x Method

unorm_2::get_xy Method

unorm_2::get_y Method

unorm_2::get_yx Method

unorm_2::ref_g Method

unorm_2::ref_r Method

unorm_2::ref_x Method

unorm_2::ref_y Method

unorm_2::set_x Method

unorm_2::set_xy Method

unorm_2::set_y Method

unorm_2::set_yx Method

Public Operators

Name

Description

unorm_2::operator-- Operator

unorm_2::operator*= Operator

unorm_2::operator/= Operator

unorm_2::operator++ Operator

unorm_2::operator+= Operator

unorm_2::operator= Operator

unorm_2::operator-= Operator

Public Constants

Name

Description

unorm_2::size Constant

Public Data Members

Name

Description

unorm_2::g Data Member

unorm_2::gr Data Member

unorm_2::r Data Member

unorm_2::rg Data Member

unorm_2::x Data Member

unorm_2::xy Data Member

unorm_2::y Data Member

unorm_2::yx Data Member

Inheritance Hierarchy

unorm_2

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace