public static class AIAnimMesh.Buffer extends org.lwjgl.system.StructBuffer<AIAnimMesh,AIAnimMesh.Buffer> implements org.lwjgl.system.NativeResource
AIAnimMesh structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIAnimMesh.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
AIVector3D.Buffer |
mBitangents()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mBitangents field. |
AIAnimMesh.Buffer |
mBitangents(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mBitangents field. |
org.lwjgl.PointerBuffer |
mColors()
Returns a
PointerBuffer view of the mColors field. |
AIColor4D.Buffer |
mColors(int index)
Returns a
AIColor4D view of the pointer at the specified index of the mColors field. |
AIAnimMesh.Buffer |
mColors(int index,
AIColor4D.Buffer value)
Copies the address of the specified
AIColor4D at the specified index of the mColors field. |
AIAnimMesh.Buffer |
mColors(int index,
java.util.function.Consumer<AIColor4D.Buffer> consumer)
Passes the element at
index of the mColors field to the specified Consumer. |
AIAnimMesh.Buffer |
mColors(org.lwjgl.PointerBuffer value)
Copies the specified
PointerBuffer to the mColors field. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AIAnimMesh.Buffer |
mName(AIString value)
Copies the specified
AIString to the mName field. |
AIAnimMesh.Buffer |
mName(java.util.function.Consumer<AIString> consumer)
Passes the
mName field to the specified Consumer. |
AIVector3D.Buffer |
mNormals()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mNormals field. |
AIAnimMesh.Buffer |
mNormals(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mNormals field. |
int |
mNumVertices()
Returns the value of the
mNumVertices field. |
AIAnimMesh.Buffer |
mNumVertices(int value)
Sets the specified value to the
mNumVertices field. |
AIVector3D.Buffer |
mTangents()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mTangents field. |
AIAnimMesh.Buffer |
mTangents(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mTangents field. |
org.lwjgl.PointerBuffer |
mTextureCoords()
Returns a
PointerBuffer view of the mTextureCoords field. |
AIVector3D.Buffer |
mTextureCoords(int index)
Returns a
AIVector3D view of the pointer at the specified index of the mTextureCoords field. |
AIAnimMesh.Buffer |
mTextureCoords(int index,
AIVector3D.Buffer value)
Copies the address of the specified
AIVector3D at the specified index of the mTextureCoords field. |
AIAnimMesh.Buffer |
mTextureCoords(int index,
java.util.function.Consumer<AIVector3D.Buffer> consumer)
Passes the element at
index of the mTextureCoords field to the specified Consumer. |
AIAnimMesh.Buffer |
mTextureCoords(org.lwjgl.PointerBuffer value)
Copies the specified
PointerBuffer to the mTextureCoords field. |
AIVector3D.Buffer |
mVertices()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mVertices field. |
AIAnimMesh.Buffer |
mVertices(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mVertices field. |
float |
mWeight()
Returns the value of the
mWeight field. |
AIAnimMesh.Buffer |
mWeight(float value)
Sets the specified value to the
mWeight field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIAnimMesh.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 AIAnimMesh.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
@Nullable public AIVector3D.Buffer mVertices()
AIVector3D.Buffer view of the struct array pointed to by the mVertices field.@Nullable public AIVector3D.Buffer mNormals()
AIVector3D.Buffer view of the struct array pointed to by the mNormals field.@Nullable public AIVector3D.Buffer mTangents()
AIVector3D.Buffer view of the struct array pointed to by the mTangents field.@Nullable public AIVector3D.Buffer mBitangents()
AIVector3D.Buffer view of the struct array pointed to by the mBitangents field.public org.lwjgl.PointerBuffer mColors()
PointerBuffer view of the mColors field.@Nullable public AIColor4D.Buffer mColors(int index)
AIColor4D view of the pointer at the specified index of the mColors field.public org.lwjgl.PointerBuffer mTextureCoords()
PointerBuffer view of the mTextureCoords field.@Nullable public AIVector3D.Buffer mTextureCoords(int index)
AIVector3D view of the pointer at the specified index of the mTextureCoords field.public int mNumVertices()
mNumVertices field.public float mWeight()
mWeight field.public AIAnimMesh.Buffer mName(AIString value)
AIString to the mName field.public AIAnimMesh.Buffer mName(java.util.function.Consumer<AIString> consumer)
mName field to the specified Consumer.public AIAnimMesh.Buffer mVertices(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mVertices field.public AIAnimMesh.Buffer mNormals(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mNormals field.public AIAnimMesh.Buffer mTangents(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mTangents field.public AIAnimMesh.Buffer mBitangents(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mBitangents field.public AIAnimMesh.Buffer mColors(org.lwjgl.PointerBuffer value)
PointerBuffer to the mColors field.public AIAnimMesh.Buffer mColors(int index, @Nullable AIColor4D.Buffer value)
AIColor4D at the specified index of the mColors field.public AIAnimMesh.Buffer mColors(int index, java.util.function.Consumer<AIColor4D.Buffer> consumer)
index of the mColors field to the specified Consumer.public AIAnimMesh.Buffer mTextureCoords(org.lwjgl.PointerBuffer value)
PointerBuffer to the mTextureCoords field.public AIAnimMesh.Buffer mTextureCoords(int index, @Nullable AIVector3D.Buffer value)
AIVector3D at the specified index of the mTextureCoords field.public AIAnimMesh.Buffer mTextureCoords(int index, java.util.function.Consumer<AIVector3D.Buffer> consumer)
index of the mTextureCoords field to the specified Consumer.public AIAnimMesh.Buffer mNumVertices(int value)
mNumVertices field.public AIAnimMesh.Buffer mWeight(float value)
mWeight field.Copyright LWJGL. All Rights Reserved. License terms.