Public Types | |
enum | Enum { LINEAR_MIPMAP_LINEAR = GL_LINEAR_MIPMAP_LINEAR, LINEAR = GL_LINEAR, NEAREST = GL_NEAREST, NONE = GL_NONE, INVALID_ENUM = GL_INVALID_ENUM, SHADOW } |
Public Member Functions | |
Hgl (HWindow *w) | |
void | MakeCurrent () |
Static Public Member Functions | |
static void | SwapBuffers () |
static Hgl & | GetCurrent () |
static map< string, Texture::Reference > & | GetLoadedTextures () |
static void | Normal (const Point< 3, GLfloat > &APoint) |
static void | Vertex (const Point< 3, GLfloat > &APoint) |
static void | Vertex (const Point< 2, GLfloat > &APoint) |
static void | TexCoord (const Point< 2, GLfloat > &APoint) |
static void | SetColor (const Color &AColor) |
static void | ClearColor (const Color &AColor) |
static void | Translate (const Point< 3, GLfloat > &Location) |
static void | Rotate (REAL teta, const Point< 3, GLfloat > &Axe) |
static void | Scale (REAL scale) |
static void | LockArrays (int first, int count) |
static void | UnlockArrays () |
static void | Begin (int type) |
static void | End () |
static void | Finish () |
static ostream & | PrintVersion (ostream &out) |
static ostream & | PrintExtentions (ostream &out) |
static ostream & | PrintDebug (ostream &out) |
static void | ResizeWindow (HRect &ClientRect) |
static HRect | GetViewPort () |
static void | WriteText (const char *AText, const Point< 2, GLfloat > &APosition) |
static void | WriteText (const char *AText, const Point< 3, GLfloat > &APosition) |
static void | LookFrom (const Ref &ARef) |
static void | Relocate (const Ref &Position) |
static void | SetLightSource (Point< 3, GLfloat > LightDirection) |
static void | Viewport (const HRect &ClientRect) |
static void | ShadowTransform (const Point< 3, GLfloat > &ALightPos, Point< 3, GLfloat > APlane[3]) |
static void | ShadowTransform (const Point< 3, GLfloat > &ALightPos, const Contact &ShadowContact) |
static void | PurgeError () |
static void | ThrowError () |
static void | Enable (Enum variable) |
static void | Disable (Enum variable) |
static bool | IsEnabled (Enum variable) |
static void | SetShadows (int value) |
static int | GetShadows () |
static void | SetTextureMode (Enum value) |
static Enum | GetTextureMode () |
static void | SetVertexArrays (bool value) |
static bool | GetVertexArrays () |
static void | SetExtCompiledVertexArrays (bool value) |
static bool | GetExtCompiledVertexArrays () |
static void | SetFinish (bool value) |
static bool | GetFinish () |