?/TD>
Microsoft DirectX 9.0

D3DDTCAPS


Constants describing the vertex data types supported by a device.

#defineDescriptionValue
D3DDTCAPS_UBYTE40x00000001L4-D unsigned byte.
D3DDTCAPS_UBYTE4N0x00000002LNormalized, 4-D unsigned byte. Each of the four bytes is normalized by dividing to 255.0.
D3DDTCAPS_SHORT2N0x00000004LNormalized, 2-D signed short, expanded to (first byte/32767.0, second byte/32767.0, 0, 1).
D3DDTCAPS_SHORT4N0x00000008LNormalized, 4-D signed short, expanded to (first byte/32767.0, second byte/32767.0, third byte/32767.0, fourth byte/32767.0).
D3DDTCAPS_USHORT2N0x00000010LNormalized, 2-D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, 0, 1).
D3DDTCAPS_USHORT4N0x00000020LNormalized 4-D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, third byte/65535.0, fourth byte/65535.0).
D3DDTCAPS_UDEC30x00000040L3-D unsigned 10 10 10 format expanded to (value, value, value, 1).
D3DDTCAPS_DEC3N0x00000080L3-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_20x00000100L2-D 16-bit floating point numbers.
D3DDTCAPS_FLOAT16_40x00000200L4-D 16-bit floating point numbers.

These constants are used by the DeclTypes member of D3DCAPS9.

Constant Information

Headerd3d9caps.h
Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.