public class GlRenderTarget
extends java.lang.Object
Constructor and Description |
---|
GlRenderTarget()
Constructs a new Open GL render target.
|
Modifier and Type | Method and Description |
---|---|
void |
createRenderSurface(java.lang.Object surfaceTexture) |
boolean |
hasValidContext()
Checks if the current Open GL context is valid.
|
boolean |
hasValidSurface()
Checks if the current Open GL surface is valid.
|
void |
initialize() |
void |
makeCurrent() |
void |
release()
Releases the Open GL resource used by this render target.
|
void |
swapBuffers() |
public GlRenderTarget()
OpenGLException
- if the render target could not be created.public boolean hasValidContext()
public boolean hasValidSurface()
public void initialize()
public void release()
public void createRenderSurface(java.lang.Object surfaceTexture)
public void swapBuffers()
public void makeCurrent()