Class NkInput

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkInput extends Struct<NkInput> implements NativeResource

Layout


 struct nk_input {
     struct nk_keyboard keyboard;
     struct nk_mouse mouse;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int KEYBOARD
      The struct member offsets.
    • MOUSE

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

    • NkInput

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