Top Description Constructors Methods
org.lwjgl.opengl

public Class GLXSGIMakeCurrentRead

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

Native bindings to the GLX_SGI_make_current_read extension.

The association of the current context with a drawable is extended to allow separate write and read drawables. This paves the way for allowing preprocessing of image data in an "off screen" window which is then read into the visible window for final display. Similarly it sets the frame-work for direct transfer of video to the GL, by treating the video as a special kind of read drawable (a.k.a, readable).

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
glXGetCurrentReadDrawableSGI()

Returns the name of the GLXDrawable currently being used as a pixel query source.

public static boolean
glXMakeCurrentReadSGI(long
the connection to the X server
display
,
long
the draw drawable
draw
,
long
the read drawable
read
,
long
the current context
ctx
)

Associates two GLXDrawables with the current rendering context.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLXSGIMakeCurrentReadback to summary
protected GLXSGIMakeCurrentRead()

Method Detail

glXGetCurrentReadDrawableSGIback to summary
public static long glXGetCurrentReadDrawableSGI()

Returns the name of the GLXDrawable currently being used as a pixel query source.

Annotations
@NativeType:GLXDrawable
glXMakeCurrentReadSGIback to summary
public static boolean glXMakeCurrentReadSGI(long display, long draw, long read, long ctx)

Associates two GLXDrawables with the current rendering context.

Parameters
display:long

the connection to the X server

draw:long

the draw drawable

read:long

the read drawable

ctx:long

the current context

Annotations
@NativeType:Bool