Compartilhar via


unorm Class

Represent a unorm number. Each element is a floating point number in the range of [0.0f, 1.0f].

class unorm;

Members

Public Constructors

Name

Description

unorm::unorm Constructor

Overloaded. Default constructor. Initialize to 0.0f.

Public Operators

Name

Description

unorm::operator-- Operator

unorm::operator float Operator

Conversion operator. Convert the unorm number to a floating point value.

unorm::operator*= Operator

unorm::operator/= Operator

unorm::operator++ Operator

unorm::operator+= Operator

unorm::operator= Operator

unorm::operator-= Operator

Inheritance Hierarchy

unorm

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace