Class 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.

    • 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 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
      • 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 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
      • glXGetSelectedEventSGIX

        public static void glXGetSelectedEventSGIX(long display,
                                                   long drawable,
                                                   PointerBuffer 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,
                                                   int[] attrib_list)
        Array version of: CreateGLXPbufferSGIX
      • glXQueryGLXPbufferSGIX

        public static void glXQueryGLXPbufferSGIX(long display,
                                                  long pbuf,
                                                  int attribute,
                                                  int[] value)
        Array version of: QueryGLXPbufferSGIX