public static class AIMeshMorphAnim.Buffer extends org.lwjgl.system.StructBuffer<AIMeshMorphAnim,AIMeshMorphAnim.Buffer> implements org.lwjgl.system.NativeResource
AIMeshMorphAnim structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIMeshMorphAnim.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
AIMeshMorphKey.Buffer |
mKeys()
Returns a
AIMeshMorphKey.Buffer view of the struct array pointed to by the mKeys field. |
AIMeshMorphAnim.Buffer |
mKeys(AIMeshMorphKey.Buffer value)
Sets the address of the specified
AIMeshMorphKey.Buffer to the mKeys field. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AIMeshMorphAnim.Buffer |
mName(AIString value)
Copies the specified
AIString to the mName field. |
AIMeshMorphAnim.Buffer |
mName(java.util.function.Consumer<AIString> consumer)
Passes the
mName field to the specified Consumer. |
int |
mNumKeys()
Returns the value of the
mNumKeys field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIMeshMorphAnim.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 AIMeshMorphAnim.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 mNumKeys()
mNumKeys field.public AIMeshMorphKey.Buffer mKeys()
AIMeshMorphKey.Buffer view of the struct array pointed to by the mKeys field.public AIMeshMorphAnim.Buffer mName(AIString value)
AIString to the mName field.public AIMeshMorphAnim.Buffer mName(java.util.function.Consumer<AIString> consumer)
mName field to the specified Consumer.public AIMeshMorphAnim.Buffer mKeys(AIMeshMorphKey.Buffer value)
AIMeshMorphKey.Buffer to the mKeys field.Copyright LWJGL. All Rights Reserved. License terms.