Package org.lwjgl.opengl
Class GLXSGIVideoSync
- java.lang.Object
-
- org.lwjgl.opengl.GLXSGIVideoSync
-
public class GLXSGIVideoSync extends java.lang.ObjectNative bindings to the GLX_SGI_video_sync extension.This extension provides a means for synchronization with the video frame rate of a monitor.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intglXGetVideoSyncSGI(int[] count)Array version of:GetVideoSyncSGIstatic intglXGetVideoSyncSGI(java.nio.IntBuffer count)Returns the value of the video sync counter incount.static intglXWaitVideoSyncSGI(int divisor, int remainder, int[] count)Array version of:WaitVideoSyncSGIstatic intglXWaitVideoSyncSGI(int divisor, int remainder, java.nio.IntBuffer count)Puts the calling process to sleep until
-
-
-
Method Detail
-
glXGetVideoSyncSGI
public static int glXGetVideoSyncSGI(java.nio.IntBuffer count)
Returns the value of the video sync counter incount. Zero is returned if the call is successful.- Parameters:
count- the video sync counter value
-
glXWaitVideoSyncSGI
public static int glXWaitVideoSyncSGI(int divisor, int remainder, java.nio.IntBuffer count)Puts the calling process to sleep until(C mod D) = Rwhere
Cis the video sync counter,Dis specified by thedivisorparameter ofglXWaitVideoSyncSGI, andRis specified by theremainderparameter ofglXWaitVideoSyncSGI.glXWaitVideoSyncSGIreturns the current video sync counter value incount. Zero is returned byglXWaitVideoSyncSGIif it is successful.- Parameters:
divisor- the divisor valueremainder- the remainder valuecount- the video sync counter value
-
glXGetVideoSyncSGI
public static int glXGetVideoSyncSGI(int[] count)
Array version of:GetVideoSyncSGI
-
glXWaitVideoSyncSGI
public static int glXWaitVideoSyncSGI(int divisor, int remainder, int[] count)Array version of:WaitVideoSyncSGI
-
-