Package org.lwjgl.assimp
Class AIFile.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIFile,AIFile.Buffer>
-
- org.lwjgl.assimp.AIFile.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AIFile>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AIFile
public static class AIFile.Buffer extends org.lwjgl.system.StructBuffer<AIFile,AIFile.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIFilestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIFileTellProcFileSizeProc()Returns the value of theFileSizeProcfield.AIFile.BufferFileSizeProc(AIFileTellProcI value)Sets the specified value to theFileSizeProcfield.AIFileFlushProcFlushProc()Returns the value of theFlushProcfield.AIFile.BufferFlushProc(AIFileFlushProcI value)Sets the specified value to theFlushProcfield.AIFileReadProcReadProc()Returns the value of theReadProcfield.AIFile.BufferReadProc(AIFileReadProcI value)Sets the specified value to theReadProcfield.AIFileSeekSeekProc()Returns the value of theSeekProcfield.AIFile.BufferSeekProc(AIFileSeekI value)Sets the specified value to theSeekProcfield.AIFileTellProcTellProc()Returns the value of theTellProcfield.AIFile.BufferTellProc(AIFileTellProcI value)Sets the specified value to theTellProcfield.longUserData()Returns the value of theUserDatafield.AIFile.BufferUserData(long value)Sets the specified value to theUserDatafield.AIFileWriteProcWriteProc()Returns the value of theWriteProcfield.AIFile.BufferWriteProc(AIFileWriteProcI value)Sets the specified value to theWriteProcfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIFile.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 byAIFile.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
-
ReadProc
public AIFileReadProc ReadProc()
Returns the value of theReadProcfield.
-
WriteProc
public AIFileWriteProc WriteProc()
Returns the value of theWriteProcfield.
-
TellProc
public AIFileTellProc TellProc()
Returns the value of theTellProcfield.
-
FileSizeProc
public AIFileTellProc FileSizeProc()
Returns the value of theFileSizeProcfield.
-
SeekProc
public AIFileSeek SeekProc()
Returns the value of theSeekProcfield.
-
FlushProc
public AIFileFlushProc FlushProc()
Returns the value of theFlushProcfield.
-
UserData
public long UserData()
Returns the value of theUserDatafield.
-
ReadProc
public AIFile.Buffer ReadProc(AIFileReadProcI value)
Sets the specified value to theReadProcfield.
-
WriteProc
public AIFile.Buffer WriteProc(AIFileWriteProcI value)
Sets the specified value to theWriteProcfield.
-
TellProc
public AIFile.Buffer TellProc(AIFileTellProcI value)
Sets the specified value to theTellProcfield.
-
FileSizeProc
public AIFile.Buffer FileSizeProc(AIFileTellProcI value)
Sets the specified value to theFileSizeProcfield.
-
SeekProc
public AIFile.Buffer SeekProc(AIFileSeekI value)
Sets the specified value to theSeekProcfield.
-
FlushProc
public AIFile.Buffer FlushProc(AIFileFlushProcI value)
Sets the specified value to theFlushProcfield.
-
UserData
public AIFile.Buffer UserData(long value)
Sets the specified value to theUserDatafield.
-
-