Class XrSession

  • All Implemented Interfaces:
    org.lwjgl.system.Pointer

    public class XrSession
    extends org.lwjgl.system.Pointer.Default
    Wraps an XrSession handle.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      XrSession​(long handle, org.lwjgl.openxr.XrInstance instance)
      Creates an XrSession using the specified native handle and XrInstance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XRCapabilities getCapabilities()  
      org.lwjgl.openxr.XrInstance getInstance()
      Returns the XrInstance from which this handle was created.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from class org.lwjgl.system.Pointer.Default

        address, equals, hashCode, toString
    • Constructor Detail

      • XrSession

        public XrSession​(long handle,
                         org.lwjgl.openxr.XrInstance instance)
        Creates an XrSession using the specified native handle and XrInstance.
        Parameters:
        handle - the native XrSession handle
        instance - the XrInstance from which handle was created
    • Method Detail

      • getInstance

        public org.lwjgl.openxr.XrInstance getInstance()
        Returns the XrInstance from which this handle was created.