Crystal Space: csplugincommon/opengl/glstates.h File Reference (Crystal Space Public API Reference)

| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csplugincommon/opengl/glstates.h File Reference

OpenGL state cache. More...

`#include <GL/gl.h>`
`#include "csextern_gl.h"`
`#include "glextmanager.h"`

Go to the source code of this file.

## Classes
class | csGLStateCache
| OpenGL state cache. More...
class | csGLStateCacheContext
## Defines
#define | CS_GL_MAX_LAYER 16
| Maximum number of texture coord sets resp.
#define | DECLARE_CACHED_BOOL(name) bool enabled_##name;
#define | DECLARE_CACHED_BOOL_CURRENTLAYER(name) bool enabled_##name[CS_GL_MAX_LAYER];
#define | DECLARE_CACHED_CLIENT_STATE(name) bool enabled_##name;
#define | DECLARE_CACHED_CLIENT_STATE_LAYER(name) bool enabled_##name[CS_GL_MAX_LAYER];
#define | DECLARE_CACHED_PARAMETER_1(func, name, type1, param1) type1 parameter_##param1;
#define | DECLARE_CACHED_PARAMETER_1_LAYER(func, name, type1, param1) type1 parameter_##param1[CS_GL_MAX_LAYER];
#define | DECLARE_CACHED_PARAMETER_2(func, name, type1, param1, type2, param2)
#define | DECLARE_CACHED_PARAMETER_2_LAYER(func, name, type1, param1, type2, param2)
#define | DECLARE_CACHED_PARAMETER_3(func, name, type1, param1, type2, param2, type3, param3)
#define | DECLARE_CACHED_PARAMETER_3_LAYER(func, name, type1, param1, type2, param2, type3, param3)
#define | DECLARE_CACHED_PARAMETER_4(func, name, type1, param1, type2, param2, type3, param3, type4, param4)
#define | DECLARE_CACHED_PARAMETER_4_LAYER(func, name, type1, param1,type2, param2, type3, param3, type4, param4)
#define | FORCE_STATE_CHANGE false
#define | IMPLEMENT_CACHED_BOOL(name)
#define | IMPLEMENT_CACHED_BOOL_CURRENTLAYER(name)
#define | IMPLEMENT_CACHED_CLIENT_STATE(name)
#define | IMPLEMENT_CACHED_CLIENT_STATE_LAYER(name)
#define | IMPLEMENT_CACHED_PARAMETER_1(func, name, type1, param1)
#define | IMPLEMENT_CACHED_PARAMETER_1_LAYER(func, name, type1, param1)
#define | IMPLEMENT_CACHED_PARAMETER_2(func, name, type1, param1, type2, param2)
#define | IMPLEMENT_CACHED_PARAMETER_2_LAYER(func, name, type1, param1, type2, param2)
#define | IMPLEMENT_CACHED_PARAMETER_3(func, name, type1, param1, type2, param2, type3, param3)
#define | IMPLEMENT_CACHED_PARAMETER_3_LAYER(func, name, type1, param1, type2, param2, type3, param3)
#define | IMPLEMENT_CACHED_PARAMETER_4(func, name, type1, param1, type2, param2, type3, param3, type4, param4)
#define | IMPLEMENT_CACHED_PARAMETER_4_LAYER(func, name, type1, param1,type2, param2, type3, param3, type4, param4)

## Detailed Description

OpenGL state cache.

Definition in file glstates.h.