class csGraphics3DDirect3DDx6 : public IGraphics3D the Direct3D implementation of the Graphics3D class.
the Direct3D implementation of the Graphics3D class.
IDirectDrawSurface4* m_lpddPrimary
IDirectDrawSurface4* m_lpddDevice
IDirect3D3* m_lpD3D
IDirectDrawSurface4* m_lpddZBuffer
IDirect3DDevice3* m_lpd3dDevice
IDirect3DViewport3* m_lpd3dViewport
IDirect3DMaterial3* m_lpd3dBackMat
D3DMATERIALHANDLE m_hd3dBackMat
bool m_bIsHardware
DWORD m_dwDeviceBitDepth
GUID m_Guid
D3DTextureCache* m_pTextureCache
D3DLightMapCache* m_pLightmapCache
int m_iTypeLightmap
int m_nWidth
int m_nHalfWidth
G3DZBufMode m_ZBufMode
int m_nDrawMode
bool rstate_dither
G3D_CAPS m_Caps
ICamera* m_pCamera
IGraphics2D* m_piG2D
IDirectDetectionInternal* m_pDirectDevice
ISystem* m_piSystem
bool use16BitTexture
csGraphics3DDirect3DDx6(ISystem*)
~csGraphics3DDirect3DDx6()
STDMETHODIMP Open(char* Title)
STDMETHODIMP Close()
STDMETHODIMP SetDimensions(int width, int height)
STDMETHODIMP BeginDraw(int DrawFlags)
STDMETHODIMP FinishDraw()
STDMETHODIMP SetZBufMode(G3DZBufMode mode)
STDMETHODIMP DrawPolygon(G3DPolygonDP& poly)
STDMETHODIMP DrawPolygonDebug(G3DPolygonDP& poly)
STDMETHODIMP DrawLine(csVector3& v1, csVector3& v2, int color)
STDMETHODIMP DrawPolygonQuick(G3DPolygonDPQ& poly)
STDMETHODIMP DrawFltLight(G3DFltLight& light)
STDMETHODIMP CacheTexture(IPolygonTexture* texture)
STDMETHODIMP UncacheTexture(IPolygonTexture* texture)
STDMETHODIMP GetCaps(G3D_CAPS *caps)
STDMETHODIMP DumpCache(void)
STDMETHODIMP ClearCache(void)
STDMETHODIMP GetColormapFormat( G3D_COLORMAPFORMAT& g3dFormat )
STDMETHODIMP GetStringError( HRESULT hRes, char* szErrorString )
STDMETHODIMP SetCamera( ICamera* pCamera )
STDMETHODIMP Print(csRect* rect)
STDMETHODIMP SetRenderState(G3D_RENDERSTATEOPTION, long value)
STDMETHODIMP GetRenderState(G3D_RENDERSTATEOPTION, long& nValue)
STDMETHODIMP GetZBufPoint(int, int, unsigned long** retval)
STDMETHODIMP GetWidth(int& nWidth)
STDMETHODIMP GetHeight(int& nHeight)
STDMETHODIMP SetWorld(IWorld* piWorld)
STDMETHODIMP NeedsPO2Maps(void)
STDMETHODIMP GetMaximumAspectRatio(int& ratio)
STDMETHODIMP Get2dDriver(IGraphics2D** pG2D)
bool EnumDevices(void)
bool m_bIsLocked
inline void SetupPolygon( G3DPolygonDP& poly, float& J1, float& J2, float& J3, float& K1, float& K2, float& K3, float& M, float& N, float& O )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de