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 ofAIScene
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffer
mAnimations()
Returns aPointerBuffer
view of the data pointed to by themAnimations
field.AIScene.Buffer
mAnimations(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themAnimations
field.org.lwjgl.PointerBuffer
mCameras()
Returns aPointerBuffer
view of the data pointed to by themCameras
field.AIScene.Buffer
mCameras(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themCameras
field.int
mFlags()
Returns the value of themFlags
field.AIScene.Buffer
mFlags(int value)
Sets the specified value to themFlags
field.org.lwjgl.PointerBuffer
mLights()
Returns aPointerBuffer
view of the data pointed to by themLights
field.AIScene.Buffer
mLights(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themLights
field.org.lwjgl.PointerBuffer
mMaterials()
Returns aPointerBuffer
view of the data pointed to by themMaterials
field.AIScene.Buffer
mMaterials(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themMaterials
field.org.lwjgl.PointerBuffer
mMeshes()
Returns aPointerBuffer
view of the data pointed to by themMeshes
field.AIScene.Buffer
mMeshes(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themMeshes
field.AIMetaData
mMetaData()
Returns aAIMetaData
view of the struct pointed to by themMetaData
field.AIScene.Buffer
mMetaData(AIMetaData value)
Sets the address of the specifiedAIMetaData
to themMetaData
field.int
mNumAnimations()
Returns the value of themNumAnimations
field.int
mNumCameras()
Returns the value of themNumCameras
field.int
mNumLights()
Returns the value of themNumLights
field.int
mNumMaterials()
Returns the value of themNumMaterials
field.int
mNumMeshes()
Returns the value of themNumMeshes
field.int
mNumTextures()
Returns the value of themNumTextures
field.AINode
mRootNode()
Returns aAINode
view of the struct pointed to by themRootNode
field.AIScene.Buffer
mRootNode(AINode value)
Sets the address of the specifiedAINode
to themRootNode
field.org.lwjgl.PointerBuffer
mTextures()
Returns aPointerBuffer
view of the data pointed to by themTextures
field.AIScene.Buffer
mTextures(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themTextures
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIScene.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 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 themFlags
field.
-
mRootNode
@Nullable public AINode mRootNode()
Returns aAINode
view of the struct pointed to by themRootNode
field.
-
mNumMeshes
public int mNumMeshes()
Returns the value of themNumMeshes
field.
-
mMeshes
@Nullable public org.lwjgl.PointerBuffer mMeshes()
Returns aPointerBuffer
view of the data pointed to by themMeshes
field.
-
mNumMaterials
public int mNumMaterials()
Returns the value of themNumMaterials
field.
-
mMaterials
@Nullable public org.lwjgl.PointerBuffer mMaterials()
Returns aPointerBuffer
view of the data pointed to by themMaterials
field.
-
mNumAnimations
public int mNumAnimations()
Returns the value of themNumAnimations
field.
-
mAnimations
@Nullable public org.lwjgl.PointerBuffer mAnimations()
Returns aPointerBuffer
view of the data pointed to by themAnimations
field.
-
mNumTextures
public int mNumTextures()
Returns the value of themNumTextures
field.
-
mTextures
@Nullable public org.lwjgl.PointerBuffer mTextures()
Returns aPointerBuffer
view of the data pointed to by themTextures
field.
-
mNumLights
public int mNumLights()
Returns the value of themNumLights
field.
-
mLights
@Nullable public org.lwjgl.PointerBuffer mLights()
Returns aPointerBuffer
view of the data pointed to by themLights
field.
-
mNumCameras
public int mNumCameras()
Returns the value of themNumCameras
field.
-
mCameras
@Nullable public org.lwjgl.PointerBuffer mCameras()
Returns aPointerBuffer
view of the data pointed to by themCameras
field.
-
mMetaData
@Nullable public AIMetaData mMetaData()
Returns aAIMetaData
view of the struct pointed to by themMetaData
field.
-
mFlags
public AIScene.Buffer mFlags(int value)
Sets the specified value to themFlags
field.
-
mRootNode
public AIScene.Buffer mRootNode(@Nullable AINode value)
Sets the address of the specifiedAINode
to themRootNode
field.
-
mMeshes
public AIScene.Buffer mMeshes(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themMeshes
field.
-
mMaterials
public AIScene.Buffer mMaterials(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themMaterials
field.
-
mAnimations
public AIScene.Buffer mAnimations(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themAnimations
field.
-
mTextures
public AIScene.Buffer mTextures(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themTextures
field.
-
mLights
public AIScene.Buffer mLights(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themLights
field.
-
mCameras
public AIScene.Buffer mCameras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to themCameras
field.
-
mMetaData
public AIScene.Buffer mMetaData(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaData
to themMetaData
field.
-
-