Export (0) Print
Expand All

D3DDTCAPS

Constants describing the vertex data types supported by a device.

#defineValueDescription
D3DDTCAPS_UBYTE40x00000001L4D unsigned byte.
D3DDTCAPS_UBYTE4N0x00000002LNormalized, 4D unsigned byte. Each of the four bytes is normalized by dividing to 255.0.
D3DDTCAPS_SHORT2N0x00000004LNormalized, 2D signed short, expanded to (first byte/32767.0, second byte/32767.0, 0, 1).
D3DDTCAPS_SHORT4N0x00000008LNormalized, 4D signed short, expanded to (first byte/32767.0, second byte/32767.0, third byte/32767.0, fourth byte/32767.0).
D3DDTCAPS_USHORT2N0x00000010LNormalized, 2D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, 0, 1).
D3DDTCAPS_USHORT4N0x00000020LNormalized 4D unsigned short, expanded to (first byte/65535.0, second byte/65535.0, third byte/65535.0, fourth byte/65535.0).
D3DDTCAPS_UDEC30x00000040L3D unsigned 10 10 10 format expanded to (value, value, value, 1).
D3DDTCAPS_DEC3N0x00000080L3D signed 10 10 10 format normalized and expanded to (v[0]/511.0, v[1]/511.0, v[2]/511.0, 1).
D3DDTCAPS_FLOAT16_20x00000100L2D 16-bit floating point numbers.
D3DDTCAPS_FLOAT16_40x00000200L4D 16-bit floating point numbers.

 

These constants are used by the DeclTypes member of D3DCAPS9.

Constant Information

Headerd3d9caps.h
Minimum operating systemWindows 98

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft