struct nk_draw_list {
struct nk_rect clip_rect;
struct nk_vec2 circle_vtx[12];
struct nk_convert_config config;
struct nk_buffer * buffer;
struct nk_buffer * vertices;
struct nk_buffer * elements;
unsigned int element_count;
unsigned int vertex_count;
unsigned int cmd_count;
nk_size cmd_offset;
unsigned int path_count;
unsigned int path_offset;
enum nk_anti_aliasing line_AA;
enum nk_anti_aliasing shape_AA;
nk_handle userdata;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkDrawList.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | CIRCLE_VTX
The struct member offsets. |
| public static final int | CLIP_RECT
The struct member offsets. |
| public static final int | CMD_COUNT
The struct member offsets. |
| public static final int | CMD_OFFSET
The struct member offsets. |
| public static final int | CONFIG
The struct member offsets. |
| public static final int | ELEMENT_COUNT
The struct member offsets. |
| public static final int | ELEMENTS
The struct member offsets. |
| public static final int | LINE_AA
The struct member offsets. |
| public static final int | PATH_COUNT
The struct member offsets. |
| public static final int | PATH_OFFSET
The struct member offsets. |
| public static final int | SHAPE_AA
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USERDATA
The struct member offsets. |
| public static final int | VERTEX_COUNT
The struct member offsets. |
| public static final int | VERTICES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkDrawList(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkBuffer | |
| public static NkDrawList | |
| public static NkDrawList. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkDrawList | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkDrawList. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkDrawList | |
| public static NkDrawList | |
| public static NkDrawList. | |
| public static NkDrawList. | |
| public NkVec2. | |
| public NkVec2 | |
| public NkRect | |
| public int | |
| public long | |
| public NkConvertConfig | |
| protected NkDrawList | 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 NkDrawList | |
| public static NkDrawList | |
| public static NkDrawList. | create(int
the buffer capacity capacity)Returns a new |
| public static NkDrawList. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkDrawList | |
| public static NkDrawList. | |
| public int | |
| public NkBuffer | |
| public int | |
| public static NkDrawList | |
| public static NkDrawList. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkDrawList | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkDrawList. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkDrawList | |
| public static NkDrawList | |
| public static NkDrawList. | |
| public static NkDrawList. | |
| public static NkBuffer | |
| public static NkVec2. | |
| public static NkVec2 | |
| public static NkRect | |
| public static int | |
| public static long | |
| public static NkConvertConfig | |
| public static int | |
| public static NkBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static NkHandle | |
| public static int | |
| public static NkBuffer | |
| public int | |
| public int | |
| public int | |
| public int | |
| public NkHandle | |
| public int | |
| public NkBuffer |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| CIRCLE_VTX | back to summary |
|---|---|
| public static final int CIRCLE_VTX The struct member offsets. | |
| CLIP_RECT | back to summary |
|---|---|
| public static final int CLIP_RECT The struct member offsets. | |
| CMD_COUNT | back to summary |
|---|---|
| public static final int CMD_COUNT The struct member offsets. | |
| CMD_OFFSET | back to summary |
|---|---|
| public static final int CMD_OFFSET The struct member offsets. | |
| CONFIG | back to summary |
|---|---|
| public static final int CONFIG The struct member offsets. | |
| ELEMENT_COUNT | back to summary |
|---|---|
| public static final int ELEMENT_COUNT The struct member offsets. | |
| ELEMENTS | back to summary |
|---|---|
| public static final int ELEMENTS The struct member offsets. | |
| LINE_AA | back to summary |
|---|---|
| public static final int LINE_AA The struct member offsets. | |
| PATH_COUNT | back to summary |
|---|---|
| public static final int PATH_COUNT The struct member offsets. | |
| PATH_OFFSET | back to summary |
|---|---|
| public static final int PATH_OFFSET The struct member offsets. | |
| SHAPE_AA | back to summary |
|---|---|
| public static final int SHAPE_AA The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USERDATA | back to summary |
|---|---|
| public static final int USERDATA The struct member offsets. | |
| VERTEX_COUNT | back to summary |
|---|---|
| public static final int VERTEX_COUNT The struct member offsets. | |
| VERTICES | back to summary |
|---|---|
| public static final int VERTICES The struct member offsets. | |
| NkDrawList | back to summary |
|---|---|
| protected NkDrawList(long address, ByteBuffer container) | |
| NkDrawList | back to summary |
|---|---|
| public NkDrawList(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| buffer | back to summary |
|---|---|
public NkBuffer buffer()
| |
| calloc | back to summary |
|---|---|
| public static NkDrawList calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkDrawList. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkDrawList calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkDrawList. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkDrawList callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkDrawList callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkDrawList. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkDrawList. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| circle_vtx | back to summary |
|---|---|
public NkVec2.
| |
| circle_vtx | back to summary |
|---|---|
public NkVec2 circle_vtx(int index)
| |
| clip_rect | back to summary |
|---|---|
public NkRect clip_rect()
| |
| cmd_count | back to summary |
|---|---|
public int cmd_count()
| |
| cmd_offset | back to summary |
|---|---|
public long cmd_offset()
| |
| config | back to summary |
|---|---|
public NkConvertConfig config()
| |
| create | back to summary |
|---|---|
| protected NkDrawList create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkDrawList create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkDrawList create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkDrawList. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkDrawList. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkDrawList createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkDrawList. Like
| |
| element_count | back to summary |
|---|---|
public int element_count()
| |
| elements | back to summary |
|---|---|
public NkBuffer elements()
| |
| line_AA | back to summary |
|---|---|
public int line_AA()
| |
| malloc | back to summary |
|---|---|
| public static NkDrawList malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkDrawList. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkDrawList malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkDrawList. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkDrawList mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkDrawList mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkDrawList. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkDrawList. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbuffer | back to summary |
|---|---|
| public static NkBuffer nbuffer(long struct) Unsafe version of
| |
| ncircle_vtx | back to summary |
|---|---|
| public static NkVec2. Unsafe version of | |
| ncircle_vtx | back to summary |
|---|---|
| public static NkVec2 ncircle_vtx(long struct, int index) Unsafe version of | |
| nclip_rect | back to summary |
|---|---|
| public static NkRect nclip_rect(long struct) Unsafe version of | |
| ncmd_count | back to summary |
|---|---|
| public static int ncmd_count(long struct) Unsafe version of | |
| ncmd_offset | back to summary |
|---|---|
| public static long ncmd_offset(long struct) Unsafe version of | |
| nconfig | back to summary |
|---|---|
| public static NkConvertConfig nconfig(long struct) Unsafe version of | |
| nelement_count | back to summary |
|---|---|
| public static int nelement_count(long struct) Unsafe version of | |
| nelements | back to summary |
|---|---|
| public static NkBuffer nelements(long struct) Unsafe version of
| |
| nline_AA | back to summary |
|---|---|
| public static int nline_AA(long struct) Unsafe version of | |
| npath_count | back to summary |
|---|---|
| public static int npath_count(long struct) Unsafe version of | |
| npath_offset | back to summary |
|---|---|
| public static int npath_offset(long struct) Unsafe version of | |
| nshape_AA | back to summary |
|---|---|
| public static int nshape_AA(long struct) Unsafe version of | |
| nuserdata | back to summary |
|---|---|
| public static NkHandle nuserdata(long struct) Unsafe version of | |
| nvertex_count | back to summary |
|---|---|
| public static int nvertex_count(long struct) Unsafe version of | |
| nvertices | back to summary |
|---|---|
| public static NkBuffer nvertices(long struct) Unsafe version of
| |
| path_count | back to summary |
|---|---|
public int path_count()
| |
| path_offset | back to summary |
|---|---|
public int path_offset()
| |
| shape_AA | back to summary |
|---|---|
public int shape_AA()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |
| vertex_count | back to summary |
|---|---|
public int vertex_count()
| |
| vertices | back to summary |
|---|---|
public NkBuffer vertices()
| |
NkDrawList structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkDrawList |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkBuffer | |
| public NkVec2. | |
| public NkVec2 | |
| public NkRect | |
| public int | |
| public long | |
| public NkConvertConfig | |
| public int | |
| public NkBuffer | |
| protected NkDrawList | |
| public int | |
| public int | |
| public int | |
| protected NkDrawList. | |
| public int | |
| public NkHandle | |
| public int | |
| public NkBuffer |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkDrawList 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) | |
| buffer | back to summary |
|---|---|
public NkBuffer buffer()
| |
| circle_vtx | back to summary |
|---|---|
public NkVec2.
| |
| circle_vtx | back to summary |
|---|---|
public NkVec2 circle_vtx(int index)
| |
| clip_rect | back to summary |
|---|---|
public NkRect clip_rect()
| |
| cmd_count | back to summary |
|---|---|
public int cmd_count()
| |
| cmd_offset | back to summary |
|---|---|
public long cmd_offset()
| |
| config | back to summary |
|---|---|
public NkConvertConfig config()
| |
| element_count | back to summary |
|---|---|
public int element_count()
| |
| elements | back to summary |
|---|---|
public NkBuffer elements()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkDrawList getElementFactory() Implements abstract org.
| |
| line_AA | back to summary |
|---|---|
public int line_AA()
| |
| path_count | back to summary |
|---|---|
public int path_count()
| |
| path_offset | back to summary |
|---|---|
public int path_offset()
| |
| self | back to summary |
|---|---|
| protected NkDrawList. Implements abstract org.
| |
| shape_AA | back to summary |
|---|---|
public int shape_AA()
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |
| vertex_count | back to summary |
|---|---|
public int vertex_count()
| |
| vertices | back to summary |
|---|---|
public NkBuffer vertices()
| |