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
規格需求
需求 | 值 |
---|---|
標頭 | d3dhal.h (包含 D3dhal.h) |