Package org.lwjgl.sdl

Class SDL_HapticDirection

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_HapticDirection extends Struct<SDL_HapticDirection> implements NativeResource

 struct SDL_HapticDirection {
     Uint8 type;
     Sint32 dir[3];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • DIR

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

    • SDL_HapticDirection

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