public static class ParSLSpineList.Buffer extends org.lwjgl.system.StructBuffer<ParSLSpineList,ParSLSpineList.Buffer> implements org.lwjgl.system.NativeResource
ParSLSpineList structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
ParSLSpineList.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
closed()
Returns the value of the
closed field. |
ParSLSpineList.Buffer |
closed(boolean value)
Sets the specified value to the
closed field. |
short |
num_spines()
Returns the value of the
num_spines field. |
int |
num_vertices()
Returns the value of the
num_vertices field. |
java.nio.ShortBuffer |
spine_lengths()
Returns a
ShortBuffer view of the data pointed to by the spine_lengths field. |
ParSLSpineList.Buffer |
spine_lengths(java.nio.ShortBuffer value)
Sets the address of the specified
ShortBuffer to the spine_lengths field. |
ParSLPosition.Buffer |
vertices()
Returns a
ParSLPosition.Buffer view of the struct array pointed to by the vertices field. |
ParSLSpineList.Buffer |
vertices(ParSLPosition.Buffer value)
Sets the address of the specified
ParSLPosition.Buffer to the vertices field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
ParSLSpineList.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 ParSLSpineList.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 int num_vertices()
num_vertices field.public short num_spines()
num_spines field.public ParSLPosition.Buffer vertices()
ParSLPosition.Buffer view of the struct array pointed to by the vertices field.public java.nio.ShortBuffer spine_lengths()
ShortBuffer view of the data pointed to by the spine_lengths field.public boolean closed()
closed field.public ParSLSpineList.Buffer vertices(ParSLPosition.Buffer value)
ParSLPosition.Buffer to the vertices field.public ParSLSpineList.Buffer spine_lengths(java.nio.ShortBuffer value)
ShortBuffer to the spine_lengths field.public ParSLSpineList.Buffer closed(boolean value)
closed field.Copyright LWJGL. All Rights Reserved. License terms.