Interface ILspGLState
public interface ILspGLState
An
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.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanUp
(ILcdGLDrawable aGLDrawable) Reverts any settings that have been set insetUp()
.void
setUp
(ILcdGLDrawable aGLDrawable) Applies the OpenGL state to the given drawable.
-
Method Details
-
setUp
Applies the OpenGL state to the given drawable.- Parameters:
aGLDrawable
- the access point to OpenGL- See Also:
-
cleanUp
Reverts any settings that have been set insetUp()
.- Parameters:
aGLDrawable
- the access point to OpenLs- See Also:
-