Package org.lwjgl.ovr

Class OVRTouchHapticsDesc

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class OVRTouchHapticsDesc extends Struct<OVRTouchHapticsDesc> implements NativeResource
Describes the Touch Haptics engine.

Layout


 struct ovrTouchHapticsDesc {
     int SampleRateHz();
     int SampleSizeInBytes();
     int QueueMinSizeToAvoidStarvation();
     int SubmitMinSamples();
     int SubmitMaxSamples();
     int SubmitOptimalSamples();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int SAMPLERATEHZ
      The struct member offsets.
    • SAMPLESIZEINBYTES

      public static final int SAMPLESIZEINBYTES
      The struct member offsets.
    • QUEUEMINSIZETOAVOIDSTARVATION

      public static final int QUEUEMINSIZETOAVOIDSTARVATION
      The struct member offsets.
    • SUBMITMINSAMPLES

      public static final int SUBMITMINSAMPLES
      The struct member offsets.
    • SUBMITMAXSAMPLES

      public static final int SUBMITMAXSAMPLES
      The struct member offsets.
    • SUBMITOPTIMALSAMPLES

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

    • OVRTouchHapticsDesc

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