Package org.lwjgl.assimp
Class AIScene.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<AIScene>
,NativeResource
,Pointer
- Enclosing class:
AIScene
public static class AIScene.Buffer
extends StructBuffer<AIScene,AIScene.Buffer>
implements NativeResource
An array of
AIScene
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newAIScene.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionmAnimations
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mAnimations()
field.mCameras()
mCameras
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mCameras()
field.int
mFlags()
mFlags
(int value) Sets the specified value to theAIScene.mFlags()
field.mLights()
mLights
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mLights()
field.mMaterials
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mMaterials()
field.mMeshes()
mMeshes
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mMeshes()
field.mMetaData
(AIMetaData value) Sets the address of the specifiedAIMetaData
to theAIScene.mMetaData()
field.mName()
Passes theAIScene.mName()
field to the specifiedConsumer
.Copies the specifiedAIString
to theAIScene.mName()
field.int
int
int
int
int
int
int
Sets the address of the specifiedAINode
to theAIScene.mRootNode()
field.mSkeletons
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to themSkeletons
field.mTextures
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theAIScene.mTextures()
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
AIScene.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 Details
-
mFlags
public int mFlags()- Returns:
- the value of the
AIScene.mFlags()
field.
-
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
- 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
- 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
- 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
- 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
- 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
- Returns:
- a
PointerBuffer
view of the data pointed to by theAIScene.mCameras()
field.
-
mMetaData
- Returns:
- a
AIMetaData
view of the struct pointed to by theAIScene.mMetaData()
field.
-
mName
- Returns:
- a
AIString
view of theAIScene.mName()
field.
-
mNumSkeletons
public int mNumSkeletons()- Returns:
- the value of the
mNumSkeletons
field.
-
mSkeletons
- Returns:
- a
PointerBuffer
view of the data pointed to by themSkeletons
field.
-
mFlags
Sets the specified value to theAIScene.mFlags()
field. -
mRootNode
Sets the address of the specifiedAINode
to theAIScene.mRootNode()
field. -
mMeshes
Sets the address of the specifiedPointerBuffer
to theAIScene.mMeshes()
field. -
mMaterials
Sets the address of the specifiedPointerBuffer
to theAIScene.mMaterials()
field. -
mAnimations
Sets the address of the specifiedPointerBuffer
to theAIScene.mAnimations()
field. -
mTextures
Sets the address of the specifiedPointerBuffer
to theAIScene.mTextures()
field. -
mLights
Sets the address of the specifiedPointerBuffer
to theAIScene.mLights()
field. -
mCameras
Sets the address of the specifiedPointerBuffer
to theAIScene.mCameras()
field. -
mMetaData
Sets the address of the specifiedAIMetaData
to theAIScene.mMetaData()
field. -
mName
Copies the specifiedAIString
to theAIScene.mName()
field. -
mName
Passes theAIScene.mName()
field to the specifiedConsumer
. -
mSkeletons
Sets the address of the specifiedPointerBuffer
to themSkeletons
field.
-