public interface GLOffscreenAutoDrawable extends GLAutoDrawable
GLAutoDrawable
specialization,
exposing offscreen functionality.
This class distinguishes itself from GLAutoDrawable
with it's setSize(int, int)
functionality.
Modifier and Type | Interface and Description |
---|---|
static interface |
GLOffscreenAutoDrawable.FBO
FBObject based GLOffscreenAutoDrawable specialization |
SCREEN_CHANGE_ACTION_ENABLED
Modifier and Type | Method and Description |
---|---|
void |
setSize(int newWidth,
int newHeight)
Resize this auto drawable.
|
void |
setUpstreamWidget(Object newUpstreamWidget)
Set the upstream UI toolkit object.
|
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
getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getHeight, getNativeSurface, getWidth, isGLOriented, isRealized, setRealized, swapBuffers, toString
void setSize(int newWidth, int newHeight) throws NativeWindowException, GLException
newWidth
- newHeight
- NativeWindowException
- in case the surface could no be lockedGLException
- in case of an error during the resize operationvoid setUpstreamWidget(Object newUpstreamWidget)
GLAutoDrawable.getUpstreamWidget()
Copyright 2010 JogAmp Community.