Top Description Constructors Methods
org.lwjgl.opengl

public Class GLXSGISwapControl

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the GLX_SGI_swap_control extension.

This extension allows an application to specify a minimum periodicity of color buffer swaps, measured in video frame periods.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
glXSwapIntervalSGI(int
the swap interval
interval
)

Specifies the minimum number of video frame periods per buffer swap.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLXSGISwapControlback to summary
protected GLXSGISwapControl()

Method Detail

glXSwapIntervalSGIback to summary
public static int glXSwapIntervalSGI(int interval)

Specifies the minimum number of video frame periods per buffer swap. (e.g. a value of two means that the color buffers will be swapped at most every other video frame.) A return value of zero indicates success; otherwise an error occurred. The interval takes effect when SwapBuffers is first called subsequent to the glXSwapIntervalSGI call.

A video frame period is the time required by the monitor to display a full frame of video data. In the case of an interlaced monitor, this is typically the time required to display both the even and odd fields of a frame of video data.

Parameters
interval:int

the swap interval

Annotations
@NativeType:GLint