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 ofAIMetaData
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIString.Buffer
mKeys()
Returns aAIString.Buffer
view of the struct array pointed to by themKeys
field.AIMetaData.Buffer
mKeys(AIString.Buffer value)
Sets the address of the specifiedAIString.Buffer
to themKeys
field.int
mNumProperties()
Returns the value of themNumProperties
field.AIMetaData.Buffer
mNumProperties(int value)
Sets the specified value to themNumProperties
field.AIMetaDataEntry.Buffer
mValues()
Returns aAIMetaDataEntry.Buffer
view of the struct array pointed to by themValues
field.AIMetaData.Buffer
mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Buffer
to themValues
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIMetaData.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 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 themNumProperties
field.
-
mKeys
public AIString.Buffer mKeys()
Returns aAIString.Buffer
view of the struct array pointed to by themKeys
field.
-
mValues
public AIMetaDataEntry.Buffer mValues()
Returns aAIMetaDataEntry.Buffer
view of the struct array pointed to by themValues
field.
-
mNumProperties
public AIMetaData.Buffer mNumProperties(int value)
Sets the specified value to themNumProperties
field.
-
mKeys
public AIMetaData.Buffer mKeys(AIString.Buffer value)
Sets the address of the specifiedAIString.Buffer
to themKeys
field.
-
mValues
public AIMetaData.Buffer mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Buffer
to themValues
field.
-
-