Class ActionSet

java.lang.Object
gaiasky.vr.openxr.input.actionsets.ActionSet
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
GaiaSkyActionSet

public abstract class ActionSet extends Object implements AutoCloseable
  • Field Details

    • driver

      protected XrDriver driver
    • name

      public final String name
    • localizedName

      public final String localizedName
  • Constructor Details

    • ActionSet

      public ActionSet(String name, String localizedName, int priority)
  • Method Details

    • actions

      public abstract List<Action> actions()
    • shouldSync

      public boolean shouldSync()
    • getDefaultBindings

      public abstract void getDefaultBindings(HashMap<String,List<oshi.util.tuples.Pair<Action,String>>> map)
    • sync

      public void sync(XrDriver driver)
    • createHandle

      public final void createHandle(XrDriver driver)
    • attachToSession

      public void attachToSession(XrDriver driver, org.lwjgl.system.MemoryStack stack)
      Attaches this (and only this) action set to the session in the driver.
      Parameters:
      driver - The driver.
      stack - The memory stack.
    • getHandle

      public final org.lwjgl.openxr.XrActionSet getHandle()
    • destroyHandles

      public final void destroyHandles()
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable