com.jogamp.opengl.util.awt
Class AWTGLReadBufferUtil

java.lang.Object
  extended by com.jogamp.opengl.util.GLReadBufferUtil
      extended by 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.


Constructor Summary
AWTGLReadBufferUtil(GLProfile glp, boolean alpha)
          
 
Method Summary
 AWTGLPixelBuffer getAWTGLPixelBuffer()
           
 BufferedImage readPixelsToBufferedImage(GL gl, boolean awtOrientation)
           
 BufferedImage readPixelsToBufferedImage(GL gl, int inX, int inY, int inWidth, int inHeight, boolean awtOrientation)
           
 
Methods inherited from class com.jogamp.opengl.util.GLReadBufferUtil
dispose, getGLPixelStorageModes, getPixelBuffer, getPixelBufferProvider, getTexture, getTextureData, hasAlpha, isValid, readPixels, readPixels, rewindPixelBuffer, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTGLReadBufferUtil

public AWTGLReadBufferUtil(GLProfile glp,
                           boolean alpha)

Parameters:
alpha -
Method Detail

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.