diff options
Diffstat (limited to 'src/native/d3d/D3dDeviceInfo.hpp')
-rw-r--r-- | src/native/d3d/D3dDeviceInfo.hpp | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/native/d3d/D3dDeviceInfo.hpp b/src/native/d3d/D3dDeviceInfo.hpp index 9cf1a41..f48433c 100644 --- a/src/native/d3d/D3dDeviceInfo.hpp +++ b/src/native/d3d/D3dDeviceInfo.hpp @@ -53,26 +53,28 @@ class D3dDeviceInfo { char* deviceVendor; char* deviceRenderer; char* deviceVersion; - + // #Issue 629 vendor ID + UINT vendorID; + // each bitmask correspond to the support of // D3DMULTISAMPLE_i_SAMPLES type, i = 2...16 DWORD multiSampleSupport; - + // TRUE when d3dDepthFormat[i] support BOOL depthFormatSupport[D3DDEPTHFORMATSIZE]; - + // depth format select D3DFORMAT depthStencilFormat; - + // max z buffer depth support UINT maxZBufferDepthSize; - + // max stencil buffer depth support UINT maxStencilDepthSize; // new on 1.4 - + // Max vertex count support for each primitive DWORD maxVertexCount[GEO_TYPE_INDEXED_LINE_STRIP_SET+1]; - + BOOL supportStencil; // new on 1.4 BOOL supportShaders11; BOOL isHardware; @@ -100,20 +102,20 @@ class D3dDeviceInfo { D3DRENDERSTATETYPE fogMode; int texMask; int maxAnisotropy; - + BOOL supportStreamOffset; - + D3dDeviceInfo(); ~D3dDeviceInfo(); - + // set capabilities of this device VOID setCaps(D3DCAPS9 *d3dCaps); BOOL supportAntialiasing(); D3DMULTISAMPLE_TYPE getBestMultiSampleType(); int getTextureFeaturesMask(); void findDepthStencilFormat(int minZDepth, int minZDepthStencil); - - + + }; #endif |