Class NkStyleItemData

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<NkStyleItemData>
org.lwjgl.nuklear.NkStyleItemData
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class NkStyleItemData extends org.lwjgl.system.Struct<NkStyleItemData> implements org.lwjgl.system.NativeResource

Layout


 union nk_style_item_data {
     struct nk_color color;
     struct nk_image image;
     struct nk_nine_slice slice;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int COLOR
      The struct member offsets.
    • IMAGE

      public static final int IMAGE
      The struct member offsets.
    • SLICE

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

    • NkStyleItemData

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