public class GLXSGIVideoSync
extends java.lang.Object
This extension provides a means for synchronization with the video frame rate of a monitor.
| Modifier and Type | Method and Description |
|---|---|
static int |
glXGetVideoSyncSGI(int[] count)
Array version of:
GetVideoSyncSGI |
static int |
glXGetVideoSyncSGI(java.nio.IntBuffer count)
Returns the value of the video sync counter in
count. |
static int |
glXWaitVideoSyncSGI(int divisor,
int remainder,
int[] count)
Array version of:
WaitVideoSyncSGI |
static int |
glXWaitVideoSyncSGI(int divisor,
int remainder,
java.nio.IntBuffer count)
Puts the calling process to sleep until
|
static int |
nglXGetVideoSyncSGI(long count)
Unsafe version of:
GetVideoSyncSGI |
static int |
nglXWaitVideoSyncSGI(int divisor,
int remainder,
long count)
Unsafe version of:
WaitVideoSyncSGI |
public static int nglXGetVideoSyncSGI(long count)
GetVideoSyncSGIpublic static int glXGetVideoSyncSGI(java.nio.IntBuffer count)
count. Zero is returned if the call is successful.count - the video sync counter valuepublic static int nglXWaitVideoSyncSGI(int divisor,
int remainder,
long count)
WaitVideoSyncSGIpublic static int glXWaitVideoSyncSGI(int divisor,
int remainder,
java.nio.IntBuffer count)
(C mod D) = R
where C is the video sync counter, D is specified by the divisor parameter of glXWaitVideoSyncSGI, and R is
specified by the remainder parameter of glXWaitVideoSyncSGI. glXWaitVideoSyncSGI returns the current video sync counter value in
count. Zero is returned by glXWaitVideoSyncSGI if it is successful.
divisor - the divisor valueremainder - the remainder valuecount - the video sync counter valuepublic static int glXGetVideoSyncSGI(int[] count)
GetVideoSyncSGIpublic static int glXWaitVideoSyncSGI(int divisor,
int remainder,
int[] count)
WaitVideoSyncSGICopyright LWJGL. All Rights Reserved. License terms.