public interface ILspRenderTarget
ILspView
or some offscreen buffer used for intermediate storage.
Since multiple render targets can be used in a nested way, the view keeps a stack
on which clients can push a render target for use by calling
push
instead
of calling bind
on the render target directly.
Calling pop
subsequently unbinds
the last pushed render target and rebinds the previously bound render target.Modifier and Type | Method and Description |
---|---|
void |
bind(ILcdGLDrawable aGLDrawable)
Binds the render target for use.
|
void |
destroy(ILcdGLDrawable aGLDrawable)
Destroys the render target.
|
void |
init(ILcdGLDrawable aGLDrawable)
Initializes the render target.
|
void |
unbind(ILcdGLDrawable aGLDrawable)
Unbinds the render target.
|
void init(ILcdGLDrawable aGLDrawable)
aGLDrawable
- the drawable for which the render target will be usedvoid destroy(ILcdGLDrawable aGLDrawable)
aGLDrawable
- the drawable for which the render target will be usedvoid bind(ILcdGLDrawable aGLDrawable)
render target stack
's
push mechanism
instead.aGLDrawable
- the drawable for which the render target will be usedvoid unbind(ILcdGLDrawable aGLDrawable)
render target stack
's pop mechanism
instead.aGLDrawable
- the drawable for which the render target will be used