public static class NkPropertyState.Buffer extends org.lwjgl.system.StructBuffer<NkPropertyState,NkPropertyState.Buffer>
NkPropertyState structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkPropertyState.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
active()
Returns the value of the
active field. |
java.nio.ByteBuffer |
buffer()
Returns a
ByteBuffer view of the buffer field. |
byte |
buffer(int index)
Returns the value at the specified index of the
buffer field. |
int |
cursor()
Returns the value of the
cursor field. |
int |
length()
Returns the value of the
length field. |
int |
name()
Returns the value of the
name field. |
int |
old()
Returns the value of the
old field. |
int |
prev()
Returns the value of the
prev field. |
int |
select_end()
Returns the value of the
select_end field. |
int |
select_start()
Returns the value of the
select_start field. |
int |
seq()
Returns the value of the
seq field. |
int |
state()
Returns the value of the
state field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkPropertyState.Buffer instance 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 NkPropertyState.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int active()
active field.public int prev()
prev field.public java.nio.ByteBuffer buffer()
ByteBuffer view of the buffer field.public byte buffer(int index)
buffer field.public int length()
length field.public int cursor()
cursor field.public int select_start()
select_start field.public int select_end()
select_end field.public int name()
name field.public int seq()
seq field.public int old()
old field.public int state()
state field.Copyright LWJGL. All Rights Reserved. License terms.