class csGraphics3DOpenGL : public IGraphics3D
int width
int height
int width2
int height2
bool rstate_dither
bool m_gouraud
UInt m_mixmode
float m_alpha
bool m_textured
GLenum m_lightmap_src_blend
bool do_extra_bright
long dbg_max_polygons_to_draw
long dbg_current_polygon
int DrawMode
IGraphics2D* m_piG2D
csIniFile* config
csTextureManagerOpenGL* txtmgr
OpenGLTextureCache* texture_cache
OpenGLLightmapCache* lightmap_cache
ISystem* m_piSystem
static bool do_lighting
static bool do_transp
static bool do_textured
static bool do_texel_filt
static bool do_perfect
static int do_interlaced
static bool ilace_fastmove
csGraphics3DOpenGL(ISystem* piSystem)
virtual ~csGraphics3DOpenGL()
STDMETHODIMP Initialize()
STDMETHODIMP Open(char *Title)
STDMETHODIMP Close()
STDMETHODIMP SetDimensions(int width, int height)
STDMETHODIMP BeginDraw(int DrawFlags)
STDMETHODIMP FinishDraw()
STDMETHODIMP Print(csRect *area)
STDMETHODIMP SetZBufMode(G3DZBufMode mode)
STDMETHODIMP DrawPolygon(G3DPolygonDP& poly)
STDMETHODIMP DrawPolygonDebug(G3DPolygonDP& poly)
STDMETHODIMP DrawLine(csVector3& v1, csVector3& v2, float fov, int color)
STDMETHODIMP StartPolygonFX(ITextureHandle* handle, UInt mode)
STDMETHODIMP FinishPolygonFX()
STDMETHODIMP DrawPolygonFX(G3DPolygonDPFX& poly)
STDMETHODIMP CacheTexture(IPolygonTexture* texture)
void CacheInitTexture(IPolygonTexture* texture)
void CacheSubTexture(IPolygonTexture* texture, int u, int v)
void CacheRectTexture(IPolygonTexture* texture, int minu, int minv, int maxu, int maxv)
void CacheLightedTexture(IPolygonTexture *texture)
STDMETHODIMP UncacheTexture(IPolygonTexture* texture)
STDMETHODIMP SetRenderState(G3D_RENDERSTATEOPTION op, long val)
STDMETHODIMP GetRenderState(G3D_RENDERSTATEOPTION op, long& val)
STDMETHODIMP GetCaps(G3D_CAPS *caps)
STDMETHODIMP GetZBufPoint(int , int , unsigned long** retval)
STDMETHODIMP DumpCache(void)
STDMETHODIMP ClearCache(void)
STDMETHODIMP GetWidth(int& retval)
STDMETHODIMP GetHeight(int& retval)
STDMETHODIMP Get2dDriver(IGraphics2D** pi)
STDMETHODIMP GetTextureManager(ITextureManager** pi)
STDMETHODIMP NeedsPO2Maps()
STDMETHODIMP GetMaximumAspectRatio(int& retval)
STDMETHODIMP GetFogMode(G3D_FOGMETHOD& retval)
STDMETHODIMP SetFogMode(G3D_FOGMETHOD fogm)
STDMETHODIMP OpenFogObject(CS_ID id, csFog* fog)
STDMETHODIMP AddFogPolygon(CS_ID id, G3DPolygonAFP& poly, int fogtype)
STDMETHODIMP CloseFogObject(CS_ID id)
STDMETHODIMP GetColormapFormat(G3D_COLORMAPFORMAT& retval)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de