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 ofAIFile
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIFileTellProc
FileSizeProc()
Returns the value of theFileSizeProc
field.AIFile.Buffer
FileSizeProc(AIFileTellProcI value)
Sets the specified value to theFileSizeProc
field.AIFileFlushProc
FlushProc()
Returns the value of theFlushProc
field.AIFile.Buffer
FlushProc(AIFileFlushProcI value)
Sets the specified value to theFlushProc
field.AIFileReadProc
ReadProc()
Returns the value of theReadProc
field.AIFile.Buffer
ReadProc(AIFileReadProcI value)
Sets the specified value to theReadProc
field.AIFileSeek
SeekProc()
Returns the value of theSeekProc
field.AIFile.Buffer
SeekProc(AIFileSeekI value)
Sets the specified value to theSeekProc
field.AIFileTellProc
TellProc()
Returns the value of theTellProc
field.AIFile.Buffer
TellProc(AIFileTellProcI value)
Sets the specified value to theTellProc
field.long
UserData()
Returns the value of theUserData
field.AIFile.Buffer
UserData(long value)
Sets the specified value to theUserData
field.AIFileWriteProc
WriteProc()
Returns the value of theWriteProc
field.AIFile.Buffer
WriteProc(AIFileWriteProcI value)
Sets the specified value to theWriteProc
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIFile.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 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 theReadProc
field.
-
WriteProc
public AIFileWriteProc WriteProc()
Returns the value of theWriteProc
field.
-
TellProc
public AIFileTellProc TellProc()
Returns the value of theTellProc
field.
-
FileSizeProc
public AIFileTellProc FileSizeProc()
Returns the value of theFileSizeProc
field.
-
SeekProc
public AIFileSeek SeekProc()
Returns the value of theSeekProc
field.
-
FlushProc
public AIFileFlushProc FlushProc()
Returns the value of theFlushProc
field.
-
UserData
public long UserData()
Returns the value of theUserData
field.
-
ReadProc
public AIFile.Buffer ReadProc(AIFileReadProcI value)
Sets the specified value to theReadProc
field.
-
WriteProc
public AIFile.Buffer WriteProc(AIFileWriteProcI value)
Sets the specified value to theWriteProc
field.
-
TellProc
public AIFile.Buffer TellProc(AIFileTellProcI value)
Sets the specified value to theTellProc
field.
-
FileSizeProc
public AIFile.Buffer FileSizeProc(AIFileTellProcI value)
Sets the specified value to theFileSizeProc
field.
-
SeekProc
public AIFile.Buffer SeekProc(AIFileSeekI value)
Sets the specified value to theSeekProc
field.
-
FlushProc
public AIFile.Buffer FlushProc(AIFileFlushProcI value)
Sets the specified value to theFlushProc
field.
-
UserData
public AIFile.Buffer UserData(long value)
Sets the specified value to theUserData
field.
-
-