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()Returns aPointerBufferview of the data pointed to by themAnimationsfield.AIScene.BuffermAnimations(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themAnimationsfield.org.lwjgl.PointerBuffermCameras()Returns aPointerBufferview of the data pointed to by themCamerasfield.AIScene.BuffermCameras(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themCamerasfield.intmFlags()Returns the value of themFlagsfield.AIScene.BuffermFlags(int value)Sets the specified value to themFlagsfield.org.lwjgl.PointerBuffermLights()Returns aPointerBufferview of the data pointed to by themLightsfield.AIScene.BuffermLights(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themLightsfield.org.lwjgl.PointerBuffermMaterials()Returns aPointerBufferview of the data pointed to by themMaterialsfield.AIScene.BuffermMaterials(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themMaterialsfield.org.lwjgl.PointerBuffermMeshes()Returns aPointerBufferview of the data pointed to by themMeshesfield.AIScene.BuffermMeshes(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themMeshesfield.AIMetaDatamMetaData()Returns aAIMetaDataview of the struct pointed to by themMetaDatafield.AIScene.BuffermMetaData(AIMetaData value)Sets the address of the specifiedAIMetaDatato themMetaDatafield.intmNumAnimations()Returns the value of themNumAnimationsfield.intmNumCameras()Returns the value of themNumCamerasfield.intmNumLights()Returns the value of themNumLightsfield.intmNumMaterials()Returns the value of themNumMaterialsfield.intmNumMeshes()Returns the value of themNumMeshesfield.intmNumTextures()Returns the value of themNumTexturesfield.AINodemRootNode()Returns aAINodeview of the struct pointed to by themRootNodefield.AIScene.BuffermRootNode(AINode value)Sets the address of the specifiedAINodeto themRootNodefield.org.lwjgl.PointerBuffermTextures()Returns aPointerBufferview of the data pointed to by themTexturesfield.AIScene.BuffermTextures(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto themTexturesfield.
-
-
-
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 themFlagsfield.
-
mRootNode
@Nullable public AINode mRootNode()
Returns aAINodeview of the struct pointed to by themRootNodefield.
-
mNumMeshes
public int mNumMeshes()
Returns the value of themNumMeshesfield.
-
mMeshes
@Nullable public org.lwjgl.PointerBuffer mMeshes()
Returns aPointerBufferview of the data pointed to by themMeshesfield.
-
mNumMaterials
public int mNumMaterials()
Returns the value of themNumMaterialsfield.
-
mMaterials
@Nullable public org.lwjgl.PointerBuffer mMaterials()
Returns aPointerBufferview of the data pointed to by themMaterialsfield.
-
mNumAnimations
public int mNumAnimations()
Returns the value of themNumAnimationsfield.
-
mAnimations
@Nullable public org.lwjgl.PointerBuffer mAnimations()
Returns aPointerBufferview of the data pointed to by themAnimationsfield.
-
mNumTextures
public int mNumTextures()
Returns the value of themNumTexturesfield.
-
mTextures
@Nullable public org.lwjgl.PointerBuffer mTextures()
Returns aPointerBufferview of the data pointed to by themTexturesfield.
-
mNumLights
public int mNumLights()
Returns the value of themNumLightsfield.
-
mLights
@Nullable public org.lwjgl.PointerBuffer mLights()
Returns aPointerBufferview of the data pointed to by themLightsfield.
-
mNumCameras
public int mNumCameras()
Returns the value of themNumCamerasfield.
-
mCameras
@Nullable public org.lwjgl.PointerBuffer mCameras()
Returns aPointerBufferview of the data pointed to by themCamerasfield.
-
mMetaData
@Nullable public AIMetaData mMetaData()
Returns aAIMetaDataview of the struct pointed to by themMetaDatafield.
-
mFlags
public AIScene.Buffer mFlags(int value)
Sets the specified value to themFlagsfield.
-
mRootNode
public AIScene.Buffer mRootNode(@Nullable AINode value)
Sets the address of the specifiedAINodeto themRootNodefield.
-
mMeshes
public AIScene.Buffer mMeshes(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themMeshesfield.
-
mMaterials
public AIScene.Buffer mMaterials(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themMaterialsfield.
-
mAnimations
public AIScene.Buffer mAnimations(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themAnimationsfield.
-
mTextures
public AIScene.Buffer mTextures(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themTexturesfield.
-
mLights
public AIScene.Buffer mLights(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themLightsfield.
-
mCameras
public AIScene.Buffer mCameras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto themCamerasfield.
-
mMetaData
public AIScene.Buffer mMetaData(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaDatato themMetaDatafield.
-
-