Expand description
A safe Rust wrapper for Ultralight library.
Ultralight is a library for rendering web content using the GPU, it allows
easy integration into games and other applications.
There are two options to use the library:
- Using the
Appstruct, which is a managed application that allows to createWindows that can contain multipleOverlays, you can control the position and size of theOverlays, and the innerViews. - The other option is using the
Rendererdirectly, in that case, if you want to have GPU rendering in your application you need to supply a customGpuDriverinplatform::set_gpu_driver.
This library also contain a custom glium
GpuDriver implementation that can be used for easier integration.
Re-exports§
pub use app::App;pub use config::Config;pub use gpu_driver::GpuDriver;pub use overlay::Overlay;pub use rect::Rect;pub use renderer::Renderer;pub use renderer::Session;pub use surface::Surface;pub use view::View;pub use window::Window;
Modules§
- An
Appcomponent to create GUI applications withUltralight. - Bitmap container to hold raw pixels data.
- The configuration of the
Rendererstruct. - Events that can be fired in
Views. - Ultralight custom gpu driver.
- Web-content overlay. Displays a web-page within an area of the main window.
- Platform functions to configure
Ultralightand provide user-defined implementations for various platform operations. - A container for Rectangle structure.
- The
Renderermanages allViews and coordinates painting, network requests, and event dispatch - Offscreen pixel buffer surface.
- The View is a component used to load and display web content.
Windowto display web content in anApp.
Structs§
- The version of the
Ultralightlibrary.
Functions§
- Get the current version of the
Ultralightlibrary.