Expand description
Platform functions to configure Ultralight
and provide user-defined
implementations for various platform operations.
The configurations applied to the platform should be set before creating
a Renderer
instance.
Structs§
- Represents a font file, either on-disk path or in-memory file contents.
Enums§
- Log levels for the logger. (See
Logger::log_message
)
Traits§
- This is used for reading and writing data to the platform Clipboard.
- This is used for loading File URLs (eg, file:///page.html).
- User-defined font loader interface.
- This can be used to log debug messages to the console or to a log file.
Functions§
- Initializes the default logger (writes the log to a file).
- Initializes the platform file system (needed for loading file:/// URLs) and sets it as the current FileSystem.
- Initializes the platform font loader and sets it as the current FontLoader.
- Set a custom Clipboard implementation.
- Set a custom FileSystem implementation.
- Set a custom FontLoader implementation.
- Set a custom GPUDriver implementation.
- Set a custom Logger implementation.