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