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()
AIMetaData.Buffer
mKeys(AIString.Buffer value)
Sets the address of the specifiedAIString.Buffer
to theAIMetaData.mKeys()
field.int
mNumProperties()
AIMetaData.Buffer
mNumProperties(int value)
Sets the specified value to theAIMetaData.mNumProperties()
field.AIMetaDataEntry.Buffer
mValues()
AIMetaData.Buffer
mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Buffer
to theAIMetaData.mValues()
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 the
AIMetaData.mNumProperties()
field.
-
mKeys
public AIString.Buffer mKeys()
- Returns:
- a
AIString.Buffer
view of the struct array pointed to by theAIMetaData.mKeys()
field.
-
mValues
public AIMetaDataEntry.Buffer mValues()
- Returns:
- a
AIMetaDataEntry.Buffer
view 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.Buffer
to theAIMetaData.mKeys()
field.
-
mValues
public AIMetaData.Buffer mValues(AIMetaDataEntry.Buffer value)
Sets the address of the specifiedAIMetaDataEntry.Buffer
to theAIMetaData.mValues()
field.
-
-