VfsConfig

Configuration DSL for the Vfs plugin.

Properties

Link copied to clipboard

Enable deferred loading of embedded VFS assets, where supported.

Link copied to clipboard

Whether VFS-incompatible languages are present in the engine.

Link copied to clipboard

Whether the file system is writable. If false, write operations will throw an exception.

Functions

Link copied to clipboard
fun include(bundle: URI)

Register a bundle to be added to the VFS on creation.

Link copied to clipboard

Include a bundle by its url. This is a shortcut for calling include(url.toURI()).

Include a bundle using a URI string. The string must be a properly formatted URI.

Link copied to clipboard
fun listener(listener: VfsListener)

Register a listener for VFS events.