Class NkConvertConfig

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkConvertConfig extends Struct<NkConvertConfig> implements NativeResource

 struct nk_convert_config {
     float global_alpha;
     enum nk_anti_aliasing line_AA;
     enum nk_anti_aliasing shape_AA;
     unsigned int circle_segment_count;
     unsigned int arc_segment_count;
     unsigned int curve_segment_count;
     {@link NkDrawNullTexture struct nk_draw_null_texture} tex_null;
     {@link NkDrawVertexLayoutElement struct nk_draw_vertex_layout_element} * vertex_layout;
     nk_size vertex_size;
     nk_size vertex_alignment;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int GLOBAL_ALPHA
      The struct member offsets.
    • LINE_AA

      public static final int LINE_AA
      The struct member offsets.
    • SHAPE_AA

      public static final int SHAPE_AA
      The struct member offsets.
    • CIRCLE_SEGMENT_COUNT

      public static final int CIRCLE_SEGMENT_COUNT
      The struct member offsets.
    • ARC_SEGMENT_COUNT

      public static final int ARC_SEGMENT_COUNT
      The struct member offsets.
    • CURVE_SEGMENT_COUNT

      public static final int CURVE_SEGMENT_COUNT
      The struct member offsets.
    • TEX_NULL

      public static final int TEX_NULL
      The struct member offsets.
    • VERTEX_LAYOUT

      public static final int VERTEX_LAYOUT
      The struct member offsets.
    • VERTEX_SIZE

      public static final int VERTEX_SIZE
      The struct member offsets.
    • VERTEX_ALIGNMENT

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

    • NkConvertConfig

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