[][src]Function ul_sys::ulPlatformSetFileSystem

pub unsafe extern "C" fn ulPlatformSetFileSystem(file_system: ULFileSystem)

Set a custom FileSystem implementation.

This is used for loading File URLs (eg, file:///page.html). If you don't call this, and are not using ulCreateApp() or ulEnablePlatformFileSystem(), you will not be able to load any File URLs.

You should call this before ulCreateRenderer() or ulCreateApp().

@note ulCreateApp() will use the default platform file system if you never call this.

@note If you're not using ulCreateApp(), (eg, using ulCreateRenderer()) you can still use the default platform file system by calling ulEnablePlatformFileSystem() (@see <AppCore/CAPI.h>)