javax.media.opengl
Interface GLPbuffer

All Superinterfaces:
GLAutoDrawable, GLDrawable

Deprecated. Use GLOffscreenAutoDrawable w/ GLCapabilities.setFBO(boolean) via GLDrawableFactory.createOffscreenAutoDrawable(..).

public interface GLPbuffer
extends GLAutoDrawable

Provides offscreen rendering support via pbuffers. The principal addition of this interface is a destroy() method to deallocate the pbuffer and its associated resources. It also contains experimental methods for accessing the pbuffer's contents as a texture map and enabling rendering to floating-point frame buffers. These methods are not guaranteed to be supported on all platforms and may be deprecated in a future release.


Field Summary
 
Fields inherited from interface javax.media.opengl.GLAutoDrawable
SCREEN_CHANGE_ACTION_ENABLED
 
Method Summary
 void destroy()
          Deprecated. Destroys the native resources associated with this pbuffer.
 
Methods inherited from interface javax.media.opengl.GLAutoDrawable
addGLEventListener, addGLEventListener, createContext, display, disposeGLEventListener, getAnimator, getAutoSwapBufferMode, getContext, getContextCreationFlags, getDelegatedDrawable, getExclusiveContextThread, getGL, getGLEventListener, getGLEventListenerCount, getGLEventListenerInitState, getUpstreamWidget, invoke, invoke, removeGLEventListener, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setExclusiveContextThread, setGL, setGLEventListenerInitState
 
Methods inherited from interface javax.media.opengl.GLDrawable
getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getHeight, getNativeSurface, getWidth, isGLOriented, isRealized, setRealized, swapBuffers, toString
 

Method Detail

destroy

void destroy()
Deprecated. 
Destroys the native resources associated with this pbuffer. It is not valid to call display() or any other routines on this pbuffer after it has been destroyed. Before destroying the pbuffer, the application must destroy any additional OpenGL contexts which have been created for the pbuffer via GLAutoDrawable.createContext(javax.media.opengl.GLContext).

Specified by:
destroy in interface GLAutoDrawable


Copyright 2010 JogAmp Community.