GL1 Graphic Context. More...
Derived from: | public CL_GraphicContext |
Derived by: | None |
Group: | Display (GL1) |
#include <ClanLib/gl1.h>
Class Members:
Attributes: | |
Returns the currently selected texture for the specified index. | |
Returns the currently selected textures. | |
Returns the blending mode description. | |
Returns the buffer control description. | |
Returns the polygon rasterizer setup. | |
Returns the currently selected write frame buffer. | |
Returns the currently selected read frame buffer. | |
Returns the currently selected pen. | |
Returns the current width of the context. | |
Returns the current height of the context. | |
Returns the current size of the context. | |
Returns the current clipping rectangle used on the graphic context. | |
Returns the current effective modelview matrix. | |
Returns the maximum size of a texture this graphic context supports. | |
Returns the provider for this graphic context. |
| |
Return the content of the read buffer into a pixel buffer. | |
Sets the current frame buffer. | |
Resets the current frame buffer to be the initial frame buffer. | |
Select texture into index. | |
Select textures. | |
Remove texture from index. | |
Remove all selected textures. | |
Set active program object to the standard program specified. | |
Remove active program object. | |
Set blending modes. | |
Reset blending to the default. | |
Set buffer control states. | |
Set default buffer control states. | |
Select pen. | |
Reset pen settings to defaults. | |
Set polygon rasterizer settings. | |
Reset polygon rasterizer settings to defaults. | |
Draw primitives on gc. | |
Set the primitives array on the gc. | |
Draws primitives from the current assigned primitives array. | |
Draw primitives array instanced. | |
Draw primitives elements. | |
Draw primitives elements instanced. | |
Reset the primitives arrays. | |
Draw pixel buffer on gc. | |
Clears the whole context using the specified color. | |
Clear the stencil buffer. | |
Clear the depth buffer. | |
Set the current clipping rectangle. | |
Push current clipping rectangle to stack. | |
Pop current clipping rectangle from the stack. | |
Removes the set clipping rectangle and empties the cliprect stack. | |
Set the projection mapping mode. | |
Set the viewport to be used in user projection map mode. | |
Set the projection matrix to be used in user projection map mode. | |
Sets the model view matrix to a new matrix. | |
Multiplies the passed matrix onto the model view matrix. | |
Pushes current model view matrix onto the model view stack. | |
Sets a translate offset matrix, ignoring any earlier model view settings. | |
Adds the translate offset. | |
Push translation offset onto model view stack. | |
Sets a rotation matrix, ignoring any earlier model view settings. | |
Adds a rotation matrix to existing model view. | |
Pushes a rotation matrix onto model view stack. | |
Sets a scale matrix, ignoring any earlier model view settings. | |
Adds a scale matrix to existing model view. | |
Pushes a scale matrix onto model view stack. | |
Pops last pushed model view matrix off the stack and makes it the active one. | |
Flushes the render batcher currently active. | |
Specifies which render batcher is to be currently active. |
| |
Called when the last GC in the thread is about to be destroyed. |
Construction. | |
Get Light count. | |
Get Max texture coords. | |
Get the opengl version. | |
Attributes. | |
Pop texture matrix. | |
Operations. | |
Reset back material. | |
Reset color material. | |
Reset front material. | |
Reset light. | |
Reset light model. | |
Reset material. | |
Sets the thread's OpenGL context to the oed used by raphiraphic context. | |
Set back material. | |
Set color material. | |
Set color material back. | |
Set color material front. | |
Set front material. | |
Set light. | |
Set light model. | |
Set material. | |
Set texture matrix. | |
Set texture unit. | |
Throw an exception if this object is invalid. |