public static class AIMesh.Buffer extends org.lwjgl.system.StructBuffer<AIMesh,AIMesh.Buffer> implements org.lwjgl.system.NativeResource
AIMesh structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIMesh.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
AIAABB |
mAABB()
Returns a
AIAABB view of the mAABB field. |
AIMesh.Buffer |
mAABB(AIAABB value)
Copies the specified
AIAABB to the mAABB field. |
AIMesh.Buffer |
mAABB(java.util.function.Consumer<AIAABB> consumer)
Passes the
mAABB field to the specified Consumer. |
org.lwjgl.PointerBuffer |
mAnimMeshes()
Returns a
PointerBuffer view of the data pointed to by the mAnimMeshes field. |
AIMesh.Buffer |
mAnimMeshes(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the mAnimMeshes field. |
AIVector3D.Buffer |
mBitangents()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mBitangents field. |
AIMesh.Buffer |
mBitangents(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mBitangents field. |
org.lwjgl.PointerBuffer |
mBones()
Returns a
PointerBuffer view of the data pointed to by the mBones field. |
AIMesh.Buffer |
mBones(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the mBones 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. |
AIMesh.Buffer |
mColors(int index,
AIColor4D.Buffer value)
Copies the address of the specified
AIColor4D at the specified index of the mColors field. |
AIMesh.Buffer |
mColors(int index,
java.util.function.Consumer<AIColor4D.Buffer> consumer)
Passes the element at
index of the mColors field to the specified Consumer. |
AIMesh.Buffer |
mColors(org.lwjgl.PointerBuffer value)
Copies the specified
PointerBuffer to the mColors field. |
AIFace.Buffer |
mFaces()
Returns a
AIFace.Buffer view of the struct array pointed to by the mFaces field. |
AIMesh.Buffer |
mFaces(AIFace.Buffer value)
Sets the address of the specified
AIFace.Buffer to the mFaces field. |
int |
mMaterialIndex()
Returns the value of the
mMaterialIndex field. |
AIMesh.Buffer |
mMaterialIndex(int value)
Sets the specified value to the
mMaterialIndex field. |
int |
mMethod()
Returns the value of the
mMethod field. |
AIMesh.Buffer |
mMethod(int value)
Sets the specified value to the
mMethod field. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AIMesh.Buffer |
mName(AIString value)
Copies the specified
AIString to the mName field. |
AIMesh.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. |
AIMesh.Buffer |
mNormals(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mNormals field. |
int |
mNumAnimMeshes()
Returns the value of the
mNumAnimMeshes field. |
int |
mNumBones()
Returns the value of the
mNumBones field. |
int |
mNumFaces()
Returns the value of the
mNumFaces field. |
java.nio.IntBuffer |
mNumUVComponents()
Returns a
IntBuffer view of the mNumUVComponents field. |
int |
mNumUVComponents(int index)
Returns the value at the specified index of the
mNumUVComponents field. |
AIMesh.Buffer |
mNumUVComponents(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the mNumUVComponents field. |
AIMesh.Buffer |
mNumUVComponents(int index,
int value)
Sets the specified value at the specified index of the
mNumUVComponents field. |
int |
mNumVertices()
Returns the value of the
mNumVertices field. |
AIMesh.Buffer |
mNumVertices(int value)
Sets the specified value to the
mNumVertices field. |
int |
mPrimitiveTypes()
Returns the value of the
mPrimitiveTypes field. |
AIMesh.Buffer |
mPrimitiveTypes(int value)
Sets the specified value to the
mPrimitiveTypes field. |
AIVector3D.Buffer |
mTangents()
Returns a
AIVector3D.Buffer view of the struct array pointed to by the mTangents field. |
AIMesh.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. |
AIMesh.Buffer |
mTextureCoords(int index,
AIVector3D.Buffer value)
Copies the address of the specified
AIVector3D at the specified index of the mTextureCoords field. |
AIMesh.Buffer |
mTextureCoords(int index,
java.util.function.Consumer<AIVector3D.Buffer> consumer)
Passes the element at
index of the mTextureCoords field to the specified Consumer. |
AIMesh.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. |
AIMesh.Buffer |
mVertices(AIVector3D.Buffer value)
Sets the address of the specified
AIVector3D.Buffer to the mVertices field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIMesh.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 AIMesh.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)
public int mPrimitiveTypes()
mPrimitiveTypes field.public int mNumVertices()
mNumVertices field.public int mNumFaces()
mNumFaces field.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 java.nio.IntBuffer mNumUVComponents()
IntBuffer view of the mNumUVComponents field.public int mNumUVComponents(int index)
mNumUVComponents field.public AIFace.Buffer mFaces()
AIFace.Buffer view of the struct array pointed to by the mFaces field.public int mNumBones()
mNumBones field.@Nullable public org.lwjgl.PointerBuffer mBones()
PointerBuffer view of the data pointed to by the mBones field.public int mMaterialIndex()
mMaterialIndex field.public int mNumAnimMeshes()
mNumAnimMeshes field.@Nullable public org.lwjgl.PointerBuffer mAnimMeshes()
PointerBuffer view of the data pointed to by the mAnimMeshes field.public int mMethod()
mMethod field.public AIMesh.Buffer mPrimitiveTypes(int value)
mPrimitiveTypes field.public AIMesh.Buffer mNumVertices(int value)
mNumVertices field.public AIMesh.Buffer mVertices(AIVector3D.Buffer value)
AIVector3D.Buffer to the mVertices field.public AIMesh.Buffer mNormals(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mNormals field.public AIMesh.Buffer mTangents(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mTangents field.public AIMesh.Buffer mBitangents(@Nullable AIVector3D.Buffer value)
AIVector3D.Buffer to the mBitangents field.public AIMesh.Buffer mColors(org.lwjgl.PointerBuffer value)
PointerBuffer to the mColors field.public AIMesh.Buffer mColors(int index, @Nullable AIColor4D.Buffer value)
AIColor4D at the specified index of the mColors field.public AIMesh.Buffer mColors(int index, java.util.function.Consumer<AIColor4D.Buffer> consumer)
index of the mColors field to the specified Consumer.public AIMesh.Buffer mTextureCoords(org.lwjgl.PointerBuffer value)
PointerBuffer to the mTextureCoords field.public AIMesh.Buffer mTextureCoords(int index, @Nullable AIVector3D.Buffer value)
AIVector3D at the specified index of the mTextureCoords field.public AIMesh.Buffer mTextureCoords(int index, java.util.function.Consumer<AIVector3D.Buffer> consumer)
index of the mTextureCoords field to the specified Consumer.public AIMesh.Buffer mNumUVComponents(java.nio.IntBuffer value)
IntBuffer to the mNumUVComponents field.public AIMesh.Buffer mNumUVComponents(int index, int value)
mNumUVComponents field.public AIMesh.Buffer mFaces(AIFace.Buffer value)
AIFace.Buffer to the mFaces field.public AIMesh.Buffer mBones(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the mBones field.public AIMesh.Buffer mMaterialIndex(int value)
mMaterialIndex field.public AIMesh.Buffer mName(AIString value)
AIString to the mName field.public AIMesh.Buffer mName(java.util.function.Consumer<AIString> consumer)
mName field to the specified Consumer.public AIMesh.Buffer mAnimMeshes(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the mAnimMeshes field.public AIMesh.Buffer mMethod(int value)
mMethod field.public AIMesh.Buffer mAABB(AIAABB value)
AIAABB to the mAABB field.public AIMesh.Buffer mAABB(java.util.function.Consumer<AIAABB> consumer)
mAABB field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.