public static class STBTTVertex.Buffer extends org.lwjgl.system.StructBuffer<STBTTVertex,STBTTVertex.Buffer> implements org.lwjgl.system.NativeResource
STBTTVertex structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
STBTTVertex.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
short |
cx()
Returns the value of the
cx field. |
short |
cx1()
Returns the value of the
cx1 field. |
short |
cy()
Returns the value of the
cy field. |
short |
cy1()
Returns the value of the
cy1 field. |
byte |
type()
Returns the value of the
type field. |
short |
x()
Returns the value of the
x field. |
short |
y()
Returns the value of the
y field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
STBTTVertex.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 STBTTVertex.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 short x()
x field.public short y()
y field.public short cx()
cx field.public short cy()
cy field.public short cx1()
cx1 field.public short cy1()
cy1 field.public byte type()
type field.Copyright LWJGL. All Rights Reserved. License terms.