Package org.lwjgl.ovr

Class OVRHapticsPlaybackState

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<OVRHapticsPlaybackState>
org.lwjgl.ovr.OVRHapticsPlaybackState
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class OVRHapticsPlaybackState extends org.lwjgl.system.Struct<OVRHapticsPlaybackState> implements org.lwjgl.system.NativeResource
State of the Haptics playback for Touch vibration.

Layout


 struct ovrHapticsPlaybackState {
     int RemainingQueueSpace();
     int SamplesQueued();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • REMAININGQUEUESPACE

      public static final int REMAININGQUEUESPACE
      The struct member offsets.
    • SAMPLESQUEUED

      public static final int SAMPLESQUEUED
      The struct member offsets.
  • Constructor Details

    • OVRHapticsPlaybackState

      public OVRHapticsPlaybackState(ByteBuffer container)
      Creates a OVRHapticsPlaybackState 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 Details