Class XrSession

All Implemented Interfaces:
Pointer

public class XrSession extends Pointer.Default
Wraps an XrSession handle.
  • Constructor Details

    • XrSession

      public XrSession(long handle, 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 Details

    • getInstance

      public XrInstance getInstance()
      Returns the XrInstance from which this handle was created.
    • getCapabilities

      public XRCapabilities getCapabilities()
      Returns the XRCapabilities instance associated with this dispatchable handle.