Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
aiFileIO Struct Reference

C-API: File system callbacks. More...

#include <cfileio.h>

Public Attributes

aiFileCloseProc CloseProc
 Function used to close an existing file. More...
 
aiFileOpenProc OpenProc
 Function used to open a new file. More...
 
aiUserData UserData
 User-defined, opaque data. More...
 

Detailed Description

C-API: File system callbacks.

Provided are functions to open and close files. Supply a custom structure to the import function. If you don't, a default implementation is used. Use custom file systems to enable reading from other sources, such as ZIPs or memory locations.

Member Data Documentation

◆ CloseProc

aiFileCloseProc aiFileIO::CloseProc

Function used to close an existing file.

◆ OpenProc

aiFileOpenProc aiFileIO::OpenProc

Function used to open a new file.

◆ UserData

aiUserData aiFileIO::UserData

User-defined, opaque data.


The documentation for this struct was generated from the following file: