class csGraphics3DDirect3DDx5 : public IGraphics3D, public IHaloRasterizer the Direct3D implementation of the Graphics3D class.
the Direct3D implementation of the Graphics3D class.
IDirectDrawSurface* m_lpddPrimary
IDirectDrawSurface* m_lpddDevice
IDirect3D2* m_lpD3D
IDirectDrawSurface* m_lpddZBuffer
IDirect3DDevice2* m_lpd3dDevice
IDirect3DViewport2* m_lpd3dViewport
IDirect3DMaterial2* m_lpd3dBackMat
D3DMATERIALHANDLE m_hd3dBackMat
bool m_bIsHardware
DWORD m_dwDeviceBitDepth
GUID m_Guid
csTextureManagerDirect3D* txtmgr
D3DTextureCache* m_pTextureCache
D3DLightMapCache* m_pLightmapCache
int m_iTypeLightmap
bool m_bHaloEffect
int m_nWidth
int m_nHalfWidth
G3DZBufMode m_ZBufMode
int m_nDrawMode
float zdist_mipmap1
bool rstate_dither
G3D_CAPS m_Caps
IGraphics2D* m_piG2D
IDirectDetectionInternal* m_pDirectDevice
ISystem* m_piSystem
bool m_bVerbose
csGraphics3DDirect3DDx5(ISystem*)
~csGraphics3DDirect3DDx5()
STDMETHODIMP Initialize()
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& )
STDMETHODIMP DrawLine(csVector3& v1, csVector3& v2, float fov, int color)
STDMETHODIMP StartPolygonFX(ITextureHandle* handle, UInt mode)
STDMETHODIMP FinishPolygonFX()
STDMETHODIMP DrawPolygonFX(G3DPolygonDPFX& 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 Print(csRect* rect)
STDMETHODIMP SetRenderState(G3D_RENDERSTATEOPTION, long)
STDMETHODIMP GetRenderState(G3D_RENDERSTATEOPTION, long& nValue)
STDMETHODIMP GetZBufPoint(int, int, unsigned long** retval)
STDMETHODIMP GetWidth(int& nWidth)
STDMETHODIMP GetHeight(int& nHeight)
STDMETHODIMP NeedsPO2Maps(void)
STDMETHODIMP GetMaximumAspectRatio(int& ratio)
STDMETHODIMP GetFogMode(G3D_FOGMETHOD& retval)
STDMETHODIMP SetFogMode(G3D_FOGMETHOD fogm)
STDMETHODIMP GetTextureManager(ITextureManager** pi)
STDMETHODIMP Get2dDriver(IGraphics2D** pG2D)
struct csG3DHardwareHaloInfo
class csHaloDrawer
csHaloDrawer(IGraphics2D* piG2D, float r, float g, float b)
~csHaloDrawer()
int mWidth
IGraphics2D* mpiG2D
int mDim
float mRed
float mRatioRed
int mx
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