Package com.jogamp.opengl
Interface GLFBODrawable.Resizeable
- All Superinterfaces:
GLDrawable,GLFBODrawable,NativeSurfaceHolder
- Enclosing interface:
- GLFBODrawable
Resizeable
GLFBODrawable specialization-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jogamp.opengl.GLFBODrawable
GLFBODrawable.Resizeable -
Field Summary
Fields inherited from interface com.jogamp.opengl.GLFBODrawable
FBOMODE_USE_TEXTURE -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSurfaceSize(GLContext context, int newWidth, int newHeight) Resize thisGLFBODrawable's surface.Methods inherited from interface com.jogamp.opengl.GLDrawable
createContext, getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getNativeSurface, getRequestedGLCapabilities, getSurfaceHeight, getSurfaceWidth, isGLOriented, isRealized, setRealized, swapBuffers, toStringMethods inherited from interface com.jogamp.opengl.GLFBODrawable
getColorbuffer, getFBObject, getFBOMode, getNumBuffers, getNumSamples, getTextureUnit, isInitialized, resetSize, setFBOMode, setNumBuffers, setNumSamples, setTextureUnit
-
Method Details
-
setSurfaceSize
void setSurfaceSize(GLContext context, int newWidth, int newHeight) throws NativeWindowException, GLException Resize thisGLFBODrawable's surface.This drawable is being locked during operation.
- Parameters:
context- theGLContextbound 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 units- Throws:
NativeWindowException- in case the surface could no be lockedGLException- in case an error during the resize operation occurred
-