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()
AIScene.Buffer
mAnimations(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mAnimations()
field.org.lwjgl.PointerBuffer
mCameras()
AIScene.Buffer
mCameras(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mCameras()
field.int
mFlags()
AIScene.Buffer
mFlags(int value)
Sets the specified value to theAIScene.mFlags()
field.org.lwjgl.PointerBuffer
mLights()
AIScene.Buffer
mLights(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mLights()
field.org.lwjgl.PointerBuffer
mMaterials()
AIScene.Buffer
mMaterials(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mMaterials()
field.org.lwjgl.PointerBuffer
mMeshes()
AIScene.Buffer
mMeshes(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mMeshes()
field.AIMetaData
mMetaData()
AIScene.Buffer
mMetaData(AIMetaData value)
Sets the address of the specifiedAIMetaData
to theAIScene.mMetaData()
field.AIString
mName()
AIScene.Buffer
mName(java.util.function.Consumer<AIString> consumer)
Passes theAIScene.mName()
field to the specifiedConsumer
.AIScene.Buffer
mName(AIString value)
Copies the specifiedAIString
to theAIScene.mName()
field.int
mNumAnimations()
int
mNumCameras()
int
mNumLights()
int
mNumMaterials()
int
mNumMeshes()
int
mNumTextures()
AINode
mRootNode()
AIScene.Buffer
mRootNode(AINode value)
Sets the address of the specifiedAINode
to theAIScene.mRootNode()
field.org.lwjgl.PointerBuffer
mTextures()
AIScene.Buffer
mTextures(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mTextures()
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 the
AIScene.mFlags()
field.
-
mRootNode
@Nullable public AINode mRootNode()
- Returns:
- a
AINode
view 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
PointerBuffer
view 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
PointerBuffer
view 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
PointerBuffer
view 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
PointerBuffer
view 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
PointerBuffer
view 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
PointerBuffer
view of the data pointed to by theAIScene.mCameras()
field.
-
mMetaData
@Nullable public AIMetaData mMetaData()
- Returns:
- a
AIMetaData
view of the struct pointed to by theAIScene.mMetaData()
field.
-
mName
public AIString mName()
- Returns:
- a
AIString
view 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 specifiedAINode
to theAIScene.mRootNode()
field.
-
mMeshes
public AIScene.Buffer mMeshes(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mMeshes()
field.
-
mMaterials
public AIScene.Buffer mMaterials(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mMaterials()
field.
-
mAnimations
public AIScene.Buffer mAnimations(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mAnimations()
field.
-
mTextures
public AIScene.Buffer mTextures(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mTextures()
field.
-
mLights
public AIScene.Buffer mLights(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mLights()
field.
-
mCameras
public AIScene.Buffer mCameras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theAIScene.mCameras()
field.
-
mMetaData
public AIScene.Buffer mMetaData(@Nullable AIMetaData value)
Sets the address of the specifiedAIMetaData
to theAIScene.mMetaData()
field.
-
mName
public AIScene.Buffer mName(AIString value)
Copies the specifiedAIString
to theAIScene.mName()
field.
-
mName
public AIScene.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes theAIScene.mName()
field to the specifiedConsumer
.
-
-