public static class AIFile.Buffer extends org.lwjgl.system.StructBuffer<AIFile,AIFile.Buffer> implements org.lwjgl.system.NativeResource
AIFile structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIFile.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
AIFileTellProc |
FileSizeProc()
Returns the value of the
FileSizeProc field. |
AIFile.Buffer |
FileSizeProc(AIFileTellProcI value)
Sets the specified value to the
FileSizeProc field. |
AIFileFlushProc |
FlushProc()
Returns the value of the
FlushProc field. |
AIFile.Buffer |
FlushProc(AIFileFlushProcI value)
Sets the specified value to the
FlushProc field. |
AIFileReadProc |
ReadProc()
Returns the value of the
ReadProc field. |
AIFile.Buffer |
ReadProc(AIFileReadProcI value)
Sets the specified value to the
ReadProc field. |
AIFileSeek |
SeekProc()
Returns the value of the
SeekProc field. |
AIFile.Buffer |
SeekProc(AIFileSeekI value)
Sets the specified value to the
SeekProc field. |
AIFileTellProc |
TellProc()
Returns the value of the
TellProc field. |
AIFile.Buffer |
TellProc(AIFileTellProcI value)
Sets the specified value to the
TellProc field. |
long |
UserData()
Returns the value of the
UserData field. |
AIFile.Buffer |
UserData(long value)
Sets the specified value to the
UserData field. |
AIFileWriteProc |
WriteProc()
Returns the value of the
WriteProc field. |
AIFile.Buffer |
WriteProc(AIFileWriteProcI value)
Sets the specified value to the
WriteProc field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIFile.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
by AIFile.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public AIFileReadProc ReadProc()
ReadProc field.public AIFileWriteProc WriteProc()
WriteProc field.public AIFileTellProc TellProc()
TellProc field.public AIFileTellProc FileSizeProc()
FileSizeProc field.public AIFileSeek SeekProc()
SeekProc field.public AIFileFlushProc FlushProc()
FlushProc field.public long UserData()
UserData field.public AIFile.Buffer ReadProc(AIFileReadProcI value)
ReadProc field.public AIFile.Buffer WriteProc(AIFileWriteProcI value)
WriteProc field.public AIFile.Buffer TellProc(AIFileTellProcI value)
TellProc field.public AIFile.Buffer FileSizeProc(AIFileTellProcI value)
FileSizeProc field.public AIFile.Buffer SeekProc(AIFileSeekI value)
SeekProc field.public AIFile.Buffer FlushProc(AIFileFlushProcI value)
FlushProc field.public AIFile.Buffer UserData(long value)
UserData field.Copyright LWJGL. All Rights Reserved. License terms.