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()Returns aAIString.Bufferview of the struct array pointed to by themKeysfield.AIMetaData.BuffermKeys(AIString.Buffer value)Sets the address of the specifiedAIString.Bufferto themKeysfield.intmNumProperties()Returns the value of themNumPropertiesfield.AIMetaData.BuffermNumProperties(int value)Sets the specified value to themNumPropertiesfield.AIMetaDataEntry.BuffermValues()Returns aAIMetaDataEntry.Bufferview of the struct array pointed to by themValuesfield.AIMetaData.BuffermValues(AIMetaDataEntry.Buffer value)Sets the address of the specifiedAIMetaDataEntry.Bufferto themValuesfield.
-
-
-
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 themNumPropertiesfield.
-
mKeys
public AIString.Buffer mKeys()
Returns aAIString.Bufferview of the struct array pointed to by themKeysfield.
-
mValues
public AIMetaDataEntry.Buffer mValues()
Returns aAIMetaDataEntry.Bufferview of the struct array pointed to by themValuesfield.
-
mNumProperties
public AIMetaData.Buffer mNumProperties(int value)
Sets the specified value to themNumPropertiesfield.
-
mKeys
public AIMetaData.Buffer mKeys(AIString.Buffer value)
Sets the address of the specifiedAIString.Bufferto themKeysfield.
-
mValues
public AIMetaData.Buffer mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Bufferto themValuesfield.
-
-