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 Type
    Method
    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.