Skip to main content

Crate shell

Crate shell 

Source
Expand description

Re-export of blitz_shell. Event loop, windowing and system integration.

§Feature flags

  • default: Enables the features listed below.
  • accessibility: Enables accesskit accessibility support.
  • hot-reload: Enables hot-reloading of Dioxus RSX.
  • tracing: Enables tracing support.

Modules§

frame_stats
Process-global publication of real per-frame timings.

Structs§

BlitzApplication
BlitzShellProvider
BlitzShellProxy
Config
EventLoop
Provides a way to retrieve events from the system and from the windows that were registered to the events loop.
EventLoopProxy
Control the ActiveEventLoop, possibly from a different thread, without referencing it directly.
FrameStatsSnapshot
Aggregate view of the recently presented frames.
FrameTimings
Timings of one presented frame, in milliseconds.
TimingStats
Mean, 95th percentile and worst case for one timing series, in milliseconds.
View
WindowConfig

Enums§

BlitzShellEvent
ControlFlow
Set through ActiveEventLoop::set_control_flow().

Traits§

Window
Represents a window.

Functions§

clear_frame_stats
Discard every retained frame sample.
create_default_event_loop
Build an event loop for the application
latest_frame_stats
Read the most recent frame timings.