Package org.lwjgl.opengl
Class GLXSGIXPbuffer
- java.lang.Object
-
- org.lwjgl.opengl.GLXSGIXPbuffer
-
public class GLXSGIXPbuffer extends java.lang.Object
Native bindings to the GLX_SGIX_pbuffer extension.This extension defines pixel buffers (GLXPbuffers, or pbuffer for short). GLXPbuffers are additional non-visible rendering buffers for an OpenGL renderer.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GLX_ACCUM_BUFFER_BIT_SGIX
GLX_AUX_BUFFERS_BIT_SGIX
GLX_BACK_LEFT_BUFFER_BIT_SGIX
GLX_BACK_RIGHT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.static int
GLX_BUFFER_CLOBBER_MASK_SGIX
Accepted by themask
parameter ofSelectEventSGIX
and returned in themask
parameter ofGetSelectedEventSGIX
.static int
GLX_DAMAGED_SGIX
Returned in theevent_type
field of a "buffer clobber" event.static int
GLX_DEPTH_BUFFER_BIT_SGIX
Returned in themask
field of a "buffer clobber" event.static int
GLX_EVENT_MASK_SGIX
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static int
GLX_FRONT_LEFT_BUFFER_BIT_SGIX
GLX_FRONT_RIGHT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.static int
GLX_HEIGHT_SGIX
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static int
GLX_LARGEST_PBUFFER_SGIX
Accepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.static int
GLX_MAX_PBUFFER_HEIGHT_SGIX
GLX_MAX_PBUFFER_PIXELS_SGIX
GLX_MAX_PBUFFER_WIDTH_SGIX
GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX
GLX_OPTIMAL_PBUFFER_WIDTH_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static int
GLX_PBUFFER_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static int
GLX_PBUFFER_SGIX
Returned in thedraw_type
field of a "buffer clobber" event.static int
GLX_PRESERVED_CONTENTS_SGIX
Accepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.static int
GLX_SAMPLE_BUFFERS_BIT_SGIX
Returned in themask
field of a "buffer clobber" event.static int
GLX_SAVED_SGIX
Returned in theevent_type
field of a "buffer clobber" event.static int
GLX_STENCIL_BUFFER_BIT_SGIX
Returned in themask
field of a "buffer clobber" event.static int
GLX_WIDTH_SGIX
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static int
GLX_WINDOW_SGIX
Returned in thedraw_type
field of a "buffer clobber" event.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static long
glXCreateGLXPbufferSGIX(long display, long config, int width, int height, int[] attrib_list)
Array version of:CreateGLXPbufferSGIX
static long
glXCreateGLXPbufferSGIX(long display, long config, int width, int height, java.nio.IntBuffer attrib_list)
Creates a single GLXPbuffer and returns its XID.static void
glXDestroyGLXPbufferSGIX(long display, long pbuf)
Destroys a GLXPbuffer.static void
glXGetSelectedEventSGIX(long display, long drawable, org.lwjgl.PointerBuffer mask)
Returns which GLX events are selected for a GLXdrawable.static void
glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value)
Array version of:QueryGLXPbufferSGIX
static void
glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, java.nio.IntBuffer value)
Queries an attribute associated with a GLXPbuffer.static void
glXSelectEventSGIX(long display, long drawable, long mask)
Selects which GLX events should be received on a GLXdrawable.
-
-
-
Field Detail
-
GLX_MAX_PBUFFER_WIDTH_SGIX, GLX_MAX_PBUFFER_HEIGHT_SGIX, GLX_MAX_PBUFFER_PIXELS_SGIX, GLX_OPTIMAL_PBUFFER_WIDTH_SGIX, GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.
-
GLX_PBUFFER_BIT_SGIX
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).
-
GLX_PRESERVED_CONTENTS_SGIX, GLX_LARGEST_PBUFFER_SGIX
Accepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.
-
GLX_WIDTH_SGIX, GLX_HEIGHT_SGIX, GLX_EVENT_MASK_SGIX
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.
-
GLX_BUFFER_CLOBBER_MASK_SGIX
Accepted by themask
parameter ofSelectEventSGIX
and returned in themask
parameter ofGetSelectedEventSGIX
.
-
GLX_DAMAGED_SGIX, GLX_SAVED_SGIX
Returned in theevent_type
field of a "buffer clobber" event.
-
GLX_WINDOW_SGIX, GLX_PBUFFER_SGIX
Returned in thedraw_type
field of a "buffer clobber" event.
-
GLX_FRONT_LEFT_BUFFER_BIT_SGIX, GLX_FRONT_RIGHT_BUFFER_BIT_SGIX, GLX_BACK_LEFT_BUFFER_BIT_SGIX, GLX_BACK_RIGHT_BUFFER_BIT_SGIX, GLX_AUX_BUFFERS_BIT_SGIX, GLX_DEPTH_BUFFER_BIT_SGIX, GLX_STENCIL_BUFFER_BIT_SGIX, GLX_ACCUM_BUFFER_BIT_SGIX, GLX_SAMPLE_BUFFERS_BIT_SGIX
Returned in themask
field of a "buffer clobber" event.
-
-
Method Detail
-
glXCreateGLXPbufferSGIX
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, java.nio.IntBuffer attrib_list)
Creates a single GLXPbuffer and returns its XID.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfig
width
- the pbuffer widthheight
- the pbuffer heightattrib_list
- an optional null-terminated list of attributes
-
glXDestroyGLXPbufferSGIX
public static void glXDestroyGLXPbufferSGIX(long display, long pbuf)
Destroys a GLXPbuffer.- Parameters:
display
- the connection to the X serverpbuf
- the pbuffer to destroy
-
glXQueryGLXPbufferSGIX
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, java.nio.IntBuffer value)
Queries an attribute associated with a GLXPbuffer.- Parameters:
display
- the connection to the X serverpbuf
- the pbuffer being queriedattribute
- the attribute to queryvalue
- returns the attribute value
-
glXSelectEventSGIX
public static void glXSelectEventSGIX(long display, long drawable, long mask)
Selects which GLX events should be received on a GLXdrawable.- Parameters:
display
- the connection to the X serverdrawable
- the GLXDrawablemask
- the selection mask
-
glXGetSelectedEventSGIX
public static void glXGetSelectedEventSGIX(long display, long drawable, org.lwjgl.PointerBuffer mask)
Returns which GLX events are selected for a GLXdrawable.- Parameters:
display
- the connection to the X serverdrawable
- the GLXDrawablemask
- returns the selection mask
-
glXCreateGLXPbufferSGIX
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, int[] attrib_list)
Array version of:CreateGLXPbufferSGIX
-
glXQueryGLXPbufferSGIX
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value)
Array version of:QueryGLXPbufferSGIX
-
-