Class GLXSGIXPbuffer

java.lang.Object
org.lwjgl.opengl.GLXSGIXPbuffer

public class GLXSGIXPbuffer extends 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 Details

    • GLX_MAX_PBUFFER_WIDTH_SGIX

      public static final int GLX_MAX_PBUFFER_WIDTH_SGIX
      Accepted by the attribute parameter of GetFBConfigAttribSGIX.
      See Also:
    • GLX_MAX_PBUFFER_HEIGHT_SGIX

      public static final int GLX_MAX_PBUFFER_HEIGHT_SGIX
      Accepted by the attribute parameter of GetFBConfigAttribSGIX.
      See Also:
    • GLX_MAX_PBUFFER_PIXELS_SGIX

      public static final int GLX_MAX_PBUFFER_PIXELS_SGIX
      Accepted by the attribute parameter of GetFBConfigAttribSGIX.
      See Also:
    • GLX_OPTIMAL_PBUFFER_WIDTH_SGIX

      public static final int GLX_OPTIMAL_PBUFFER_WIDTH_SGIX
      Accepted by the attribute parameter of GetFBConfigAttribSGIX.
      See Also:
    • GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX

      public static final int GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX
      Accepted by the attribute parameter of GetFBConfigAttribSGIX.
      See Also:
    • GLX_PBUFFER_BIT_SGIX

      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).
      See Also:
    • GLX_PRESERVED_CONTENTS_SGIX

      public static final int GLX_PRESERVED_CONTENTS_SGIX
      Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.
      See Also:
    • GLX_LARGEST_PBUFFER_SGIX

      public static final int GLX_LARGEST_PBUFFER_SGIX
      Accepted by the attrib_list parameter of CreateGLXPbufferSGIX and by the attribute parameter of QueryGLXPbufferSGIX.
      See Also:
    • GLX_WIDTH_SGIX

      public static final int GLX_WIDTH_SGIX
      Accepted by the attribute parameter of QueryGLXPbufferSGIX.
      See Also:
    • GLX_HEIGHT_SGIX

      public static final int GLX_HEIGHT_SGIX
      Accepted by the attribute parameter of QueryGLXPbufferSGIX.
      See Also:
    • GLX_EVENT_MASK_SGIX

      public static final int GLX_EVENT_MASK_SGIX
      Accepted by the attribute parameter of QueryGLXPbufferSGIX.
      See Also:
    • GLX_BUFFER_CLOBBER_MASK_SGIX

      public static final int GLX_BUFFER_CLOBBER_MASK_SGIX
      Accepted by the mask parameter of SelectEventSGIX and returned in the mask parameter of GetSelectedEventSGIX.
      See Also:
    • GLX_DAMAGED_SGIX

      public static final int GLX_DAMAGED_SGIX
      Returned in the event_type field of a "buffer clobber" event.
      See Also:
    • GLX_SAVED_SGIX

      public static final int GLX_SAVED_SGIX
      Returned in the event_type field of a "buffer clobber" event.
      See Also:
    • GLX_WINDOW_SGIX

      public static final int GLX_WINDOW_SGIX
      Returned in the draw_type field of a "buffer clobber" event.
      See Also:
    • GLX_PBUFFER_SGIX

      public static final int GLX_PBUFFER_SGIX
      Returned in the draw_type field of a "buffer clobber" event.
      See Also:
    • GLX_FRONT_LEFT_BUFFER_BIT_SGIX

      public static final int GLX_FRONT_LEFT_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_FRONT_RIGHT_BUFFER_BIT_SGIX

      public static final int GLX_FRONT_RIGHT_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_BACK_LEFT_BUFFER_BIT_SGIX

      public static final int GLX_BACK_LEFT_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_BACK_RIGHT_BUFFER_BIT_SGIX

      public static final int GLX_BACK_RIGHT_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_AUX_BUFFERS_BIT_SGIX

      public static final int GLX_AUX_BUFFERS_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_DEPTH_BUFFER_BIT_SGIX

      public static final int GLX_DEPTH_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_STENCIL_BUFFER_BIT_SGIX

      public static final int GLX_STENCIL_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_ACCUM_BUFFER_BIT_SGIX

      public static final int GLX_ACCUM_BUFFER_BIT_SGIX
      Returned in the mask field of a "buffer clobber" event.
      See Also:
    • GLX_SAMPLE_BUFFERS_BIT_SGIX

      public static final int GLX_SAMPLE_BUFFERS_BIT_SGIX
      Returned in the mask field 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 server
      config - the GLXFBConfig
      width - the pbuffer width
      height - the pbuffer height
      attrib_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 server
      pbuf - the pbuffer to destroy
    • nglXQueryGLXPbufferSGIX

      public static void nglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value)
      Unsafe version of: QueryGLXPbufferSGIX
    • glXQueryGLXPbufferSGIX

      public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, IntBuffer value)
      Queries an attribute associated with a GLXPbuffer.
      Parameters:
      display - the connection to the X server
      pbuf - the pbuffer being queried
      attribute - the attribute to query
      value - 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 server
      drawable - the GLXDrawable
      mask - 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, CLongBuffer mask)
      Returns which GLX events are selected for a GLXdrawable.
      Parameters:
      display - the connection to the X server
      drawable - the GLXDrawable
      mask - 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