Class XrGraphicsBindingOpenGLXlibKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, XDISPLAY, VISUALID, GLXFBCONFIG, GLXDRAWABLE, GLXCONTEXT

        The struct member offsets.
    • Constructor Detail

      • XrGraphicsBindingOpenGLXlibKHR

        public XrGraphicsBindingOpenGLXlibKHR​(java.nio.ByteBuffer container)
        Creates a XrGraphicsBindingOpenGLXlibKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • type

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
      • xDisplay

        public long xDisplay()
        a valid X11 Display.
      • visualid

        public int visualid()
        a valid X11 visual identifier.
      • glxFBConfig

        public long glxFBConfig()
        a valid X11 OpenGL GLX GLXFBConfig.
      • glxDrawable

        public long glxDrawable()
        a valid X11 OpenGL GLX GLXDrawable.
      • glxContext

        public long glxContext()
        a valid X11 OpenGL GLX GLXContext.
      • set

        public XrGraphicsBindingOpenGLXlibKHR set​(int type,
                                                  long next,
                                                  long xDisplay,
                                                  int visualid,
                                                  long glxFBConfig,
                                                  long glxDrawable,
                                                  long glxContext)
        Initializes this struct with the specified values.
      • malloc

        public static XrGraphicsBindingOpenGLXlibKHR malloc()
        Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static XrGraphicsBindingOpenGLXlibKHR calloc()
        Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static XrGraphicsBindingOpenGLXlibKHR create​(long address)
        Returns a new XrGraphicsBindingOpenGLXlibKHR instance for the specified memory address.
      • malloc

        public static XrGraphicsBindingOpenGLXlibKHR malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrGraphicsBindingOpenGLXlibKHR calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • nxDisplay

        public static long nxDisplay​(long struct)
        Unsafe version of xDisplay().
      • nvisualid

        public static int nvisualid​(long struct)
        Unsafe version of visualid().
      • nglxFBConfig

        public static long nglxFBConfig​(long struct)
        Unsafe version of glxFBConfig().
      • nglxDrawable

        public static long nglxDrawable​(long struct)
        Unsafe version of glxDrawable().
      • nglxContext

        public static long nglxContext​(long struct)
        Unsafe version of glxContext().
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • nxDisplay

        public static void nxDisplay​(long struct,
                                     long value)
        Unsafe version of xDisplay.
      • nvisualid

        public static void nvisualid​(long struct,
                                     int value)
        Unsafe version of visualid.
      • nglxFBConfig

        public static void nglxFBConfig​(long struct,
                                        long value)
        Unsafe version of glxFBConfig.
      • nglxDrawable

        public static void nglxDrawable​(long struct,
                                        long value)
        Unsafe version of glxDrawable.
      • nglxContext

        public static void nglxContext​(long struct,
                                       long value)
        Unsafe version of glxContext.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate