public interface ILspGLState
ILspGLState
sets up the OpenGL state of a ILcdGLDrawable
.
This can include, for instance, the current color, texture, line width and so
on. When more than one state object is used, the setup/cleanup methods should
be called in a LIFO order: the last state that has been set up should be the
first one to be cleaned up.
Modifier and Type | Method and Description |
---|---|
void |
cleanUp(ILcdGLDrawable aGLDrawable)
Reverts any settings that have been set in
setUp() . |
void |
setUp(ILcdGLDrawable aGLDrawable)
Applies the OpenGL state to the given drawable.
|
void setUp(ILcdGLDrawable aGLDrawable)
aGLDrawable
- the access point to OpenGLcleanUp(com.luciad.view.opengl.binding.ILcdGLDrawable)
void cleanUp(ILcdGLDrawable aGLDrawable)
setUp()
.aGLDrawable
- the access point to OpenLssetUp(com.luciad.view.opengl.binding.ILcdGLDrawable)