public static class NkDrawList.Buffer extends org.lwjgl.system.StructBuffer<NkDrawList,NkDrawList.Buffer> implements org.lwjgl.system.NativeResource
NkDrawList structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkDrawList.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkBuffer |
buffer()
Returns a
NkBuffer view of the struct pointed to by the buffer field. |
NkVec2.Buffer |
circle_vtx()
Returns a
NkVec2.Buffer view of the circle_vtx field. |
NkVec2 |
circle_vtx(int index)
Returns a
NkVec2 view of the struct at the specified index of the circle_vtx field. |
NkRect |
clip_rect()
Returns a
NkRect view of the clip_rect field. |
int |
cmd_count()
Returns the value of the
cmd_count field. |
long |
cmd_offset()
Returns the value of the
cmd_offset field. |
NkConvertConfig |
config()
Returns a
NkConvertConfig view of the config field. |
int |
element_count()
Returns the value of the
element_count field. |
NkBuffer |
elements()
Returns a
NkBuffer view of the struct pointed to by the elements field. |
int |
line_AA()
Returns the value of the
line_AA field. |
int |
path_count()
Returns the value of the
path_count field. |
int |
path_offset()
Returns the value of the
path_offset field. |
int |
shape_AA()
Returns the value of the
shape_AA field. |
NkHandle |
userdata()
Returns a
NkHandle view of the userdata field. |
int |
vertex_count()
Returns the value of the
vertex_count field. |
NkBuffer |
vertices()
Returns a
NkBuffer view of the struct pointed to by the vertices field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
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.
public Buffer(long address,
int cap)
public NkVec2.Buffer circle_vtx()
NkVec2.Buffer view of the circle_vtx field.public NkVec2 circle_vtx(int index)
NkVec2 view of the struct at the specified index of the circle_vtx field.public NkConvertConfig config()
NkConvertConfig view of the config field.@Nullable public NkBuffer buffer()
NkBuffer view of the struct pointed to by the buffer field.@Nullable public NkBuffer vertices()
NkBuffer view of the struct pointed to by the vertices field.@Nullable public NkBuffer elements()
NkBuffer view of the struct pointed to by the elements field.public int element_count()
element_count field.public int vertex_count()
vertex_count field.public int cmd_count()
cmd_count field.public long cmd_offset()
cmd_offset field.public int path_count()
path_count field.public int path_offset()
path_offset field.public int line_AA()
line_AA field.public int shape_AA()
shape_AA field.Copyright LWJGL. All Rights Reserved. License terms.