Member |
Value |
Description |
Float16Four |
16 |
Four 16-bit floating-point values expanded to (value, value, value, value). This type is valid for vertex shader version 2.0 or higher. |
Float16Two |
15 |
Two 16-bit floating-point values expanded to (value, value, 0, 1). This type is valid for vertex shader version 2.0 or higher. |
Dec3N |
14 |
3-D signed 10 10 10 format, normalized and expanded to (v[0]/511.0, v[1]/511.0, v[2]/511.0, 1). |
UDec3 |
13 |
3-D unsigned 10 10 10 format, expanded to (value, value, value, 1). |
UShort4N |
12 |
Normalized 4-D unsigned short, expanded to (First byte/65535.0, second byte/65535.0, third byte/65535.0, fourth byte/65535.0). This type is valid for vertex shader version 2.0 or higher. |
UShort2N |
11 |
Normalized, 2-D unsigned short, expanded to (First byte/65535.0, second byte/65535.0, 0, 1). This type is valid for vertex shader version 2.0 or higher. |
Short4N |
10 |
Normalized, 4-D signed short, expanded to (First byte/32767.0, second byte/32767.0, third byte/32767.0, fourth byte/32767.0). This type is valid for vertex shader version 2.0 or higher. |
Short2N |
9 |
Normalized, 2-D signed short, expanded to (First byte/32767.0, second byte/32767.0, 0, 1). This type is valid for vertex shader version 2.0 or higher. |
Ubyte4N |
8 |
Each of 4 bytes is normalized by dividing to 255.0. This type is valid for vertex shader version 2.0 or higher. |
Short4 |
7 |
4-D signed short, expanded to (value, value, value, value). |
Short2 |
6 |
2-D signed short, expanded to (value, value, 0, 1). |
Ubyte4 |
5 |
4-D unsigned byte. |
Float4 |
3 |
4-D float, expanded to (float, float, float, float). |
Float3 |
2 |
3-D float, expanded to (float, float, float, 1). |
Float2 |
1 |
2-D float, expanded to (float, float, 0, 1). |
Float1 |
0 |
1-D float, expanded to (float, 0, 0, 1). |
Unused |
17 |
Type field in the declaration is unused. This is designed for use with UV and LookUpPresampled. |
Color |
4 |
4-D packed unsigned bytes, mapped to 0 to 1 range. Input is in Int32 format (ARGB) expanded to (R, G, B, A). |