D3DDTCAPS
Constants describing the vertex data types supported by a device.
#define | Description | Value |
---|
D3DDTCAPS_UBYTE4 | 0x00000001L | 4-D unsigned byte. |
D3DDTCAPS_UBYTE4N | 0x00000002L | Normalized, 4-D unsigned byte. Each of the four bytes is normalized by dividing to 255.0. |
D3DDTCAPS_SHORT2N | 0x00000004L | Normalized, 2-D signed short, expanded to (first byte/32767.0, second byte/32767.0, 0, 1). |
D3DDTCAPS_SHORT4N | 0x00000008L | Normalized, 4-D signed short, expanded to (first byte/32767.0, second byte/32767.0, third byte/32767.0, fourth byte/32767.0). |
D3DDTCAPS_USHORT2N | 0x00000010L | Normalized, 2-D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, 0, 1). |
D3DDTCAPS_USHORT4N | 0x00000020L | Normalized 4-D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, third byte/65535.0, fourth byte/65535.0). |
D3DDTCAPS_UDEC3 | 0x00000040L | 3-D unsigned 10 10 10 format expanded to (value, value, value, 1). |
D3DDTCAPS_DEC3N | 0x00000080L | 3-D signed 10 10 10 format normalized and expanded to (v[0]/511.0, v[1]/511.0, v[2]/511.0, 1). |
D3DDTCAPS_FLOAT16_2 | 0x00000100L | 2-D 16-bit floating point numbers. |
D3DDTCAPS_FLOAT16_4 | 0x00000200L | 4-D 16-bit floating point numbers. |
These constants are used by the DeclTypes member of D3DCAPS9.
Constant Information
Header | d3d9caps.h |
---|
Minimum operating system | Windows 98 |
---|