Interface GLFBODrawable.Resizeable

    • Method Detail

      • setSurfaceSize

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

        This drawable is being locked during operation.

        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
        NativeWindowException - in case the surface could no be locked
        GLException - in case an error during the resize operation occurred