Class NkDrawNullTexture

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class NkDrawNullTexture
    extends Struct
    implements NativeResource

    Member documentation

    • texture – texture handle to a texture with a white pixel
    • uv – coordinates to a white pixel in the texture


     struct nk_draw_null_texture {
         nk_handle texture;
         struct nk_vec2 uv;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TEXTURE, UV

        The struct member offsets.
    • Constructor Detail

      • NkDrawNullTexture

        public NkDrawNullTexture​(java.nio.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.