Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
csGLStateCache Class Reference
Since this class is passed directly between plugins the code in this class cannot do memory allocations or deallocations. More...
#include <csplugincommon/opengl/glstates.h>
Public Member Functions | |
void | ActivateTU () |
csGLStateCache (csGLExtensionManager *extmgr) | |
int | GetActiveTU () |
GLuint | GetBufferARB (GLenum target) |
GLuint | GetTexture (GLenum, int unit) |
GLuint | GetTexture (GLenum) |
void | SetActiveTU (int unit) |
Set active texture unit. | |
void | SetBufferARB (GLenum target, GLuint id) |
void | SetContext (csGLStateCacheContext *context) |
void | SetTexture (GLenum target, GLuint texture) |
Public Attributes | |
csGLStateCacheContext * | currentContext |
csGLExtensionManager * | extmgr |
GLenum | |
GLint | |
GLsizei | |
VertexPointer | |
GLvoid | vpointer |
vsize | |
vstride | |
vtype |
Detailed Description
Since this class is passed directly between plugins the code in this class cannot do memory allocations or deallocations.The functions in this class will only manipulate member variables.
Definition at line 547 of file glstates.h.
Member Function Documentation
|
Set active texture unit. Doesn't check whether the multitexture ext is actually supported, this must be done in calling code. Definition at line 633 of file glstates.h. References currentContext, and csGLStateCacheContext::currentUnit. |
The documentation for this class was generated from the following file:
- csplugincommon/opengl/glstates.h
Generated for Crystal Space by doxygen 1.4.4