Logo Search packages:      
Sourcecode: libjogl-java version File versions  Download package

void javax::media::opengl::TraceGL::setSwapInterval ( int  interval  )  [inline]

Provides a platform-independent way to specify the minimum swap interval for buffer swaps. An argument of 0 disables sync-to-vertical-refresh completely, while an argument of 1 causes the application to wait until the next vertical refresh until swapping buffers. The default, which is platform-specific, is usually either 0 or 1. This function is not guaranteed to have an effect, and in particular only affects heavyweight onscreen components.

Implements javax::media::opengl::GL.

Definition at line 14753 of file TraceGL.java.

References javax::media::opengl::GL::setSwapInterval().


Generated by  Doxygen 1.6.0   Back to index