In file src/H_Graphics.h:

class Hgl


Public Classes

[more]enum Enum

Public Methods

[more] Hgl(HWindow *w)
[more]void MakeCurrent()
[more]static void SwapBuffers()
[more]static Hgl& GetCurrent()
[more]static map<string,Texture::Reference> & GetLoadedTextures()
[more]static inline void Normal(const Point<3, GLfloat> &APoint)
[more]static inline void Vertex(const Point<3, GLfloat> &APoint)
[more]static inline void Vertex(const Point<2, GLfloat> &APoint)
[more]static inline void TexCoord(const Point<2, GLfloat> &APoint)
[more]static inline void SetColor(const Color &AColor)
[more]static void ClearColor(const Color &AColor)
[more]static void Translate(const Point<3, GLfloat> &Location)
translate to Location
[more]static void Rotate(REAL teta, const Point<3, GLfloat> &Axe)
rotate in rad around axe
[more]static inline void Scale(REAL scale)
[more]static void LockArrays(int first, int count)
[more]static void UnlockArrays()
[more]static inline void Begin(int type)
[more]static inline void End()
[more]static void Finish()
[more]static ostream& PrintVersion(ostream &out)
[more]static ostream& PrintExtentions(ostream &out)
[more]static ostream& PrintDebug(ostream &out)
[more]static void ResizeWindow(HRect &ClientRect)
[more]static HRect GetViewPort()
[more]static void WriteText(char *AText, const Point<2, GLfloat> &APosition)
[more]static void WriteText(char *AText, const Point<3, GLfloat> &APosition)
[more]static void LookFrom(const Ref & ARef)
[more]static void Relocate(const Ref &Position)
[more]static void SetLightSource(Point<3, GLfloat> LightDirection)
[more]static void Viewport(const HRect &ClientRect)
[more]static void ShadowTransform(const Point<3, GLfloat> &ALightPos, Point<3, GLfloat> APlane[3])
[more]static void ShadowTransform(const Point<3, GLfloat> &ALightPos, const Contact &ShadowContact)
[more]static void PurgeError()
[more]static void ThrowError()
[more]static void Enable(Enum variable)
[more]static void Disable(Enum variable)
[more]static bool IsEnabled(Enum variable)
[more]static void SetShadows(int value)
[more]static int GetShadows()
[more]static void SetTextureMode(Enum value)
[more]static Enum GetTextureMode()
[more]static void SetVertexArrays(bool value)
[more]static bool GetVertexArrays()
[more]static void SetExtCompiledVertexArrays(bool value)
[more]static bool GetExtCompiledVertexArrays()
[more]static void SetFinish(bool value)
[more]static bool GetFinish()

Private Fields

[more]HWindow* m_window
[more]PFNGLLOCKARRAYSPROC glLockArrays
[more]PFNGLUNLOCKARRAYSPROC glUnlockArrays
[more]static Hgl* curr
[more]map<string,Texture::Reference> LoadedTextures
[more]GLuint fontOffset
[more]HRect MyViewPort
[more]bool Shadow
[more]Command GLExtentions
[more]int gl_shadows
[more]Enum gl_texturemode
[more]bool gl_vertex_arrays
[more]bool gl_ext_compiled_vertex_array
[more]bool gl_finish

Private Methods

[more]static bool& GetCapEnable(Enum variable)


Documentation

o Hgl(HWindow *w)

ovoid MakeCurrent()

ostatic void SwapBuffers()

ostatic Hgl& GetCurrent()

ostatic map<string,Texture::Reference> & GetLoadedTextures()

oenum Enum

o LINEAR_MIPMAP_LINEAR

o LINEAR

o NEAREST

o NONE

o INVALID_ENUM

o SHADOW

ostatic inline void Normal(const Point<3, GLfloat> &APoint)

ostatic inline void Vertex(const Point<3, GLfloat> &APoint)

ostatic inline void Vertex(const Point<2, GLfloat> &APoint)

ostatic inline void TexCoord(const Point<2, GLfloat> &APoint)

ostatic inline void SetColor(const Color &AColor)

ostatic void ClearColor(const Color &AColor)

ostatic void Translate(const Point<3, GLfloat> &Location)
translate to Location

ostatic void Rotate(REAL teta, const Point<3, GLfloat> &Axe)
rotate in rad around axe

ostatic inline void Scale(REAL scale)

ostatic void LockArrays(int first, int count)

ostatic void UnlockArrays()

ostatic inline void Begin(int type)

ostatic inline void End()

ostatic void Finish()

ostatic ostream& PrintVersion(ostream &out)

ostatic ostream& PrintExtentions(ostream &out)

ostatic ostream& PrintDebug(ostream &out)

ostatic void ResizeWindow(HRect &ClientRect)

ostatic HRect GetViewPort()

ostatic void WriteText(char *AText, const Point<2, GLfloat> &APosition)

ostatic void WriteText(char *AText, const Point<3, GLfloat> &APosition)

ostatic void LookFrom(const Ref & ARef)

ostatic void Relocate(const Ref &Position)

ostatic void SetLightSource(Point<3, GLfloat> LightDirection)

ostatic void Viewport(const HRect &ClientRect)

ostatic void ShadowTransform(const Point<3, GLfloat> &ALightPos, Point<3, GLfloat> APlane[3])

ostatic void ShadowTransform(const Point<3, GLfloat> &ALightPos, const Contact &ShadowContact)

ostatic void PurgeError()

ostatic void ThrowError()

ostatic void Enable(Enum variable)

ostatic void Disable(Enum variable)

ostatic bool IsEnabled(Enum variable)

ostatic void SetShadows(int value)

ostatic int GetShadows()

ostatic void SetTextureMode(Enum value)

ostatic Enum GetTextureMode()

ostatic void SetVertexArrays(bool value)

ostatic bool GetVertexArrays()

ostatic void SetExtCompiledVertexArrays(bool value)

ostatic bool GetExtCompiledVertexArrays()

ostatic void SetFinish(bool value)

ostatic bool GetFinish()

ostatic bool& GetCapEnable(Enum variable)

oHWindow* m_window

oPFNGLLOCKARRAYSPROC glLockArrays

oPFNGLUNLOCKARRAYSPROC glUnlockArrays

ostatic Hgl* curr

omap<string,Texture::Reference> LoadedTextures

oGLuint fontOffset

oHRect MyViewPort

obool Shadow

oCommand GLExtentions

oint gl_shadows

oEnum gl_texturemode

obool gl_vertex_arrays

obool gl_ext_compiled_vertex_array

obool gl_finish


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.