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()
AIFile.Buffer
FileSizeProc(AIFileTellProcI value)
Sets the specified value to theAIFile.FileSizeProc()
field.AIFileFlushProc
FlushProc()
AIFile.Buffer
FlushProc(AIFileFlushProcI value)
Sets the specified value to theAIFile.FlushProc()
field.AIFileReadProc
ReadProc()
AIFile.Buffer
ReadProc(AIFileReadProcI value)
Sets the specified value to theAIFile.ReadProc()
field.AIFileSeek
SeekProc()
AIFile.Buffer
SeekProc(AIFileSeekI value)
Sets the specified value to theAIFile.SeekProc()
field.AIFileTellProc
TellProc()
AIFile.Buffer
TellProc(AIFileTellProcI value)
Sets the specified value to theAIFile.TellProc()
field.long
UserData()
AIFile.Buffer
UserData(long value)
Sets the specified value to theAIFile.UserData()
field.AIFileWriteProc
WriteProc()
AIFile.Buffer
WriteProc(AIFileWriteProcI value)
Sets the specified value to theAIFile.WriteProc()
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 the
AIFile.ReadProc()
field.
-
WriteProc
public AIFileWriteProc WriteProc()
- Returns:
- the value of the
AIFile.WriteProc()
field.
-
TellProc
public AIFileTellProc TellProc()
- Returns:
- the value of the
AIFile.TellProc()
field.
-
FileSizeProc
public AIFileTellProc FileSizeProc()
- Returns:
- the value of the
AIFile.FileSizeProc()
field.
-
SeekProc
public AIFileSeek SeekProc()
- Returns:
- the value of the
AIFile.SeekProc()
field.
-
FlushProc
public AIFileFlushProc FlushProc()
- Returns:
- the value of the
AIFile.FlushProc()
field.
-
UserData
public long UserData()
- Returns:
- the value of the
AIFile.UserData()
field.
-
ReadProc
public AIFile.Buffer ReadProc(AIFileReadProcI value)
Sets the specified value to theAIFile.ReadProc()
field.
-
WriteProc
public AIFile.Buffer WriteProc(AIFileWriteProcI value)
Sets the specified value to theAIFile.WriteProc()
field.
-
TellProc
public AIFile.Buffer TellProc(AIFileTellProcI value)
Sets the specified value to theAIFile.TellProc()
field.
-
FileSizeProc
public AIFile.Buffer FileSizeProc(AIFileTellProcI value)
Sets the specified value to theAIFile.FileSizeProc()
field.
-
SeekProc
public AIFile.Buffer SeekProc(AIFileSeekI value)
Sets the specified value to theAIFile.SeekProc()
field.
-
FlushProc
public AIFile.Buffer FlushProc(AIFileFlushProcI value)
Sets the specified value to theAIFile.FlushProc()
field.
-
UserData
public AIFile.Buffer UserData(long value)
Sets the specified value to theAIFile.UserData()
field.
-
-