Double Buffering.


Where possible VOGLE allows for front and back buffers to enable things like animation and smooth updating of the screen. The routine backbuffer is used to initialise double buffering.


backbuffer()

Make VOGLE draw in the backbuffer. Returns -1 if the device is not up to it.

    Fortran:
         integer function backbuffer

    C:
         vogle_backbuffer()

    Pascal:
         function BackBuffer:integer

frontbuffer()

Make VOGLE draw in the front buffer. This will always work.

    Fortran:
         subroutine frontbuffer

    C:
         vogle_frontbuffer()

    Pascal:
         procedure FrontBuffer

swapbuffers()

Swap the front and back buffers.

    Fortran:
         subroutine swapbuffers

    C:
         vogle_swapbuffers()

    Pascal:
         procedure SwapBuffers