CS::PluginCommon::GL Namespace Reference
Common code shared among plugins using OpenGL. More...
Functions | |
void CS_CSPLUGINCOMMON_GL_EXPORT | SetAssumedState (csGLStateCache *statecache, csGLExtensionManager *ext) |
Set some states to values assumed throughout Crystal Space. |
Detailed Description
Common code shared among plugins using OpenGL.
Function Documentation
void CS_CSPLUGINCOMMON_GL_EXPORT CS::PluginCommon::GL::SetAssumedState | ( | csGLStateCache * | statecache, | |
csGLExtensionManager * | ext | |||
) |
Set some states to values assumed throughout Crystal Space.
This is useful in embedding situations where the embedder may change these states to other values; this function can set them to the assumed values before control is passed back to CS.
States set by this function are:
- Depth clear value (glClearDepth)
- Depth range (glDepthRange)
- Pixel unpack alignment (GL_UNPACK_ALIGNMENT)
- Pixel byte swapping (GL_UNPACK_SWAP_BYTES)
- Vertex program point size (GL_VERTEX_PROGRAM_POINT_SIZE_ARB)
- GL_POINT_SPRITE_ARB texture environment setting
- Minimum, maximum point sizes
- Point fade threshold
Generated for Crystal Space 2.0 by doxygen 1.6.1