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 ofAINode
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffer
mChildren()
Returns aPointerBuffer
view of the data pointed to by themChildren
field.AINode.Buffer
mChildren(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themChildren
field.java.nio.IntBuffer
mMeshes()
Returns aIntBuffer
view of the data pointed to by themMeshes
field.AINode.Buffer
mMeshes(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to themMeshes
field.AIMetaData
mMetadata()
Returns aAIMetaData
view of the struct pointed to by themMetadata
field.AINode.Buffer
mMetadata(AIMetaData value)
Sets the address of the specifiedAIMetaData
to themMetadata
field.AIString
mName()
Returns aAIString
view of themName
field.AINode.Buffer
mName(java.util.function.Consumer<AIString> consumer)
Passes themName
field to the specifiedConsumer
.AINode.Buffer
mName(AIString value)
Copies the specifiedAIString
to themName
field.int
mNumChildren()
Returns the value of themNumChildren
field.int
mNumMeshes()
Returns the value of themNumMeshes
field.AINode
mParent()
Returns aAINode
view of the struct pointed to by themParent
field.AINode.Buffer
mParent(AINode value)
Sets the address of the specifiedAINode
to themParent
field.AIMatrix4x4
mTransformation()
Returns aAIMatrix4x4
view of themTransformation
field.AINode.Buffer
mTransformation(java.util.function.Consumer<AIMatrix4x4> consumer)
Passes themTransformation
field to the specifiedConsumer
.AINode.Buffer
mTransformation(AIMatrix4x4 value)
Copies the specifiedAIMatrix4x4
to themTransformation
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAINode.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 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 aAIMatrix4x4
view of themTransformation
field.
-
mParent
@Nullable public AINode mParent()
Returns aAINode
view of the struct pointed to by themParent
field.
-
mNumChildren
public int mNumChildren()
Returns the value of themNumChildren
field.
-
mChildren
@Nullable public org.lwjgl.PointerBuffer mChildren()
Returns aPointerBuffer
view of the data pointed to by themChildren
field.
-
mNumMeshes
public int mNumMeshes()
Returns the value of themNumMeshes
field.
-
mMeshes
@Nullable public java.nio.IntBuffer mMeshes()
Returns aIntBuffer
view of the data pointed to by themMeshes
field.
-
mMetadata
@Nullable public AIMetaData mMetadata()
Returns aAIMetaData
view of the struct pointed to by themMetadata
field.
-
mName
public AINode.Buffer mName(AIString value)
Copies the specifiedAIString
to themName
field.
-
mName
public AINode.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes themName
field to the specifiedConsumer
.
-
mTransformation
public AINode.Buffer mTransformation(AIMatrix4x4 value)
Copies the specifiedAIMatrix4x4
to themTransformation
field.
-
mTransformation
public AINode.Buffer mTransformation(java.util.function.Consumer<AIMatrix4x4> consumer)
Passes themTransformation
field to the specifiedConsumer
.
-
mParent
public AINode.Buffer mParent(@Nullable AINode value)
Sets the address of the specifiedAINode
to themParent
field.
-
mChildren
public AINode.Buffer mChildren(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themChildren
field.
-
mMeshes
public AINode.Buffer mMeshes(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to themMeshes
field.
-
mMetadata
public AINode.Buffer mMetadata(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaData
to themMetadata
field.
-
-