public static class NkCommandBuffer.Buffer extends org.lwjgl.system.StructBuffer<NkCommandBuffer,NkCommandBuffer.Buffer>
NkCommandBuffer structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkCommandBuffer.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkBuffer |
base()
Returns a
NkBuffer view of the struct pointed to by the base field. |
long |
begin()
Returns the value of the
begin field. |
NkRect |
clip()
Returns a
NkRect view of the clip field. |
long |
end()
Returns the value of the
end field. |
long |
last()
Returns the value of the
last field. |
int |
use_clipping()
Returns the value of the
use_clipping field. |
NkHandle |
userdata()
Returns a
NkHandle view of the userdata field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkCommandBuffer.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 NkCommandBuffer.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)
@Nullable public NkBuffer base()
NkBuffer view of the struct pointed to by the base field.public int use_clipping()
use_clipping field.public long begin()
begin field.public long end()
end field.public long last()
last field.Copyright LWJGL. All Rights Reserved. License terms.