Package org.lwjgl.assimp
Class AINode.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AINode,AINode.Buffer>
-
- org.lwjgl.assimp.AINode.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AINode>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AINode
public static class AINode.Buffer extends org.lwjgl.system.StructBuffer<AINode,AINode.Buffer> implements org.lwjgl.system.NativeResource
An array ofAINodestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffermChildren()Returns aPointerBufferview of the data pointed to by themChildrenfield.AINode.BuffermChildren(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themChildrenfield.java.nio.IntBuffermMeshes()Returns aIntBufferview of the data pointed to by themMeshesfield.AINode.BuffermMeshes(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto themMeshesfield.AIMetaDatamMetadata()Returns aAIMetaDataview of the struct pointed to by themMetadatafield.AINode.BuffermMetadata(AIMetaData value)Sets the address of the specifiedAIMetaDatato themMetadatafield.AIStringmName()Returns aAIStringview of themNamefield.AINode.BuffermName(java.util.function.Consumer<AIString> consumer)Passes themNamefield to the specifiedConsumer.AINode.BuffermName(AIString value)Copies the specifiedAIStringto themNamefield.intmNumChildren()Returns the value of themNumChildrenfield.intmNumMeshes()Returns the value of themNumMeshesfield.AINodemParent()Returns aAINodeview of the struct pointed to by themParentfield.AINode.BuffermParent(AINode value)Sets the address of the specifiedAINodeto themParentfield.AIMatrix4x4mTransformation()Returns aAIMatrix4x4view of themTransformationfield.AINode.BuffermTransformation(java.util.function.Consumer<AIMatrix4x4> consumer)Passes themTransformationfield to the specifiedConsumer.AINode.BuffermTransformation(AIMatrix4x4 value)Copies the specifiedAIMatrix4x4to themTransformationfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAINode.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 byAINode.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
-
mTransformation
public AIMatrix4x4 mTransformation()
Returns aAIMatrix4x4view of themTransformationfield.
-
mParent
@Nullable public AINode mParent()
Returns aAINodeview of the struct pointed to by themParentfield.
-
mNumChildren
public int mNumChildren()
Returns the value of themNumChildrenfield.
-
mChildren
@Nullable public org.lwjgl.PointerBuffer mChildren()
Returns aPointerBufferview of the data pointed to by themChildrenfield.
-
mNumMeshes
public int mNumMeshes()
Returns the value of themNumMeshesfield.
-
mMeshes
@Nullable public java.nio.IntBuffer mMeshes()
Returns aIntBufferview of the data pointed to by themMeshesfield.
-
mMetadata
@Nullable public AIMetaData mMetadata()
Returns aAIMetaDataview of the struct pointed to by themMetadatafield.
-
mName
public AINode.Buffer mName(AIString value)
Copies the specifiedAIStringto themNamefield.
-
mName
public AINode.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes themNamefield to the specifiedConsumer.
-
mTransformation
public AINode.Buffer mTransformation(AIMatrix4x4 value)
Copies the specifiedAIMatrix4x4to themTransformationfield.
-
mTransformation
public AINode.Buffer mTransformation(java.util.function.Consumer<AIMatrix4x4> consumer)
Passes themTransformationfield to the specifiedConsumer.
-
mParent
public AINode.Buffer mParent(@Nullable AINode value)
Sets the address of the specifiedAINodeto themParentfield.
-
mChildren
public AINode.Buffer mChildren(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themChildrenfield.
-
mMeshes
public AINode.Buffer mMeshes(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto themMeshesfield.
-
mMetadata
public AINode.Buffer mMetadata(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaDatato themMetadatafield.
-
-