com.jogamp.opengl.util.awt
Class AWTGLReadBufferUtil
java.lang.Object
com.jogamp.opengl.util.GLReadBufferUtil
com.jogamp.opengl.util.awt.AWTGLReadBufferUtil
public class AWTGLReadBufferUtil
- extends GLReadBufferUtil
GLReadBufferUtil
specialization allowing to
read out a frambuffer to an AWT BufferedImage
utilizing AWTPixelBufferProviderInt
for further AWT processing.
Methods inherited from class com.jogamp.opengl.util.GLReadBufferUtil |
dispose, getGLPixelStorageModes, getPixelBuffer, getPixelBufferProvider, getTexture, getTextureData, hasAlpha, isValid, readPixels, readPixels, rewindPixelBuffer, write |
AWTGLReadBufferUtil
public AWTGLReadBufferUtil(GLProfile glp,
boolean alpha)
-
- Parameters:
alpha
-
getAWTGLPixelBuffer
public AWTGLPixelBuffer getAWTGLPixelBuffer()
readPixelsToBufferedImage
public BufferedImage readPixelsToBufferedImage(GL gl,
boolean awtOrientation)
readPixelsToBufferedImage
public BufferedImage readPixelsToBufferedImage(GL gl,
int inX,
int inY,
int inWidth,
int inHeight,
boolean awtOrientation)
Copyright 2010 JogAmp Community.