Class NkDrawNullTexture

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkDrawNullTexture extends Struct<NkDrawNullTexture> implements NativeResource

 struct nk_draw_null_texture {
     nk_handle texture;
     struct nk_vec2 uv;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TEXTURE
      The struct member offsets.
    • UV

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

    • NkDrawNullTexture

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