Assimp
v4.1. (December 2018)
|
Interface to allow custom resource loaders for jassimp. More...
Inherited by jassimp.AiInputStreamIOStream.
Public Member Functions | |
int | getFileSize () |
The total size of this stream. More... | |
boolean | read (ByteBuffer buffer) |
Read all data into buffer. More... | |
Interface to allow custom resource loaders for jassimp.
The design is based on passing the file wholly in memory, because Java inputstreams do not have to support seek.
Writing files from Java is unsupported.
int jassimp.AiIOStream.getFileSize | ( | ) |
The total size of this stream.
Implemented in jassimp.AiInputStreamIOStream.
boolean jassimp.AiIOStream.read | ( | ByteBuffer | buffer | ) |
Read all data into buffer.
The whole stream should be read into the buffer. No support is provided for partial reads.
buffer | Target buffer for the model data |
Implemented in jassimp.AiInputStreamIOStream.