public static interface GLFBODrawable.Resizeable extends GLFBODrawable
GLFBODrawable specializationGLFBODrawable.ResizeableFBOMODE_DEFAULT, FBOMODE_USE_DEPTH, FBOMODE_USE_TEXTURE| Modifier and Type | Method and Description |
|---|---|
void |
setSurfaceSize(GLContext context,
int newWidth,
int newHeight)
Resize this
GLFBODrawable's surface. |
getColorbuffer, getFBObject, getFBOMode, getNumBuffers, getNumSamples, getTextureUnit, isInitialized, resetSize, setFBOMode, setNumBuffers, setNumSamples, setTextureUnitcreateContext, getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getNativeSurface, getRequestedGLCapabilities, getSurfaceHeight, getSurfaceWidth, isGLOriented, isRealized, setRealized, swapBuffers, toStringvoid setSurfaceSize(GLContext context, int newWidth, int newHeight) throws NativeWindowException, GLException
GLFBODrawable's surface.
This drawable is being locked during operation.
context - the GLContext bound to this drawable, will be made current during operation
A prev. current context will be make current after operation.newWidth - new width in pixel unitsnewHeight - new width in pixel unitsNativeWindowException - in case the surface could no be lockedGLException - in case an error during the resize operation occurredCopyright 2010 JogAmp Community.