D3DDEVICEDESC_V3 结构 (d3dhal.h)
D3DDeviceDesc_V3结构已过时;只应使用D3DDeviceDesc_V1。
D3DDeviceDesc_V3 结构包含在响应 DdGetDriverInfo 中的 GUID_D3DExtendedCaps GUID 时已在 D3DHAL_D3DEXTENDEDCAPS 结构中报告的字段。
语法
typedef struct _D3DDeviceDesc_V3 {
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;
DWORD dwMaxTextureRepeat;
DWORD dwMaxTextureAspectRatio;
DWORD dwMaxAnisotropy;
D3DVALUE dvGuardBandLeft;
D3DVALUE dvGuardBandTop;
D3DVALUE dvGuardBandRight;
D3DVALUE dvGuardBandBottom;
D3DVALUE dvExtentsAdjust;
DWORD dwStencilCaps;
DWORD dwFVFCaps;
DWORD dwTextureOpCaps;
WORD wMaxTextureBlendStages;
WORD wMaxSimultaneousTextures;
} D3DDEVICEDESC_V3, *LPD3DDEVICEDESC_V3;
成员
dwSize
dwFlags
dcmColorModel
dwDevCaps
dtcTransformCaps
bClipping
dlcLightingCaps
dpcLineCaps
dpcTriCaps
dwDeviceRenderBitDepth
dwDeviceZBufferBitDepth
dwMaxBufferSize
dwMaxVertexCount
dwMinTextureWidth
dwMinTextureHeight
dwMaxTextureWidth
dwMaxTextureHeight
dwMinStippleWidth
dwMaxStippleWidth
dwMinStippleHeight
dwMaxStippleHeight
dwMaxTextureRepeat
dwMaxTextureAspectRatio
dwMaxAnisotropy
dvGuardBandLeft
dvGuardBandTop
dvGuardBandRight
dvGuardBandBottom
dvExtentsAdjust
dwStencilCaps
dwFVFCaps
dwTextureOpCaps
wMaxTextureBlendStages
wMaxSimultaneousTextures
要求
要求 | 值 |
---|---|
Header | d3dhal.h (包括 D3dhal.h) |