Package org.lwjgl.nuklear
Class NkPropertyState.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkPropertyState,NkPropertyState.Buffer>
-
- org.lwjgl.nuklear.NkPropertyState.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<NkPropertyState>,org.lwjgl.system.Pointer
- Enclosing class:
- NkPropertyState
public static class NkPropertyState.Buffer extends org.lwjgl.system.StructBuffer<NkPropertyState,NkPropertyState.Buffer>
An array ofNkPropertyStatestructs.
-
-
Constructor Summary
Constructors Constructor Description Buffer(long address, int cap)Buffer(java.nio.ByteBuffer container)Creates a newNkPropertyState.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intactive()Returns the value of theactivefield.java.nio.ByteBufferbuffer()Returns aByteBufferview of thebufferfield.bytebuffer(int index)Returns the value at the specified index of thebufferfield.intcursor()Returns the value of thecursorfield.intlength()Returns the value of thelengthfield.intname()Returns the value of thenamefield.intold()Returns the value of theoldfield.intprev()Returns the value of theprevfield.intselect_end()Returns the value of theselect_endfield.intselect_start()Returns the value of theselect_startfield.intseq()Returns the value of theseqfield.intstate()Returns the value of thestatefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkPropertyState.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 byNkPropertyState.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 Detail
-
active
public int active()
Returns the value of theactivefield.
-
prev
public int prev()
Returns the value of theprevfield.
-
buffer
public java.nio.ByteBuffer buffer()
Returns aByteBufferview of thebufferfield.
-
buffer
public byte buffer(int index)
Returns the value at the specified index of thebufferfield.
-
length
public int length()
Returns the value of thelengthfield.
-
cursor
public int cursor()
Returns the value of thecursorfield.
-
select_start
public int select_start()
Returns the value of theselect_startfield.
-
select_end
public int select_end()
Returns the value of theselect_endfield.
-
name
public int name()
Returns the value of thenamefield.
-
seq
public int seq()
Returns the value of theseqfield.
-
old
public int old()
Returns the value of theoldfield.
-
state
public int state()
Returns the value of thestatefield.
-
-