|
Assimp
v4.1. (December 2018)
|
File callbacks. More...
Public Attributes | |
| aiFileTellProc | FileSizeProc |
| Callback to retrieve the size of the file, in bytes. More... | |
| aiFileFlushProc | FlushProc |
| Callback to flush the file contents. More... | |
| aiFileReadProc | ReadProc |
| Callback to read from a file. More... | |
| aiFileSeek | SeekProc |
Callback to set the current position of the file cursor (fseek()). More... | |
| aiFileTellProc | TellProc |
Callback to retrieve the current position of the file cursor (ftell()). More... | |
| aiUserData | UserData |
| User-defined, opaque data. More... | |
| aiFileWriteProc | WriteProc |
| Callback to write to a file. More... | |
File callbacks.
Actually, it's a data structure to wrap a set of fXXXX (e.g fopen()) replacement functions.
The default implementation of the functions utilizes the fXXX functions from the CRT. However, you can supply a custom implementation to Assimp by passing a custom aiFileIO. Use this to enable reading from other sources such as ZIP archives or memory locations.
| aiFileTellProc assimp::fileIO::aiFile::FileSizeProc |
Callback to retrieve the size of the file, in bytes.
| aiFileFlushProc assimp::fileIO::aiFile::FlushProc |
Callback to flush the file contents.
| aiFileReadProc assimp::fileIO::aiFile::ReadProc |
Callback to read from a file.
| aiFileSeek assimp::fileIO::aiFile::SeekProc |
Callback to set the current position of the file cursor (fseek()).
| aiFileTellProc assimp::fileIO::aiFile::TellProc |
Callback to retrieve the current position of the file cursor (ftell()).
| aiUserData assimp::fileIO::aiFile::UserData |
User-defined, opaque data.
| aiFileWriteProc assimp::fileIO::aiFile::WriteProc |
Callback to write to a file.