public class AWTGLReadBufferUtil extends GLReadBufferUtil
GLReadBufferUtil specialization allowing to
read out a frambuffer to an AWT BufferedImage
utilizing AWTPixelBufferProviderInt for further AWT processing.| Constructor and Description |
|---|
AWTGLReadBufferUtil(GLProfile glp,
boolean alpha) |
| Modifier and Type | Method and Description |
|---|---|
AWTGLPixelBuffer |
getAWTGLPixelBuffer() |
BufferedImage |
readPixelsToBufferedImage(GL gl,
boolean awtOrientation) |
BufferedImage |
readPixelsToBufferedImage(GL gl,
int inX,
int inY,
int inWidth,
int inHeight,
boolean awtOrientation) |
dispose, getGLPixelStorageModes, getPixelBuffer, getPixelBufferProvider, getTexture, getTextureData, hasAlpha, isValid, readPixels, readPixels, rewindPixelBuffer, writepublic AWTGLReadBufferUtil(GLProfile glp, boolean alpha)
alpha - public AWTGLPixelBuffer getAWTGLPixelBuffer()
public BufferedImage readPixelsToBufferedImage(GL gl, boolean awtOrientation)
public BufferedImage readPixelsToBufferedImage(GL gl, int inX, int inY, int inWidth, int inHeight, boolean awtOrientation)
Copyright 2010 JogAmp Community.