Package com.jogamp.opengl
Interface GLFBODrawable.Resizeable
-
- All Superinterfaces:
GLDrawable
,GLFBODrawable
,NativeSurfaceHolder
- Enclosing interface:
- GLFBODrawable
public static interface GLFBODrawable.Resizeable extends GLFBODrawable
ResizeableGLFBODrawable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
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
-
-