javax.media.opengl
Interface GLOffscreenAutoDrawable

All Superinterfaces:
GLAutoDrawable, GLDrawable
All Known Subinterfaces:
GLOffscreenAutoDrawable.FBO

public interface GLOffscreenAutoDrawable
extends GLAutoDrawable

Platform-independent GLAutoDrawable specialization, exposing offscreen functionality.

This class distinguishes itself from GLAutoDrawable with it's setSize(int, int) functionality.


Nested Class Summary
static interface GLOffscreenAutoDrawable.FBO
          FBObject based GLOffscreenAutoDrawable specialization
 
Field Summary
 
Fields inherited from interface javax.media.opengl.GLAutoDrawable
SCREEN_CHANGE_ACTION_ENABLED
 
Method Summary
 void setSize(int newWidth, int newHeight)
          Resize this auto drawable.
 void setUpstreamWidget(Object newUpstreamWidget)
          Set the upstream UI toolkit object.
 
Methods inherited from interface javax.media.opengl.GLAutoDrawable
addGLEventListener, addGLEventListener, createContext, destroy, 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

setSize

void setSize(int newWidth,
             int newHeight)
             throws NativeWindowException,
                    GLException
Resize this auto drawable.

Parameters:
newWidth -
newHeight -
Throws:
NativeWindowException - in case the surface could no be locked
GLException - in case of an error during the resize operation

setUpstreamWidget

void setUpstreamWidget(Object newUpstreamWidget)
Set the upstream UI toolkit object.

See Also:
GLAutoDrawable.getUpstreamWidget()


Copyright 2010 JogAmp Community.