D3DDEVICEDESC_V2结构 (d3dhal.h)

D3DDeviceDesc_V2 结构已过时;仅应使用 D3DDeviceDesc_V1

D3DDeviceDesc_V2 结构包含响应 DdGetDriverInfo中GUID_D3DExtendedCaps GUID 时已在 D3DHAL_D3DEXTENDEDCAPS 结构中报告的字段。

语法

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;

成员

dwSize

dwFlags

dcmColorModel

dwDevCaps

dtcTransformCaps

bClipping

dlcLightingCaps

dpcLineCaps

dpcTriCaps

dwDeviceRenderBitDepth

dwDeviceZBufferBitDepth

dwMaxBufferSize

dwMaxVertexCount

dwMinTextureWidth

dwMinTextureHeight

dwMaxTextureWidth

dwMaxTextureHeight

dwMinStippleWidth

dwMaxStippleWidth

dwMinStippleHeight

dwMaxStippleHeight

要求

要求 价值
标头 d3dhal.h (包括 D3dhal.h)