Delegate AiFileOpenProc
Callback delegate for a custom file system, to open a given file and create a new AiFile instance.
Namespace: SharpAssimp.Unmanaged
Assembly: SharpAssimp.dll
Syntax
public delegate nint AiFileOpenProc(nint fileIO, string pathToFile, string mode)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | fileIO | Pointer to an AiFileIO instance. |
| string | pathToFile | Path to the target file |
| string | mode | Read-write permissions to request |
Returns
| Type | Description |
|---|---|
| nint | Pointer to an AiFile instance. |