| title |
unorm Class | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
unorm |
AMP_SHORT_VECTORS/unorm |
AMP_SHORT_VECTORS/Concurrency::graphics::unorm Constructor |
|
| dev_langs |
|
| ms.assetid |
bc30bd20-6452-4d5f-9158-3b11c4c16ed2 |
| caps.latest.revision |
8 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
ru-ru |
zh-cn |
zh-tw |
|
| translation.priority.mt |
|
Represent a unorm number. Each element is a floating point number in the range of [0.0f, 1.0f].
| Name |
Description |
| unorm Constructor |
Overloaded. Default constructor. Initialize to 0.0f. |
| Name |
Description |
| unorm::operator-- |
|
| unorm::operator float |
Conversion operator. Convert the unorm number to a floating point value. |
| unorm::operator*= |
|
| unorm::operator/= |
|
| unorm::operator++ |
|
| unorm::operator+= |
|
| unorm::operator= |
|
| unorm::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);
_V
The value used to initialize.
_Other
The norm object used to initialize.
Concurrency::graphics Namespace