![]() |
OpenGI 2.1
Easy parameterization and Geometry Image creation
|
Structures and functions for interoperating with the OpenGL. More...
Functions | |
void GIAPIENTRY | giGLRenderParameterb (GIenum pname, GIboolean param) |
Set boolean render parameter. | |
void GIAPIENTRY | giGLRenderParameteri (GIenum pname, GIint param) |
Set integer render parameter. | |
void GIAPIENTRY | giGLAttribRenderParameteri (GIuint attrib, GIenum pname, GIint param) |
Set integer attribute render parameter. | |
void GIAPIENTRY | giGLDrawMesh () |
Render current mesh immediately. | |
void GIAPIENTRY | giGLDrawCut () |
Render current cut of current mesh immediately. | |
void GIAPIENTRY | giGLDrawGIM () |
Draw Geometry Images as triangular mesh. | |
void GIAPIENTRY | giGLCleanUp () |
Clean up OpenGL context specific data. |
Structures and functions for interoperating with the OpenGL.
Set boolean render parameter.
pname | state to set |
param | value to set |
Set integer render parameter.
pname | state to set |
param | value to set |
Set integer attribute render parameter.
attrib | attribute channel |
pname | state to set |
param | value to set |
void GIAPIENTRY giGLDrawMesh | ( | ) |
Render current mesh immediately.
This function renders the current bound mesh by glBegin()/glEnd
() using the current OpenGL context. It should be built into a display list when needed more than once.
void GIAPIENTRY giGLDrawCut | ( | ) |
Render current cut of current mesh immediately.
This function renders the current cut of the current bound mesh as lines by glBegin()/glEnd
() using the current OpenGL context. It should be built into a display list when needed more than once.
void GIAPIENTRY giGLDrawGIM | ( | ) |
Draw Geometry Images as triangular mesh.
This function renders the attributes currently bound images a a triangular mesh.
void GIAPIENTRY giGLCleanUp | ( | ) |
Clean up OpenGL context specific data.
This function should be called before the GL context used by OpenGI is destroyed or changes during the lifetime of the active OpenGI context, as OpenGI may create GL context local data as e.g. shaders. It need not be called when the GI context is destroyed before the GL context, but it has to be called between calls to giSample() or giGLDraw[Mesh/Cut/GIM]() within different GL contexts.