Package org.lwjgl.opengl
Class GLXSGIXPbuffer
java.lang.Object
org.lwjgl.opengl.GLXSGIXPbuffer
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
FieldsModifier and TypeFieldDescriptionstatic final intReturned in themaskfield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intAccepted by themaskparameter ofSelectEventSGIXand returned in themaskparameter ofGetSelectedEventSGIX.static final intReturned in theevent_typefield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static final intReturned in themaskfield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static final intAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intAccepted by theattributeparameter ofGetFBConfigAttribSGIX.static final intReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).static final intReturned in thedraw_typefield of a "buffer clobber" event.static final intAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.static final intReturned in themaskfield of a "buffer clobber" event.static final intReturned in theevent_typefield of a "buffer clobber" event.static final intReturned in themaskfield of a "buffer clobber" event.static final intAccepted by theattributeparameter ofQueryGLXPbufferSGIX.static final intReturned in thedraw_typefield of a "buffer clobber" event. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, 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.CLongBuffer 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, 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.static longnglXCreateGLXPbufferSGIX(long display, long config, int width, int height, long attrib_list) Unsafe version of:CreateGLXPbufferSGIXstatic voidnglXGetSelectedEventSGIX(long display, long drawable, long mask) Unsafe version of:GetSelectedEventSGIXstatic voidnglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value) Unsafe version of:QueryGLXPbufferSGIX
-
Field Details
-
GLX_MAX_PBUFFER_WIDTH_SGIX
public static final int GLX_MAX_PBUFFER_WIDTH_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_MAX_PBUFFER_HEIGHT_SGIX
public static final int GLX_MAX_PBUFFER_HEIGHT_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_MAX_PBUFFER_PIXELS_SGIX
public static final int GLX_MAX_PBUFFER_PIXELS_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_OPTIMAL_PBUFFER_WIDTH_SGIX
public static final int GLX_OPTIMAL_PBUFFER_WIDTH_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX
public static final int GLX_OPTIMAL_PBUFFER_HEIGHT_SGIXAccepted by theattributeparameter ofGetFBConfigAttribSGIX.- See Also:
-
GLX_PBUFFER_BIT_SGIX
public static final int GLX_PBUFFER_BIT_SGIXReturned byGetFBConfigAttribSGIX(whenattributeis set toDRAWABLE_TYPE_SGIX) and accepted by theattrib_listparameter ofChooseFBConfigSGIX(following theDRAWABLE_TYPE_SGIXtoken).- See Also:
-
GLX_PRESERVED_CONTENTS_SGIX
public static final int GLX_PRESERVED_CONTENTS_SGIXAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.- See Also:
-
GLX_LARGEST_PBUFFER_SGIX
public static final int GLX_LARGEST_PBUFFER_SGIXAccepted by theattrib_listparameter ofCreateGLXPbufferSGIXand by theattributeparameter ofQueryGLXPbufferSGIX.- See Also:
-
GLX_WIDTH_SGIX
public static final int GLX_WIDTH_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.- See Also:
-
GLX_HEIGHT_SGIX
public static final int GLX_HEIGHT_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.- See Also:
-
GLX_EVENT_MASK_SGIX
public static final int GLX_EVENT_MASK_SGIXAccepted by theattributeparameter ofQueryGLXPbufferSGIX.- See Also:
-
GLX_BUFFER_CLOBBER_MASK_SGIX
public static final int GLX_BUFFER_CLOBBER_MASK_SGIXAccepted by themaskparameter ofSelectEventSGIXand returned in themaskparameter ofGetSelectedEventSGIX.- See Also:
-
GLX_DAMAGED_SGIX
public static final int GLX_DAMAGED_SGIXReturned in theevent_typefield of a "buffer clobber" event.- See Also:
-
GLX_SAVED_SGIX
public static final int GLX_SAVED_SGIXReturned in theevent_typefield of a "buffer clobber" event.- See Also:
-
GLX_WINDOW_SGIX
public static final int GLX_WINDOW_SGIXReturned in thedraw_typefield of a "buffer clobber" event.- See Also:
-
GLX_PBUFFER_SGIX
public static final int GLX_PBUFFER_SGIXReturned in thedraw_typefield of a "buffer clobber" event.- See Also:
-
GLX_FRONT_LEFT_BUFFER_BIT_SGIX
public static final int GLX_FRONT_LEFT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_FRONT_RIGHT_BUFFER_BIT_SGIX
public static final int GLX_FRONT_RIGHT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_BACK_LEFT_BUFFER_BIT_SGIX
public static final int GLX_BACK_LEFT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_BACK_RIGHT_BUFFER_BIT_SGIX
public static final int GLX_BACK_RIGHT_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_AUX_BUFFERS_BIT_SGIX
public static final int GLX_AUX_BUFFERS_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_DEPTH_BUFFER_BIT_SGIX
public static final int GLX_DEPTH_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_STENCIL_BUFFER_BIT_SGIX
public static final int GLX_STENCIL_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_ACCUM_BUFFER_BIT_SGIX
public static final int GLX_ACCUM_BUFFER_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
GLX_SAMPLE_BUFFERS_BIT_SGIX
public static final int GLX_SAMPLE_BUFFERS_BIT_SGIXReturned in themaskfield of a "buffer clobber" event.- See Also:
-
-
Method Details
-
nglXCreateGLXPbufferSGIX
public static long nglXCreateGLXPbufferSGIX(long display, long config, int width, int height, long attrib_list) Unsafe version of:CreateGLXPbufferSGIX -
glXCreateGLXPbufferSGIX
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, @Nullable 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
-
nglXQueryGLXPbufferSGIX
public static void nglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value) Unsafe version of:QueryGLXPbufferSGIX -
glXQueryGLXPbufferSGIX
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
-
nglXGetSelectedEventSGIX
public static void nglXGetSelectedEventSGIX(long display, long drawable, long mask) Unsafe version of:GetSelectedEventSGIX -
glXGetSelectedEventSGIX
public static void glXGetSelectedEventSGIX(long display, long drawable, org.lwjgl.CLongBuffer 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, @Nullable int[] attrib_list) Array version of:CreateGLXPbufferSGIX -
glXQueryGLXPbufferSGIX
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value) Array version of:QueryGLXPbufferSGIX
-