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
要求
要求 | 值 |
---|---|
Header | d3dhal.h (包括 D3dhal.h) |