Package org.lwjgl.assimp
Class AIAnimMesh.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIAnimMesh,AIAnimMesh.Buffer>
-
- org.lwjgl.assimp.AIAnimMesh.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<AIAnimMesh>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- AIAnimMesh
public static class AIAnimMesh.Buffer extends org.lwjgl.system.StructBuffer<AIAnimMesh,AIAnimMesh.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIAnimMesh
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIVector3D.Buffer
mBitangents()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themBitangents
field.AIAnimMesh.Buffer
mBitangents(AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themBitangents
field.org.lwjgl.PointerBuffer
mColors()
Returns aPointerBuffer
view of themColors
field.AIColor4D.Buffer
mColors(int index)
Returns aAIColor4D
view of the pointer at the specified index of themColors
field.AIAnimMesh.Buffer
mColors(int index, java.util.function.Consumer<AIColor4D.Buffer> consumer)
Passes the element atindex
of themColors
field to the specifiedConsumer
.AIAnimMesh.Buffer
mColors(int index, AIColor4D.Buffer value)
Copies the address of the specifiedAIColor4D
at the specified index of themColors
field.AIAnimMesh.Buffer
mColors(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to themColors
field.AIString
mName()
Returns aAIString
view of themName
field.AIAnimMesh.Buffer
mName(java.util.function.Consumer<AIString> consumer)
Passes themName
field to the specifiedConsumer
.AIAnimMesh.Buffer
mName(AIString value)
Copies the specifiedAIString
to themName
field.AIVector3D.Buffer
mNormals()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themNormals
field.AIAnimMesh.Buffer
mNormals(AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themNormals
field.int
mNumVertices()
Returns the value of themNumVertices
field.AIAnimMesh.Buffer
mNumVertices(int value)
Sets the specified value to themNumVertices
field.AIVector3D.Buffer
mTangents()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themTangents
field.AIAnimMesh.Buffer
mTangents(AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themTangents
field.org.lwjgl.PointerBuffer
mTextureCoords()
Returns aPointerBuffer
view of themTextureCoords
field.AIVector3D.Buffer
mTextureCoords(int index)
Returns aAIVector3D
view of the pointer at the specified index of themTextureCoords
field.AIAnimMesh.Buffer
mTextureCoords(int index, java.util.function.Consumer<AIVector3D.Buffer> consumer)
Passes the element atindex
of themTextureCoords
field to the specifiedConsumer
.AIAnimMesh.Buffer
mTextureCoords(int index, AIVector3D.Buffer value)
Copies the address of the specifiedAIVector3D
at the specified index of themTextureCoords
field.AIAnimMesh.Buffer
mTextureCoords(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to themTextureCoords
field.AIVector3D.Buffer
mVertices()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themVertices
field.AIAnimMesh.Buffer
mVertices(AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themVertices
field.float
mWeight()
Returns the value of themWeight
field.AIAnimMesh.Buffer
mWeight(float value)
Sets the specified value to themWeight
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIAnimMesh.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 byAIAnimMesh.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
-
mVertices
@Nullable public AIVector3D.Buffer mVertices()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themVertices
field.
-
mNormals
@Nullable public AIVector3D.Buffer mNormals()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themNormals
field.
-
mTangents
@Nullable public AIVector3D.Buffer mTangents()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themTangents
field.
-
mBitangents
@Nullable public AIVector3D.Buffer mBitangents()
Returns aAIVector3D.Buffer
view of the struct array pointed to by themBitangents
field.
-
mColors
public org.lwjgl.PointerBuffer mColors()
Returns aPointerBuffer
view of themColors
field.
-
mColors
@Nullable public AIColor4D.Buffer mColors(int index)
Returns aAIColor4D
view of the pointer at the specified index of themColors
field.
-
mTextureCoords
public org.lwjgl.PointerBuffer mTextureCoords()
Returns aPointerBuffer
view of themTextureCoords
field.
-
mTextureCoords
@Nullable public AIVector3D.Buffer mTextureCoords(int index)
Returns aAIVector3D
view of the pointer at the specified index of themTextureCoords
field.
-
mNumVertices
public int mNumVertices()
Returns the value of themNumVertices
field.
-
mWeight
public float mWeight()
Returns the value of themWeight
field.
-
mName
public AIAnimMesh.Buffer mName(AIString value)
Copies the specifiedAIString
to themName
field.
-
mName
public AIAnimMesh.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes themName
field to the specifiedConsumer
.
-
mVertices
public AIAnimMesh.Buffer mVertices(@Nullable AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themVertices
field.
-
mNormals
public AIAnimMesh.Buffer mNormals(@Nullable AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themNormals
field.
-
mTangents
public AIAnimMesh.Buffer mTangents(@Nullable AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themTangents
field.
-
mBitangents
public AIAnimMesh.Buffer mBitangents(@Nullable AIVector3D.Buffer value)
Sets the address of the specifiedAIVector3D.Buffer
to themBitangents
field.
-
mColors
public AIAnimMesh.Buffer mColors(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to themColors
field.
-
mColors
public AIAnimMesh.Buffer mColors(int index, @Nullable AIColor4D.Buffer value)
Copies the address of the specifiedAIColor4D
at the specified index of themColors
field.
-
mColors
public AIAnimMesh.Buffer mColors(int index, java.util.function.Consumer<AIColor4D.Buffer> consumer)
Passes the element atindex
of themColors
field to the specifiedConsumer
.
-
mTextureCoords
public AIAnimMesh.Buffer mTextureCoords(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to themTextureCoords
field.
-
mTextureCoords
public AIAnimMesh.Buffer mTextureCoords(int index, @Nullable AIVector3D.Buffer value)
Copies the address of the specifiedAIVector3D
at the specified index of themTextureCoords
field.
-
mTextureCoords
public AIAnimMesh.Buffer mTextureCoords(int index, java.util.function.Consumer<AIVector3D.Buffer> consumer)
Passes the element atindex
of themTextureCoords
field to the specifiedConsumer
.
-
mNumVertices
public AIAnimMesh.Buffer mNumVertices(int value)
Sets the specified value to themNumVertices
field.
-
mWeight
public AIAnimMesh.Buffer mWeight(float value)
Sets the specified value to themWeight
field.
-
-