public class GLSimplePixelBuffer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GLSimplePixelBuffer.GLRunnable |
static class |
GLSimplePixelBuffer.ListenerEntry |
Constructor and Description |
---|
GLSimplePixelBuffer(int width,
int height,
javax.media.opengl.GLContext _context) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(GLSimpleListener listener) |
void |
dispose() |
void |
draw() |
BufferedImage |
drawToBufferedImage() |
Rectangle |
getBounds() |
Dimension |
getDimension() |
javax.media.opengl.GLContext |
getGLContext() |
Object |
glSyncExec(GLSimplePixelBuffer.GLRunnable runnable) |
void |
removeListener(GLSimpleListener listener) |
void |
resize(int width,
int height,
boolean notifyListeners) |
public GLSimplePixelBuffer(int width, int height, javax.media.opengl.GLContext _context)
public void addListener(GLSimpleListener listener)
public void removeListener(GLSimpleListener listener)
public Dimension getDimension()
public void resize(int width, int height, boolean notifyListeners)
public void draw()
public BufferedImage drawToBufferedImage()
public Object glSyncExec(GLSimplePixelBuffer.GLRunnable runnable)
public Rectangle getBounds()
public javax.media.opengl.GLContext getGLContext()
public void dispose()
Copyright © 2013 Metron, Inc.. All rights reserved.