com.jogamp.opengl.util

## Interface CustomGLEventListener

- All Superinterfaces:
    EventListener, GLEventListener
  All Known Subinterfaces:
    StereoGLEventListener

      public interface CustomGLEventListener
      extends GLEventListener

  Extended `GLEventListener` interface supporting more fine grained control over the implementation.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `DISPLAY_DONTCLEAR` `display flag`: Do not clear any target buffer, e.g.
    `static int` | `DISPLAY_REPEAT` `display flag`: Repeat last produced image.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `display(GLAutoDrawable drawable, int flags)` Extended `display` method, allowing to pass a display flag, e.g.

    - ### Methods inherited from interface javax.media.opengl.GLEventListener

      `display, dispose, init, reshape`

- - ### Field Detail

    - #### DISPLAY_REPEAT

          static final int DISPLAY_REPEAT

      `display flag`: Repeat last produced image.

      While a repeated frame shall produce the same artifacts as the last `display` call, e.g. not change animated objects, it shall reflect the `current matrix`.

      See Also:
        Constant Field Values

    - #### DISPLAY_DONTCLEAR

          static final int DISPLAY_DONTCLEAR

      `display flag`: Do not clear any target buffer, e.g. color-, depth- or stencil-buffers.
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### display

          void display(GLAutoDrawable drawable,
                     int flags)

      Extended `display` method, allowing to pass a display flag, e.g. `DISPLAY_REPEAT` or `DISPLAY_DONTCLEAR`.

      Method is usually called by a custom rendering loop, e.g. for manual stereo rendering or the like.

      Parameters:
        `drawable` -
        `flags` -

Copyright 2010 JogAmp Community.