unorm Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

class unorm;  

Public Constructors

NameDescription
unorm::unorm ConstructorOverloaded. Default constructor. Initialize to 0.0f.

Public Operators

NameDescription
unorm::operator-- Operator
unorm::operator float OperatorConversion 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

unorm

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

Default constructor. Initialize to 0.0f.

unorm(
    void) restrict(amp,
    cpu);

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

 
explicit unorm(
    unsigned int _V) restrict(amp,
    cpu);

 
explicit unorm(
    int _V) restrict(amp,
    cpu);

 
explicit unorm(
    double _V) restrict(amp,
    cpu);

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

 
inline explicit unorm(
    const norm& _Other) restrict(amp,
    cpu);

Parameters

_V
The value used to initialize.

_Other
The norm object used to initialize.

Concurrency::graphics Namespace

Show: