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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intactive()java.nio.ByteBufferbuffer()bytebuffer(int index)intcursor()intlength()intname()intold()intprev()intselect_end()intselect_start()intseq()intstate()
-
-
-
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 the
activefield.
-
prev
public int prev()
- Returns:
- the value of the
prevfield.
-
buffer
public java.nio.ByteBuffer buffer()
- Returns:
- a
ByteBufferview of thebufferfield.
-
buffer
public byte buffer(int index)
- Returns:
- the value at the specified index of the
bufferfield.
-
length
public int length()
- Returns:
- the value of the
lengthfield.
-
cursor
public int cursor()
- Returns:
- the value of the
cursorfield.
-
select_start
public int select_start()
- Returns:
- the value of the
select_startfield.
-
select_end
public int select_end()
- Returns:
- the value of the
select_endfield.
-
name
public int name()
- Returns:
- the value of the
namefield.
-
seq
public int seq()
- Returns:
- the value of the
seqfield.
-
old
public int old()
- Returns:
- the value of the
oldfield.
-
state
public int state()
- Returns:
- the value of the
statefield.
-
-