struct nk_command_buffer {
struct nk_buffer * base;
struct nk_rect clip;
int use_clipping;
nk_handle userdata;
nk_size begin;
nk_size end;
nk_size last;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkCommandBuffer.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASE
The struct member offsets. |
| public static final int | BEGIN
The struct member offsets. |
| public static final int | CLIP
The struct member offsets. |
| public static final int | END
The struct member offsets. |
| public static final int | LAST
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USE_CLIPPING
The struct member offsets. |
| public static final int | USERDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkCommandBuffer(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkBuffer | |
| public long | |
| public NkRect | |
| protected NkCommandBuffer | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkCommandBuffer | |
| public static NkCommandBuffer. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkCommandBuffer | |
| public static NkCommandBuffer. | |
| public long | |
| public long | |
| public static NkBuffer | |
| public static long | |
| public static NkRect | |
| public static long | |
| public static long | |
| public static int | |
| public static NkHandle | |
| public int | |
| public int | |
| public NkHandle |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BASE | back to summary |
|---|---|
| public static final int BASE The struct member offsets. | |
| BEGIN | back to summary |
|---|---|
| public static final int BEGIN The struct member offsets. | |
| CLIP | back to summary |
|---|---|
| public static final int CLIP The struct member offsets. | |
| END | back to summary |
|---|---|
| public static final int END The struct member offsets. | |
| LAST | back to summary |
|---|---|
| public static final int LAST The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USE_CLIPPING | back to summary |
|---|---|
| public static final int USE_CLIPPING The struct member offsets. | |
| USERDATA | back to summary |
|---|---|
| public static final int USERDATA The struct member offsets. | |
| NkCommandBuffer | back to summary |
|---|---|
| protected NkCommandBuffer(long address, ByteBuffer container) | |
| NkCommandBuffer | back to summary |
|---|---|
| public NkCommandBuffer(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| base | back to summary |
|---|---|
public NkBuffer base()
| |
| begin | back to summary |
|---|---|
public long begin()
| |
| clip | back to summary |
|---|---|
public NkRect clip()
| |
| create | back to summary |
|---|---|
| protected NkCommandBuffer create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkCommandBuffer create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkCommandBuffer. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkCommandBuffer createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkCommandBuffer. Like
| |
| end | back to summary |
|---|---|
public long end()
| |
| last | back to summary |
|---|---|
public long last()
| |
| nbase | back to summary |
|---|---|
| public static NkBuffer nbase(long struct) Unsafe version of
| |
| nbegin | back to summary |
|---|---|
| public static long nbegin(long struct) Unsafe version of | |
| nclip | back to summary |
|---|---|
| public static NkRect nclip(long struct) Unsafe version of | |
| nend | back to summary |
|---|---|
| public static long nend(long struct) Unsafe version of | |
| nlast | back to summary |
|---|---|
| public static long nlast(long struct) Unsafe version of | |
| nuse_clipping | back to summary |
|---|---|
| public static int nuse_clipping(long struct) Unsafe version of | |
| nuserdata | back to summary |
|---|---|
| public static NkHandle nuserdata(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| use_clipping | back to summary |
|---|---|
public int use_clipping()
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |
NkCommandBuffer structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkCommandBuffer |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkBuffer | |
| public long | |
| public NkRect | |
| public long | |
| protected NkCommandBuffer | |
| public long | |
| protected NkCommandBuffer. | |
| public int | |
| public NkHandle |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkCommandBuffer ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| base | back to summary |
|---|---|
public NkBuffer base()
| |
| begin | back to summary |
|---|---|
public long begin()
| |
| clip | back to summary |
|---|---|
public NkRect clip()
| |
| end | back to summary |
|---|---|
public long end()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkCommandBuffer getElementFactory() Implements abstract org.
| |
| last | back to summary |
|---|---|
public long last()
| |
| self | back to summary |
|---|---|
| protected NkCommandBuffer. Implements abstract org.
| |
| use_clipping | back to summary |
|---|---|
public int use_clipping()
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |