Package org.lwjgl.assimp
Class AIScene.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIScene,AIScene.Buffer>
-
- org.lwjgl.assimp.AIScene.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AIScene>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AIScene
public static class AIScene.Buffer extends org.lwjgl.system.StructBuffer<AIScene,AIScene.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIScenestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffermAnimations()AIScene.BuffermAnimations(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mAnimations()field.org.lwjgl.PointerBuffermCameras()AIScene.BuffermCameras(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mCameras()field.intmFlags()AIScene.BuffermFlags(int value)Sets the specified value to theAIScene.mFlags()field.org.lwjgl.PointerBuffermLights()AIScene.BuffermLights(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mLights()field.org.lwjgl.PointerBuffermMaterials()AIScene.BuffermMaterials(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mMaterials()field.org.lwjgl.PointerBuffermMeshes()AIScene.BuffermMeshes(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mMeshes()field.AIMetaDatamMetaData()AIScene.BuffermMetaData(AIMetaData value)Sets the address of the specifiedAIMetaDatato theAIScene.mMetaData()field.AIStringmName()AIScene.BuffermName(java.util.function.Consumer<AIString> consumer)Passes theAIScene.mName()field to the specifiedConsumer.AIScene.BuffermName(AIString value)Copies the specifiedAIStringto theAIScene.mName()field.intmNumAnimations()intmNumCameras()intmNumLights()intmNumMaterials()intmNumMeshes()intmNumTextures()AINodemRootNode()AIScene.BuffermRootNode(AINode value)Sets the address of the specifiedAINodeto theAIScene.mRootNode()field.org.lwjgl.PointerBuffermTextures()AIScene.BuffermTextures(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theAIScene.mTextures()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIScene.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 byAIScene.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
-
mFlags
public int mFlags()
- Returns:
- the value of the
AIScene.mFlags()field.
-
mRootNode
@Nullable public AINode mRootNode()
- Returns:
- a
AINodeview of the struct pointed to by theAIScene.mRootNode()field.
-
mNumMeshes
public int mNumMeshes()
- Returns:
- the value of the
AIScene.mNumMeshes()field.
-
mMeshes
@Nullable public org.lwjgl.PointerBuffer mMeshes()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mMeshes()field.
-
mNumMaterials
public int mNumMaterials()
- Returns:
- the value of the
AIScene.mNumMaterials()field.
-
mMaterials
@Nullable public org.lwjgl.PointerBuffer mMaterials()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mMaterials()field.
-
mNumAnimations
public int mNumAnimations()
- Returns:
- the value of the
AIScene.mNumAnimations()field.
-
mAnimations
@Nullable public org.lwjgl.PointerBuffer mAnimations()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mAnimations()field.
-
mNumTextures
public int mNumTextures()
- Returns:
- the value of the
AIScene.mNumTextures()field.
-
mTextures
@Nullable public org.lwjgl.PointerBuffer mTextures()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mTextures()field.
-
mNumLights
public int mNumLights()
- Returns:
- the value of the
AIScene.mNumLights()field.
-
mLights
@Nullable public org.lwjgl.PointerBuffer mLights()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mLights()field.
-
mNumCameras
public int mNumCameras()
- Returns:
- the value of the
AIScene.mNumCameras()field.
-
mCameras
@Nullable public org.lwjgl.PointerBuffer mCameras()
- Returns:
- a
PointerBufferview of the data pointed to by theAIScene.mCameras()field.
-
mMetaData
@Nullable public AIMetaData mMetaData()
- Returns:
- a
AIMetaDataview of the struct pointed to by theAIScene.mMetaData()field.
-
mName
public AIString mName()
- Returns:
- a
AIStringview of theAIScene.mName()field.
-
mFlags
public AIScene.Buffer mFlags(int value)
Sets the specified value to theAIScene.mFlags()field.
-
mRootNode
public AIScene.Buffer mRootNode(@Nullable AINode value)
Sets the address of the specifiedAINodeto theAIScene.mRootNode()field.
-
mMeshes
public AIScene.Buffer mMeshes(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mMeshes()field.
-
mMaterials
public AIScene.Buffer mMaterials(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mMaterials()field.
-
mAnimations
public AIScene.Buffer mAnimations(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mAnimations()field.
-
mTextures
public AIScene.Buffer mTextures(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mTextures()field.
-
mLights
public AIScene.Buffer mLights(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mLights()field.
-
mCameras
public AIScene.Buffer mCameras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theAIScene.mCameras()field.
-
mMetaData
public AIScene.Buffer mMetaData(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaDatato theAIScene.mMetaData()field.
-
mName
public AIScene.Buffer mName(AIString value)
Copies the specifiedAIStringto theAIScene.mName()field.
-
mName
public AIScene.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes theAIScene.mName()field to the specifiedConsumer.
-
-