Interface GLFBODrawable.Resizeable

All Superinterfaces:
GLDrawable, GLFBODrawable, NativeSurfaceHolder
Enclosing interface:
GLFBODrawable

public static interface GLFBODrawable.Resizeable extends GLFBODrawable
Resizeable GLFBODrawable specialization
  • Method Details

    • setSurfaceSize

      void setSurfaceSize(GLContext context, int newWidth, int newHeight) throws NativeWindowException, GLException
      Resize this GLFBODrawable's surface.

      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 - new width in pixel units
      newHeight - new width in pixel units
      Throws:
      NativeWindowException - in case the surface could no be locked
      GLException - in case an error during the resize operation occurred