Package org.lwjgl.assimp
Class AIBone.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIBone,AIBone.Buffer>
-
- org.lwjgl.assimp.AIBone.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AIBone>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AIBone
public static class AIBone.Buffer extends org.lwjgl.system.StructBuffer<AIBone,AIBone.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIBonestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIStringmName()Returns aAIStringview of themNamefield.AIBone.BuffermName(java.util.function.Consumer<AIString> consumer)Passes themNamefield to the specifiedConsumer.AIBone.BuffermName(AIString value)Copies the specifiedAIStringto themNamefield.intmNumWeights()Returns the value of themNumWeightsfield.AIMatrix4x4mOffsetMatrix()Returns aAIMatrix4x4view of themOffsetMatrixfield.AIBone.BuffermOffsetMatrix(java.util.function.Consumer<AIMatrix4x4> consumer)Passes themOffsetMatrixfield to the specifiedConsumer.AIBone.BuffermOffsetMatrix(AIMatrix4x4 value)Copies the specifiedAIMatrix4x4to themOffsetMatrixfield.AIVertexWeight.BuffermWeights()Returns aAIVertexWeight.Bufferview of the struct array pointed to by themWeightsfield.AIBone.BuffermWeights(AIVertexWeight.Buffer value)Sets the address of the specifiedAIVertexWeight.Bufferto themWeightsfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIBone.Bufferinstance 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 byAIBone.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
mNumWeights
public int mNumWeights()
Returns the value of themNumWeightsfield.
-
mWeights
public AIVertexWeight.Buffer mWeights()
Returns aAIVertexWeight.Bufferview of the struct array pointed to by themWeightsfield.
-
mOffsetMatrix
public AIMatrix4x4 mOffsetMatrix()
Returns aAIMatrix4x4view of themOffsetMatrixfield.
-
mName
public AIBone.Buffer mName(AIString value)
Copies the specifiedAIStringto themNamefield.
-
mName
public AIBone.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes themNamefield to the specifiedConsumer.
-
mWeights
public AIBone.Buffer mWeights(AIVertexWeight.Buffer value)
Sets the address of the specifiedAIVertexWeight.Bufferto themWeightsfield.
-
mOffsetMatrix
public AIBone.Buffer mOffsetMatrix(AIMatrix4x4 value)
Copies the specifiedAIMatrix4x4to themOffsetMatrixfield.
-
mOffsetMatrix
public AIBone.Buffer mOffsetMatrix(java.util.function.Consumer<AIMatrix4x4> consumer)
Passes themOffsetMatrixfield to the specifiedConsumer.
-
-