javax.media.opengl
Interface GLFBODrawable.Resizeable

All Superinterfaces:
GLDrawable, GLFBODrawable
Enclosing interface:
GLFBODrawable

public static interface GLFBODrawable.Resizeable
extends GLFBODrawable

Resizeable GLFBODrawable specialization


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.media.opengl.GLFBODrawable
GLFBODrawable.Resizeable
 
Method Summary
 void setSize(GLContext context, int newWidth, int newHeight)
          Resize this drawable.
 
Methods inherited from interface javax.media.opengl.GLFBODrawable
getFBObject, getNumBuffers, getNumSamples, getTextureBuffer, getTextureUnit, isInitialized, resetSize, setNumBuffers, setNumSamples, setTextureUnit
 
Methods inherited from interface javax.media.opengl.GLDrawable
createContext, getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getHeight, getNativeSurface, getWidth, isGLOriented, isRealized, setRealized, swapBuffers, toString
 

Method Detail

setSize

void setSize(GLContext context,
             int newWidth,
             int newHeight)
             throws NativeWindowException,
                    GLException
Resize this drawable.

This drawable is being locked during operation.

Parameters:
context - the GLContext bound to this drawable, will be made current during operation A prev. current context will be make current after operation.
newWidth -
newHeight -
Throws:
NativeWindowException - in case the surface could no be locked
GLException - in case an error during the resize operation occurred


Copyright 2010 JogAmp Community.