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)