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 TypeMethodDescriptionvoid
setSurfaceSize
(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, toString
Methods 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
- theGLContext
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 units- Throws:
NativeWindowException
- in case the surface could no be lockedGLException
- in case an error during the resize operation occurred
-