public class GL2ES2ImageDrawer extends AbstractImageHelper
Constructor and Description |
---|
GL2ES2ImageDrawer() |
GL2ES2ImageDrawer(GL2ES2ImagePipeline shader) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the helper object.
|
void |
setG2D(GLGraphics2D g2d)
Sets the current
GLGraphics2D parent. |
public GL2ES2ImageDrawer()
public GL2ES2ImageDrawer(GL2ES2ImagePipeline shader)
public void setG2D(GLGraphics2D g2d)
G2DDrawingHelper
GLGraphics2D
parent. The current GL
and
GLContext
objects can be accessed from this. This should clear all
internal stacks in the helper object because previous painting iterations
may not have called dispose() for each time they called create().setG2D
in interface G2DDrawingHelper
setG2D
in class AbstractImageHelper
g2d
- The parent context for subsequent drawing operations.public void dispose()
G2DDrawingHelper
Graphics2D
object. This should dispose all GL resources when
all drawing is finished and no more calls will be executing on this OpenGL
context and these resources.dispose
in interface G2DDrawingHelper
dispose
in class AbstractImageHelper
Copyright © 2010-2013. All Rights Reserved.