public class NkPopupBuffer
extends org.lwjgl.system.Struct
struct nk_popup_buffer {
nk_size begin;
nk_size parent;
nk_size last;
nk_size end;
int active;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NkPopupBuffer.Buffer
An array of
NkPopupBuffer structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BEGIN
The struct member offsets.
|
static int |
END
The struct member offsets.
|
static int |
LAST
The struct member offsets.
|
static int |
PARENT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
NkPopupBuffer(java.nio.ByteBuffer container)
Creates a
NkPopupBuffer instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
active()
Returns the value of the
active field. |
long |
begin()
Returns the value of the
begin field. |
static NkPopupBuffer |
create(long address)
Returns a new
NkPopupBuffer instance for the specified memory address. |
static NkPopupBuffer.Buffer |
create(long address,
int capacity)
Create a
NkPopupBuffer.Buffer instance at the specified memory. |
static NkPopupBuffer |
createSafe(long address)
|
static NkPopupBuffer.Buffer |
createSafe(long address,
int capacity)
|
long |
end()
Returns the value of the
end field. |
long |
last()
Returns the value of the
last field. |
static int |
nactive(long struct)
Unsafe version of
active(). |
static long |
nbegin(long struct)
Unsafe version of
begin(). |
static long |
nend(long struct)
Unsafe version of
end(). |
static long |
nlast(long struct)
Unsafe version of
last(). |
static long |
nparent(long struct)
Unsafe version of
parent(). |
long |
parent()
Returns the value of the
parent field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int BEGIN
public static final int PARENT
public static final int LAST
public static final int END
public static final int ACTIVE
public NkPopupBuffer(java.nio.ByteBuffer container)
NkPopupBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic long begin()
begin field.public long parent()
parent field.public long last()
last field.public long end()
end field.public int active()
active field.public static NkPopupBuffer create(long address)
NkPopupBuffer instance for the specified memory address.@Nullable public static NkPopupBuffer createSafe(long address)
public static NkPopupBuffer.Buffer create(long address, int capacity)
NkPopupBuffer.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NkPopupBuffer.Buffer createSafe(long address, int capacity)
public static long nbegin(long struct)
begin().public static long nparent(long struct)
parent().public static long nlast(long struct)
last().public static long nend(long struct)
end().public static int nactive(long struct)
active().Copyright LWJGL. All Rights Reserved. License terms.