Class BNDnodeTheme

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NODESELECTEDCOLOR, WIRESCOLOR, TEXTSELECTEDCOLOR, ACTIVENODECOLOR, WIRESELECTCOLOR, NODEBACKDROPCOLOR, NOODLECURVING

        The struct member offsets.
    • Constructor Detail

      • BNDnodeTheme

        public BNDnodeTheme​(java.nio.ByteBuffer container)
        Creates a BNDnodeTheme 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • nodeSelectedColor

        public NVGColor nodeSelectedColor()
        inner color of selected node (and downarrow)
      • wiresColor

        public NVGColor wiresColor()
        outline of wires
      • textSelectedColor

        public NVGColor textSelectedColor()
        color of text label when active
      • activeNodeColor

        public NVGColor activeNodeColor()
        inner color of active node (and dragged wire)
      • wireSelectColor

        public NVGColor wireSelectColor()
        color of selected wire
      • nodeBackdropColor

        public NVGColor nodeBackdropColor()
        color of background of node
      • noodleCurving

        public int noodleCurving()
        how much a noodle curves (0 to 10)
      • set

        public BNDnodeTheme set​(BNDnodeTheme src)
        Copies the specified struct data to this struct.
        Parameters:
        src - the source struct
        Returns:
        this struct
      • malloc

        public static BNDnodeTheme malloc()
        Returns a new BNDnodeTheme instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static BNDnodeTheme calloc()
        Returns a new BNDnodeTheme instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static BNDnodeTheme create()
        Returns a new BNDnodeTheme instance allocated with BufferUtils.
      • create

        public static BNDnodeTheme create​(long address)
        Returns a new BNDnodeTheme instance for the specified memory address.
      • createSafe

        @Nullable
        public static BNDnodeTheme createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

        public static BNDnodeTheme.Buffer malloc​(int capacity)
        Returns a new BNDnodeTheme.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
        Parameters:
        capacity - the buffer capacity
      • calloc

        public static BNDnodeTheme.Buffer calloc​(int capacity)
        Returns a new BNDnodeTheme.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
        Parameters:
        capacity - the buffer capacity
      • create

        public static BNDnodeTheme.Buffer create​(long address,
                                                 int capacity)
        Create a BNDnodeTheme.Buffer instance at the specified memory.
        Parameters:
        address - the memory address
        capacity - the buffer capacity
      • createSafe

        @Nullable
        public static BNDnodeTheme.Buffer createSafe​(long address,
                                                     int capacity)
        Like create, but returns null if address is NULL.
      • mallocStack

        @Deprecated
        public static BNDnodeTheme mallocStack​(org.lwjgl.system.MemoryStack stack)
        Deprecated.
        Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
      • callocStack

        @Deprecated
        public static BNDnodeTheme callocStack​(org.lwjgl.system.MemoryStack stack)
        Deprecated.
        Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
      • malloc

        public static BNDnodeTheme malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new BNDnodeTheme instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static BNDnodeTheme calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new BNDnodeTheme instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • malloc

        public static BNDnodeTheme.Buffer malloc​(int capacity,
                                                 org.lwjgl.system.MemoryStack stack)
        Returns a new BNDnodeTheme.Buffer instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • calloc

        public static BNDnodeTheme.Buffer calloc​(int capacity,
                                                 org.lwjgl.system.MemoryStack stack)
        Returns a new BNDnodeTheme.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nnoodleCurving

        public static int nnoodleCurving​(long struct)
        Unsafe version of noodleCurving().
      • nnodeSelectedColor

        public static void nnodeSelectedColor​(long struct,
                                              NVGColor value)
        Unsafe version of nodeSelectedColor.
      • nwiresColor

        public static void nwiresColor​(long struct,
                                       NVGColor value)
        Unsafe version of wiresColor.
      • ntextSelectedColor

        public static void ntextSelectedColor​(long struct,
                                              NVGColor value)
        Unsafe version of textSelectedColor.
      • nactiveNodeColor

        public static void nactiveNodeColor​(long struct,
                                            NVGColor value)
        Unsafe version of activeNodeColor.
      • nwireSelectColor

        public static void nwireSelectColor​(long struct,
                                            NVGColor value)
        Unsafe version of wireSelectColor.
      • nnodeBackdropColor

        public static void nnodeBackdropColor​(long struct,
                                              NVGColor value)
        Unsafe version of nodeBackdropColor.
      • nnoodleCurving

        public static void nnoodleCurving​(long struct,
                                          int value)
        Unsafe version of noodleCurving.