structure D3DDEVICEDESC_V2 (d3dhal.h)

La structure D3DDeviceDesc_V2 est obsolète ; seules D3DDeviceDesc_V1 doivent être utilisées.

La structure D3DDeviceDesc_V2 contient des champs qui sont déjà signalés dans la structure D3DHAL_D3DEXTENDEDCAPS lors de la réponse au GUID GUID_D3DExtendedCaps dans DdGetDriverInfo.

Syntaxe

typedef struct _D3DDeviceDesc_V2 {
  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;
  DWORD            dwMinTextureWidth;
  DWORD            dwMinTextureHeight;
  DWORD            dwMaxTextureWidth;
  DWORD            dwMaxTextureHeight;
  DWORD            dwMinStippleWidth;
  DWORD            dwMaxStippleWidth;
  DWORD            dwMinStippleHeight;
  DWORD            dwMaxStippleHeight;
} D3DDEVICEDESC_V2, *LPD3DDEVICEDESC_V2;

Membres

dwSize

dwFlags

dcmColorModel

dwDevCaps

dtcTransformCaps

bClipping

dlcLightingCaps

dpcLineCaps

dpcTriCaps

dwDeviceRenderBitDepth

dwDeviceZBufferBitDepth

dwMaxBufferSize

dwMaxVertexCount

dwMinTextureWidth

dwMinTextureHeight

dwMaxTextureWidth

dwMaxTextureHeight

dwMinStippleWidth

dwMaxStippleWidth

dwMinStippleHeight

dwMaxStippleHeight

Configuration requise

Condition requise Valeur
En-tête d3dhal.h (inclure D3dhal.h)