Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GLXSGIXPbuffer

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GLX_ACCUM_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_AUX_BUFFERS_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_BACK_LEFT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_BACK_RIGHT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_BUFFER_CLOBBER_MASK_SGIX

Accepted by the mask parameter of SelectEventSGIX and returned in the mask parameter of GetSelectedEventSGIX.

public static final int
GLX_DAMAGED_SGIX

Returned in the event_type field of a "buffer clobber" event.

public static final int
GLX_DEPTH_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_EVENT_MASK_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

public static final int
GLX_FRONT_LEFT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_FRONT_RIGHT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_HEIGHT_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

public static final int
GLX_LARGEST_PBUFFER_SGIX

Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.

public static final int
GLX_MAX_PBUFFER_HEIGHT_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_MAX_PBUFFER_PIXELS_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_MAX_PBUFFER_WIDTH_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_OPTIMAL_PBUFFER_WIDTH_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

public static final int
GLX_PBUFFER_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

public static final int
GLX_PBUFFER_SGIX

Returned in the draw_type field of a "buffer clobber" event.

public static final int
GLX_PRESERVED_CONTENTS_SGIX

Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.

public static final int
GLX_SAMPLE_BUFFERS_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_SAVED_SGIX

Returned in the event_type field of a "buffer clobber" event.

public static final int
GLX_STENCIL_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

public static final int
GLX_WIDTH_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

public static final int
GLX_WINDOW_SGIX

Returned in the draw_type field of a "buffer clobber" event.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
glXCreateGLXPbufferSGIX(long
the connection to the X server
display
,
long
the GLXFBConfig
config
,
int
the pbuffer width
width
,
int
the pbuffer height
height
,
IntBuffer
an optional null-terminated list of attributes
attrib_list
)

Creates a single GLXPbuffer and returns its XID.

public static long
glXCreateGLXPbufferSGIX(long display, long config, int width, int height, int[] attrib_list)

Array version of: CreateGLXPbufferSGIX

public static void
glXDestroyGLXPbufferSGIX(long
the connection to the X server
display
,
long
the pbuffer to destroy
pbuf
)

Destroys a GLXPbuffer.

public static void
glXGetSelectedEventSGIX(long
the connection to the X server
display
,
long
the GLXDrawable
drawable
,
CLongBuffer
returns the selection mask
mask
)

Returns which GLX events are selected for a GLXdrawable.

public static void
glXQueryGLXPbufferSGIX(long
the connection to the X server
display
,
long
the pbuffer being queried
pbuf
,
int
the attribute to query
attribute
,
IntBuffer
returns the attribute value
value
)

Queries an attribute associated with a GLXPbuffer.

public static void
glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value)

Array version of: QueryGLXPbufferSGIX

public static void
glXSelectEventSGIX(long
the connection to the X server
display
,
long
the GLXDrawable
drawable
,
long
the selection mask
mask
)

Selects which GLX events should be received on a GLXdrawable.

public static long
nglXCreateGLXPbufferSGIX(long display, long config, int width, int height, long attrib_list)

Unsafe version of: CreateGLXPbufferSGIX

public static void
nglXGetSelectedEventSGIX(long display, long drawable, long mask)

Unsafe version of: GetSelectedEventSGIX

public static void
nglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value)

Unsafe version of: QueryGLXPbufferSGIX

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GLX_ACCUM_BUFFER_BIT_SGIXback to summary
public static final int GLX_ACCUM_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_AUX_BUFFERS_BIT_SGIXback to summary
public static final int GLX_AUX_BUFFERS_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_BACK_LEFT_BUFFER_BIT_SGIXback to summary
public static final int GLX_BACK_LEFT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_BACK_RIGHT_BUFFER_BIT_SGIXback to summary
public static final int GLX_BACK_RIGHT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_BUFFER_CLOBBER_MASK_SGIXback to summary
public static final int GLX_BUFFER_CLOBBER_MASK_SGIX

Accepted by the mask parameter of SelectEventSGIX and returned in the mask parameter of GetSelectedEventSGIX.

GLX_DAMAGED_SGIXback to summary
public static final int GLX_DAMAGED_SGIX

Returned in the event_type field of a "buffer clobber" event.

GLX_DEPTH_BUFFER_BIT_SGIXback to summary
public static final int GLX_DEPTH_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_EVENT_MASK_SGIXback to summary
public static final int GLX_EVENT_MASK_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

GLX_FRONT_LEFT_BUFFER_BIT_SGIXback to summary
public static final int GLX_FRONT_LEFT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_FRONT_RIGHT_BUFFER_BIT_SGIXback to summary
public static final int GLX_FRONT_RIGHT_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_HEIGHT_SGIXback to summary
public static final int GLX_HEIGHT_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

GLX_LARGEST_PBUFFER_SGIXback to summary
public static final int GLX_LARGEST_PBUFFER_SGIX

Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.

GLX_MAX_PBUFFER_HEIGHT_SGIXback to summary
public static final int GLX_MAX_PBUFFER_HEIGHT_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_MAX_PBUFFER_PIXELS_SGIXback to summary
public static final int GLX_MAX_PBUFFER_PIXELS_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_MAX_PBUFFER_WIDTH_SGIXback to summary
public static final int GLX_MAX_PBUFFER_WIDTH_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_OPTIMAL_PBUFFER_HEIGHT_SGIXback to summary
public static final int GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_OPTIMAL_PBUFFER_WIDTH_SGIXback to summary
public static final int GLX_OPTIMAL_PBUFFER_WIDTH_SGIX

Accepted by the attribute parameter of GetFBConfigAttribSGIX.

GLX_PBUFFER_BIT_SGIXback to summary
public static final int GLX_PBUFFER_BIT_SGIX

Returned by GetFBConfigAttribSGIX (when attribute is set to DRAWABLE_TYPE_SGIX) and accepted by the attrib_list parameter of ChooseFBConfigSGIX (following the DRAWABLE_TYPE_SGIX token).

GLX_PBUFFER_SGIXback to summary
public static final int GLX_PBUFFER_SGIX

Returned in the draw_type field of a "buffer clobber" event.

GLX_PRESERVED_CONTENTS_SGIXback to summary
public static final int GLX_PRESERVED_CONTENTS_SGIX

Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.

GLX_SAMPLE_BUFFERS_BIT_SGIXback to summary
public static final int GLX_SAMPLE_BUFFERS_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_SAVED_SGIXback to summary
public static final int GLX_SAVED_SGIX

Returned in the event_type field of a "buffer clobber" event.

GLX_STENCIL_BUFFER_BIT_SGIXback to summary
public static final int GLX_STENCIL_BUFFER_BIT_SGIX

Returned in the mask field of a "buffer clobber" event.

GLX_WIDTH_SGIXback to summary
public static final int GLX_WIDTH_SGIX

Accepted by the attribute parameter of QueryGLXPbufferSGIX.

GLX_WINDOW_SGIXback to summary
public static final int GLX_WINDOW_SGIX

Returned in the draw_type field of a "buffer clobber" event.

Constructor Detail

GLXSGIXPbufferback to summary
protected GLXSGIXPbuffer()

Method Detail

glXCreateGLXPbufferSGIXback to summary
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, IntBuffer attrib_list)

Creates a single GLXPbuffer and returns its XID.

Parameters
display:long

the connection to the X server

config:long

the GLXFBConfig

width:int

the pbuffer width

height:int

the pbuffer height

attrib_list:IntBuffer

an optional null-terminated list of attributes

Annotations
@NativeType:GLXPbuffer
glXCreateGLXPbufferSGIXback to summary
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, int[] attrib_list)

Array version of: CreateGLXPbufferSGIX

Annotations
@NativeType:GLXPbuffer
glXDestroyGLXPbufferSGIXback to summary
public static void glXDestroyGLXPbufferSGIX(long display, long pbuf)

Destroys a GLXPbuffer.

Parameters
display:long

the connection to the X server

pbuf:long

the pbuffer to destroy

glXGetSelectedEventSGIXback to summary
public static void glXGetSelectedEventSGIX(long display, long drawable, CLongBuffer mask)

Returns which GLX events are selected for a GLXdrawable.

Parameters
display:long

the connection to the X server

drawable:long

the GLXDrawable

mask:CLongBuffer

returns the selection mask

glXQueryGLXPbufferSGIXback to summary
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, IntBuffer value)

Queries an attribute associated with a GLXPbuffer.

Parameters
display:long

the connection to the X server

pbuf:long

the pbuffer being queried

attribute:int

the attribute to query

value:IntBuffer

returns the attribute value

glXQueryGLXPbufferSGIXback to summary
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value)

Array version of: QueryGLXPbufferSGIX

glXSelectEventSGIXback to summary
public static void glXSelectEventSGIX(long display, long drawable, long mask)

Selects which GLX events should be received on a GLXdrawable.

Parameters
display:long

the connection to the X server

drawable:long

the GLXDrawable

mask:long

the selection mask

nglXCreateGLXPbufferSGIXback to summary
public static long nglXCreateGLXPbufferSGIX(long display, long config, int width, int height, long attrib_list)

Unsafe version of: CreateGLXPbufferSGIX

nglXGetSelectedEventSGIXback to summary
public static void nglXGetSelectedEventSGIX(long display, long drawable, long mask)

Unsafe version of: GetSelectedEventSGIX

nglXQueryGLXPbufferSGIXback to summary
public static void nglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value)

Unsafe version of: QueryGLXPbufferSGIX