Package org.lwjgl.ovr

Class OVRHapticsClip

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class OVRHapticsClip
    extends Struct
    implements NativeResource
    Store a full Haptics clip, which can be used as data source for multiple OVRHapticsBuffer.

    Member documentation

    • Samples – samples stored in opaque format
    • SamplesCount – number of samples


     struct ovrHapticsClip {
         void const * Samples;
         int SamplesCount;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • OVRHapticsClip

        public OVRHapticsClip​(java.nio.ByteBuffer container)
        Creates a OVRHapticsClip 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.