Package org.lwjgl.assimp
Class AIMetaData.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIMetaData,AIMetaData.Buffer>
-
- org.lwjgl.assimp.AIMetaData.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AIMetaData>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AIMetaData
public static class AIMetaData.Buffer extends org.lwjgl.system.StructBuffer<AIMetaData,AIMetaData.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIMetaDatastructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIString.BuffermKeys()AIMetaData.BuffermKeys(AIString.Buffer value)Sets the address of the specifiedAIString.Bufferto theAIMetaData.mKeys()field.intmNumProperties()AIMetaData.BuffermNumProperties(int value)Sets the specified value to theAIMetaData.mNumProperties()field.AIMetaDataEntry.BuffermValues()AIMetaData.BuffermValues(AIMetaDataEntry.Buffer value)Sets the address of the specifiedAIMetaDataEntry.Bufferto theAIMetaData.mValues()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIMetaData.Bufferinstance 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 byAIMetaData.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
-
mNumProperties
public int mNumProperties()
- Returns:
- the value of the
AIMetaData.mNumProperties()field.
-
mKeys
public AIString.Buffer mKeys()
- Returns:
- a
AIString.Bufferview of the struct array pointed to by theAIMetaData.mKeys()field.
-
mValues
public AIMetaDataEntry.Buffer mValues()
- Returns:
- a
AIMetaDataEntry.Bufferview of the struct array pointed to by theAIMetaData.mValues()field.
-
mNumProperties
public AIMetaData.Buffer mNumProperties(int value)
Sets the specified value to theAIMetaData.mNumProperties()field.
-
mKeys
public AIMetaData.Buffer mKeys(AIString.Buffer value)
Sets the address of the specifiedAIString.Bufferto theAIMetaData.mKeys()field.
-
mValues
public AIMetaData.Buffer mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Bufferto theAIMetaData.mValues()field.
-
-