Package org.lwjgl.nanovg
Class BNDnodeTheme.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<BNDnodeTheme,BNDnodeTheme.Buffer>
org.lwjgl.nanovg.BNDnodeTheme.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<BNDnodeTheme>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
BNDnodeTheme
public static class BNDnodeTheme.Buffer
extends org.lwjgl.system.StructBuffer<BNDnodeTheme,BNDnodeTheme.Buffer>
implements org.lwjgl.system.NativeResource
An array of
BNDnodeTheme structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newBNDnodeTheme.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionactiveNodeColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.activeNodeColor()field to the specifiedConsumer.activeNodeColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.activeNodeColor()field.nodeBackdropColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.nodeBackdropColor()field to the specifiedConsumer.nodeBackdropColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.nodeBackdropColor()field.nodeSelectedColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.nodeSelectedColor()field to the specifiedConsumer.nodeSelectedColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.nodeSelectedColor()field.intnoodleCurving(int value) Sets the specified value to theBNDnodeTheme.noodleCurving()field.textSelectedColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.textSelectedColor()field to the specifiedConsumer.textSelectedColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.textSelectedColor()field.wiresColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.wiresColor()field to the specifiedConsumer.wiresColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.wiresColor()field.wireSelectColor(Consumer<NVGColor> consumer) Passes theBNDnodeTheme.wireSelectColor()field to the specifiedConsumer.wireSelectColor(NVGColor value) Copies the specifiedNVGColorto theBNDnodeTheme.wireSelectColor()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newBNDnodeTheme.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
BNDnodeTheme.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
nodeSelectedColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.nodeSelectedColor()field.
-
wiresColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.wiresColor()field.
-
textSelectedColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.textSelectedColor()field.
-
activeNodeColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.activeNodeColor()field.
-
wireSelectColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.wireSelectColor()field.
-
nodeBackdropColor
- Returns:
- a
NVGColorview of theBNDnodeTheme.nodeBackdropColor()field.
-
noodleCurving
public int noodleCurving()- Returns:
- the value of the
BNDnodeTheme.noodleCurving()field.
-
nodeSelectedColor
Copies the specifiedNVGColorto theBNDnodeTheme.nodeSelectedColor()field. -
nodeSelectedColor
Passes theBNDnodeTheme.nodeSelectedColor()field to the specifiedConsumer. -
wiresColor
Copies the specifiedNVGColorto theBNDnodeTheme.wiresColor()field. -
wiresColor
Passes theBNDnodeTheme.wiresColor()field to the specifiedConsumer. -
textSelectedColor
Copies the specifiedNVGColorto theBNDnodeTheme.textSelectedColor()field. -
textSelectedColor
Passes theBNDnodeTheme.textSelectedColor()field to the specifiedConsumer. -
activeNodeColor
Copies the specifiedNVGColorto theBNDnodeTheme.activeNodeColor()field. -
activeNodeColor
Passes theBNDnodeTheme.activeNodeColor()field to the specifiedConsumer. -
wireSelectColor
Copies the specifiedNVGColorto theBNDnodeTheme.wireSelectColor()field. -
wireSelectColor
Passes theBNDnodeTheme.wireSelectColor()field to the specifiedConsumer. -
nodeBackdropColor
Copies the specifiedNVGColorto theBNDnodeTheme.nodeBackdropColor()field. -
nodeBackdropColor
Passes theBNDnodeTheme.nodeBackdropColor()field to the specifiedConsumer. -
noodleCurving
Sets the specified value to theBNDnodeTheme.noodleCurving()field.
-