typedef struct _D3DDeviceDesc {
DWORD dwSize;
DWORD dwFlags;
D3DCOLORMODEL dcmColorModel;
DWORD dwDevCaps;
D3DTRANSFORMCAPS dtcTransformCaps;
BOOL bClipping;
D3DLIGHTINGCAPS dlcLightingCaps;
D3DPRIMCAPS dpcLineCaps;
D3DPRIMCAPS dpcTriCaps;
DWORD dwDeviceRenderBitDepth;
DWORD dwDeviceZBufferBitDepth;
DWORD dwMaxBufferSize;
DWORD dwMaxVertexCount;
} D3DDEVICEDESC, *LPD3DDEVICEDESC;
Contains a description of the current device. This structure is used to query the current device by such methods as IDirect3DDevice::GetCaps.
Size, in bytes, of this structure.
Flags identifying the members of this structure that contain valid data.
The bClipping member is valid.
The dcmColorModel member is valid.
The dwDevCaps member is valid.
The dlcLightingCaps member is valid.
The dpcLineCaps member is valid.
The dwMaxBufferSize member is valid.
The dwMaxVertexCount member is valid.
The dtcTransformCaps member is valid.
The dpcTriCaps member is valid.
One of the members of the D3DCOLORMODEL enumerated type, specifying the color model for the device.
Flags identifying the capabilities of the device.
D3DDEVCAPS_EXECUTESYSTEMMEMORY
Device can use execute buffers from system memory.
Device can use execute buffers from video memory.
Device accepts floating point for post-transform vertex data.
Device needs data sorted for decreasing depth.
Device needs data sorted exactly.
Device needs data sorted for increasing depth.
D3DDEVCAPS_TEXTURESYSTEMMEMORY
Device can retrieve textures from system memory.
Device can retrieves textures from device memory.
D3DDEVCAPS_TLVERTEXSYSTEMMEMORY
Device can use buffers from system memory for transformed and lit vertices.
D3DDEVCAPS_TLVERTEXVIDEOMEMORY
Device can use buffers from video memory for transformed and lit vertices.
One of the members of the D3DTRANSFORMCAPS structure, specifying the transformation capabilities of the device.
TRUE if the device can perform 3D clipping.
One of the members of the D3DLIGHTINGCAPS structure, specifying the lighting capabilities of the device.
D3DPRIMCAPS structures defining the device's support for line-drawing and triangle primitives.
Device's rendering bit-depth. This can be one of the following DirectDraw bit-depth constants: DDBD_8, DDBD_16, DDBD_24, or DDBD_32.
Device's z-buffer bit-depth. This can be one of the following DirectDraw bit-depth constants: DDBD_8, DDBD_16, DDBD_24, or DDBD_32.
Maximum size of the execute buffer for this device. If this member is 0, the application can use any size.
Maximum vertex count for this device.