Class NkMemoryStatus

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkMemoryStatus extends Struct<NkMemoryStatus> implements NativeResource

 struct nk_memory_status {
     void * memory;
     unsigned int type;
     nk_size size;
     nk_size allocated;
     nk_size needed;
     nk_size calls;
 }
  • Field Details

    • SIZEOF

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

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

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

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

      public static final int SIZE
      The struct member offsets.
    • ALLOCATED

      public static final int ALLOCATED
      The struct member offsets.
    • NEEDED

      public static final int NEEDED
      The struct member offsets.
    • CALLS

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

    • NkMemoryStatus

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