Top Description Inners Fields Constructors Methods
org.lwjgl.nuklear

public Class NkDrawList

extends Struct<NkDrawList>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct nk_draw_list
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
NkDrawList.Buffer

An array of NkDrawList structs.

Field Summary

Modifier and TypeField 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.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
NkDrawList(long address, ByteBuffer container)

public
NkDrawList(ByteBuffer container)

Creates a NkDrawList instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the buffer field.
buffer
()

public static NkDrawList
calloc()

Returns a new NkDrawList instance allocated with memCalloc.

public static NkDrawList.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new NkDrawList.Buffer instance allocated with memCalloc.

public static NkDrawList
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new NkDrawList instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static NkDrawList.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new NkDrawList.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static NkDrawList
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public NkVec2.Buffer

Returns:

a NkVec2.Buffer view of the circle_vtx field.
circle_vtx
()

public NkVec2

Returns:

a NkVec2 view of the struct at the specified index of the circle_vtx field.
circle_vtx
(int index)

public NkRect

Returns:

a NkRect view of the clip_rect field.
clip_rect
()

public int

Returns:

the value of the cmd_count field.
cmd_count
()

public long

Returns:

the value of the cmd_offset field.
cmd_offset
()

public NkConvertConfig

Returns:

a NkConvertConfig view of the config field.
config
()

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.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static NkDrawList
create()

Returns a new NkDrawList instance allocated with BufferUtils.

public static NkDrawList
create(long address)

Returns a new NkDrawList instance for the specified memory address.

public static NkDrawList.Buffer
create(int
the buffer capacity
capacity
)

Returns a new NkDrawList.Buffer instance allocated with BufferUtils.

public static NkDrawList.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a NkDrawList.Buffer instance at the specified memory.

public static NkDrawList
createSafe(long address)

Like create, but returns null if address is NULL.

public static NkDrawList.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int

Returns:

the value of the element_count field.
element_count
()

public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the elements field.
elements
()

public int

Returns:

the value of the line_AA field.
line_AA
()

public static NkDrawList
malloc()

Returns a new NkDrawList instance allocated with memAlloc.

public static NkDrawList.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new NkDrawList.Buffer instance allocated with memAlloc.

public static NkDrawList
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new NkDrawList instance allocated on the specified MemoryStack.

public static NkDrawList.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new NkDrawList.Buffer instance allocated on the specified MemoryStack.

public static NkDrawList
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static NkDrawList.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static NkBuffer
nbuffer(long struct)

Unsafe version of buffer.

public static NkVec2.Buffer
ncircle_vtx(long struct)

Unsafe version of circle_vtx.

public static NkVec2
ncircle_vtx(long struct, int index)

Unsafe version of circle_vtx.

public static NkRect
nclip_rect(long struct)

Unsafe version of clip_rect.

public static int
ncmd_count(long struct)

Unsafe version of cmd_count.

public static long
ncmd_offset(long struct)

Unsafe version of cmd_offset.

public static NkConvertConfig
nconfig(long struct)

Unsafe version of config.

public static int
nelement_count(long struct)

Unsafe version of element_count.

public static NkBuffer
nelements(long struct)

Unsafe version of elements.

public static int
nline_AA(long struct)

Unsafe version of line_AA.

public static int
npath_count(long struct)

Unsafe version of path_count.

public static int
npath_offset(long struct)

Unsafe version of path_offset.

public static int
nshape_AA(long struct)

Unsafe version of shape_AA.

public static NkHandle
nuserdata(long struct)

Unsafe version of userdata.

public static int
nvertex_count(long struct)

Unsafe version of vertex_count.

public static NkBuffer
nvertices(long struct)

Unsafe version of vertices.

public int

Returns:

the value of the path_count field.
path_count
()

public int

Returns:

the value of the path_offset field.
path_offset
()

public int

Returns:

the value of the shape_AA field.
shape_AA
()

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public NkHandle

Returns:

a NkHandle view of the userdata field.
userdata
()

public int

Returns:

the value of the vertex_count field.
vertex_count
()

public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the vertices field.
vertices
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BUFFERback to summary
public static final int BUFFER

The struct member offsets.

CIRCLE_VTXback to summary
public static final int CIRCLE_VTX

The struct member offsets.

CLIP_RECTback to summary
public static final int CLIP_RECT

The struct member offsets.

CMD_COUNTback to summary
public static final int CMD_COUNT

The struct member offsets.

CMD_OFFSETback to summary
public static final int CMD_OFFSET

The struct member offsets.

CONFIGback to summary
public static final int CONFIG

The struct member offsets.

ELEMENT_COUNTback to summary
public static final int ELEMENT_COUNT

The struct member offsets.

ELEMENTSback to summary
public static final int ELEMENTS

The struct member offsets.

LINE_AAback to summary
public static final int LINE_AA

The struct member offsets.

PATH_COUNTback to summary
public static final int PATH_COUNT

The struct member offsets.

PATH_OFFSETback to summary
public static final int PATH_OFFSET

The struct member offsets.

SHAPE_AAback to summary
public static final int SHAPE_AA

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

USERDATAback to summary
public static final int USERDATA

The struct member offsets.

VERTEX_COUNTback to summary
public static final int VERTEX_COUNT

The struct member offsets.

VERTICESback to summary
public static final int VERTICES

The struct member offsets.

Constructor Detail

NkDrawListback to summary
protected NkDrawList(long address, ByteBuffer container)
NkDrawListback to summary
public NkDrawList(ByteBuffer container)

Creates a NkDrawList 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.

Method Detail

bufferback to summary
public NkBuffer buffer()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the buffer field.

Annotations
@Nullable
@NativeType:struct nk_buffer *
callocback to summary
public static NkDrawList calloc()

Returns a new NkDrawList instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static NkDrawList.Buffer calloc(int capacity)

Returns a new NkDrawList.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static NkDrawList calloc(MemoryStack stack)

Returns a new NkDrawList instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static NkDrawList.Buffer calloc(int capacity, MemoryStack stack)

Returns a new NkDrawList.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static NkDrawList callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static NkDrawList callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static NkDrawList.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static NkDrawList.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
circle_vtxback to summary
public NkVec2.Buffer circle_vtx()
Returns:NkVec2.Buffer

a NkVec2.Buffer view of the circle_vtx field.

Annotations
@NativeType:struct nk_vec2[12]
circle_vtxback to summary
public NkVec2 circle_vtx(int index)
Returns:NkVec2

a NkVec2 view of the struct at the specified index of the circle_vtx field.

Annotations
@NativeType:struct nk_vec2
clip_rectback to summary
public NkRect clip_rect()
Returns:NkRect

a NkRect view of the clip_rect field.

Annotations
@NativeType:struct nk_rect
cmd_countback to summary
public int cmd_count()
Returns:int

the value of the cmd_count field.

Annotations
@NativeType:unsigned int
cmd_offsetback to summary
public long cmd_offset()
Returns:long

the value of the cmd_offset field.

Annotations
@NativeType:nk_size
configback to summary
public NkConvertConfig config()
Returns:NkConvertConfig

a NkConvertConfig view of the config field.

Annotations
@NativeType:struct nk_convert_config
createback to summary
protected NkDrawList create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static NkDrawList create()

Returns a new NkDrawList instance allocated with BufferUtils.

createback to summary
public static NkDrawList create(long address)

Returns a new NkDrawList instance for the specified memory address.

createback to summary
public static NkDrawList.Buffer create(int capacity)

Returns a new NkDrawList.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static NkDrawList.Buffer create(long address, int capacity)

Create a NkDrawList.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static NkDrawList createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static NkDrawList.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
element_countback to summary
public int element_count()
Returns:int

the value of the element_count field.

Annotations
@NativeType:unsigned int
elementsback to summary
public NkBuffer elements()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the elements field.

Annotations
@Nullable
@NativeType:struct nk_buffer *
line_AAback to summary
public int line_AA()
Returns:int

the value of the line_AA field.

Annotations
@NativeType:enum nk_anti_aliasing
mallocback to summary
public static NkDrawList malloc()

Returns a new NkDrawList instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static NkDrawList.Buffer malloc(int capacity)

Returns a new NkDrawList.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static NkDrawList malloc(MemoryStack stack)

Returns a new NkDrawList instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static NkDrawList.Buffer malloc(int capacity, MemoryStack stack)

Returns a new NkDrawList.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static NkDrawList mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static NkDrawList mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static NkDrawList.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static NkDrawList.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nbufferback to summary
public static NkBuffer nbuffer(long struct)

Unsafe version of buffer.

Annotations
@Nullable
ncircle_vtxback to summary
public static NkVec2.Buffer ncircle_vtx(long struct)

Unsafe version of circle_vtx.

ncircle_vtxback to summary
public static NkVec2 ncircle_vtx(long struct, int index)

Unsafe version of circle_vtx.

nclip_rectback to summary
public static NkRect nclip_rect(long struct)

Unsafe version of clip_rect.

ncmd_countback to summary
public static int ncmd_count(long struct)

Unsafe version of cmd_count.

ncmd_offsetback to summary
public static long ncmd_offset(long struct)

Unsafe version of cmd_offset.

nconfigback to summary
public static NkConvertConfig nconfig(long struct)

Unsafe version of config.

nelement_countback to summary
public static int nelement_count(long struct)

Unsafe version of element_count.

nelementsback to summary
public static NkBuffer nelements(long struct)

Unsafe version of elements.

Annotations
@Nullable
nline_AAback to summary
public static int nline_AA(long struct)

Unsafe version of line_AA.

npath_countback to summary
public static int npath_count(long struct)

Unsafe version of path_count.

npath_offsetback to summary
public static int npath_offset(long struct)

Unsafe version of path_offset.

nshape_AAback to summary
public static int nshape_AA(long struct)

Unsafe version of shape_AA.

nuserdataback to summary
public static NkHandle nuserdata(long struct)

Unsafe version of userdata.

nvertex_countback to summary
public static int nvertex_count(long struct)

Unsafe version of vertex_count.

nverticesback to summary
public static NkBuffer nvertices(long struct)

Unsafe version of vertices.

Annotations
@Nullable
path_countback to summary
public int path_count()
Returns:int

the value of the path_count field.

Annotations
@NativeType:unsigned int
path_offsetback to summary
public int path_offset()
Returns:int

the value of the path_offset field.

Annotations
@NativeType:unsigned int
shape_AAback to summary
public int shape_AA()
Returns:int

the value of the shape_AA field.

Annotations
@NativeType:enum nk_anti_aliasing
sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
userdataback to summary
public NkHandle userdata()
Returns:NkHandle

a NkHandle view of the userdata field.

Annotations
@NativeType:nk_handle
vertex_countback to summary
public int vertex_count()
Returns:int

the value of the vertex_count field.

Annotations
@NativeType:unsigned int
verticesback to summary
public NkBuffer vertices()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the vertices field.

Annotations
@Nullable
@NativeType:struct nk_buffer *
org.lwjgl.nuklear back to summary

public Class NkDrawList.Buffer

extends StructBuffer<NkDrawList, NkDrawList.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of NkDrawList structs.

Field Summary

Modifier and TypeField and Description
private static final NkDrawList

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new NkDrawList.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the buffer field.
buffer
()

public NkVec2.Buffer

Returns:

a NkVec2.Buffer view of the circle_vtx field.
circle_vtx
()

public NkVec2

Returns:

a NkVec2 view of the struct at the specified index of the circle_vtx field.
circle_vtx
(int index)

public NkRect

Returns:

a NkRect view of the clip_rect field.
clip_rect
()

public int

Returns:

the value of the cmd_count field.
cmd_count
()

public long

Returns:

the value of the cmd_offset field.
cmd_offset
()

public NkConvertConfig

Returns:

a NkConvertConfig view of the config field.
config
()

public int

Returns:

the value of the element_count field.
element_count
()

public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the elements field.
elements
()

protected NkDrawList
public int

Returns:

the value of the line_AA field.
line_AA
()

public int

Returns:

the value of the path_count field.
path_count
()

public int

Returns:

the value of the path_offset field.
path_offset
()

protected NkDrawList.Buffer
public int

Returns:

the value of the shape_AA field.
shape_AA
()

public NkHandle

Returns:

a NkHandle view of the userdata field.
userdata
()

public int

Returns:

the value of the vertex_count field.
vertex_count
()

public NkBuffer

Returns:

a NkBuffer view of the struct pointed to by the vertices field.
vertices
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final NkDrawList ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new NkDrawList.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 NkDrawList#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bufferback to summary
public NkBuffer buffer()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the buffer field.

Annotations
@Nullable
@NativeType:struct nk_buffer *
circle_vtxback to summary
public NkVec2.Buffer circle_vtx()
Returns:NkVec2.Buffer

a NkVec2.Buffer view of the circle_vtx field.

Annotations
@NativeType:struct nk_vec2[12]
circle_vtxback to summary
public NkVec2 circle_vtx(int index)
Returns:NkVec2

a NkVec2 view of the struct at the specified index of the circle_vtx field.

Annotations
@NativeType:struct nk_vec2
clip_rectback to summary
public NkRect clip_rect()
Returns:NkRect

a NkRect view of the clip_rect field.

Annotations
@NativeType:struct nk_rect
cmd_countback to summary
public int cmd_count()
Returns:int

the value of the cmd_count field.

Annotations
@NativeType:unsigned int
cmd_offsetback to summary
public long cmd_offset()
Returns:long

the value of the cmd_offset field.

Annotations
@NativeType:nk_size
configback to summary
public NkConvertConfig config()
Returns:NkConvertConfig

a NkConvertConfig view of the config field.

Annotations
@NativeType:struct nk_convert_config
element_countback to summary
public int element_count()
Returns:int

the value of the element_count field.

Annotations
@NativeType:unsigned int
elementsback to summary
public NkBuffer elements()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the elements field.

Annotations
@Nullable
@NativeType:struct nk_buffer *
getElementFactoryback to summary
protected NkDrawList getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
line_AAback to summary
public int line_AA()
Returns:int

the value of the line_AA field.

Annotations
@NativeType:enum nk_anti_aliasing
path_countback to summary
public int path_count()
Returns:int

the value of the path_count field.

Annotations
@NativeType:unsigned int
path_offsetback to summary
public int path_offset()
Returns:int

the value of the path_offset field.

Annotations
@NativeType:unsigned int
selfback to summary
protected NkDrawList.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
shape_AAback to summary
public int shape_AA()
Returns:int

the value of the shape_AA field.

Annotations
@NativeType:enum nk_anti_aliasing
userdataback to summary
public NkHandle userdata()
Returns:NkHandle

a NkHandle view of the userdata field.

Annotations
@NativeType:nk_handle
vertex_countback to summary
public int vertex_count()
Returns:int

the value of the vertex_count field.

Annotations
@NativeType:unsigned int
verticesback to summary
public NkBuffer vertices()
Returns:NkBuffer

a NkBuffer view of the struct pointed to by the vertices field.

Annotations
@Nullable
@NativeType:struct nk_buffer *