Package org.lwjgl.opengl
Class GLXSGIXPbuffer
- java.lang.Object
-
- org.lwjgl.opengl.GLXSGIXPbuffer
-
public class GLXSGIXPbuffer extends java.lang.ObjectNative 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 intGLX_ACCUM_BUFFER_BIT_SGIX
GLX_AUX_BUFFERS_BIT_SGIX
GLX_BACK_LEFT_BUFFER_BIT_SGIX
GLX_BACK_RIGHT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.static intGLX_BUFFER_CLOBBER_MASK_SGIXAccepted by themaskparameter ofSelectEventSGIXand returned in themaskparameter ofGetSelectedEventSGIX.static intGLX_DAMAGED_SGIXReturned in theevent_typefield of a "buffer clobber" event.static intGLX_DEPTH_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.static intGLX_EVENT_MASK_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static intGLX_FRONT_LEFT_BUFFER_BIT_SGIX
GLX_FRONT_RIGHT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.static intGLX_HEIGHT_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static intGLX_LARGEST_PBUFFER_SGIXAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.static intGLX_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 theattributeparameter ofGetFBConfigAttribSGIX.static intGLX_PBUFFER_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static intGLX_PBUFFER_SGIXReturned in thedraw_typefield of a "buffer clobber" event.static intGLX_PRESERVED_CONTENTS_SGIXAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.static intGLX_SAMPLE_BUFFERS_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.static intGLX_SAVED_SGIXReturned in theevent_typefield of a "buffer clobber" event.static intGLX_STENCIL_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.static intGLX_WIDTH_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static intGLX_WINDOW_SGIXReturned in thedraw_typefield of a "buffer clobber" event.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static longglXCreateGLXPbufferSGIX(long display, long config, int width, int height, int[] attrib_list)Array version of:CreateGLXPbufferSGIXstatic longglXCreateGLXPbufferSGIX(long display, long config, int width, int height, java.nio.IntBuffer attrib_list)Creates a single GLXPbuffer and returns its XID.static voidglXDestroyGLXPbufferSGIX(long display, long pbuf)Destroys a GLXPbuffer.static voidglXGetSelectedEventSGIX(long display, long drawable, org.lwjgl.PointerBuffer mask)Returns which GLX events are selected for a GLXdrawable.static voidglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value)Array version of:QueryGLXPbufferSGIXstatic voidglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, java.nio.IntBuffer value)Queries an attribute associated with a GLXPbuffer.static voidglXSelectEventSGIX(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 theattributeparameter ofGetFBConfigAttribSGIX.
-
GLX_PBUFFER_BIT_SGIX
Returned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).
-
GLX_PRESERVED_CONTENTS_SGIX, GLX_LARGEST_PBUFFER_SGIX
Accepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.
-
GLX_WIDTH_SGIX, GLX_HEIGHT_SGIX, GLX_EVENT_MASK_SGIX
Accepted by theattributeparameter ofQueryGLXPbufferSGIX.
-
GLX_BUFFER_CLOBBER_MASK_SGIX
Accepted by themaskparameter ofSelectEventSGIXand returned in themaskparameter ofGetSelectedEventSGIX.
-
GLX_DAMAGED_SGIX, GLX_SAVED_SGIX
Returned in theevent_typefield of a "buffer clobber" event.
-
GLX_WINDOW_SGIX, GLX_PBUFFER_SGIX
Returned in thedraw_typefield 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 themaskfield 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- theGLXFBConfigwidth- 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
-
-