NEOLearn

Application examples

The engine's application examples: what each one shows, whether it runs in a browser and the command that runs it.

Updated October 20, 2026

On this page

Setting up an app: plugins, runners, headless apps, exiting, logging and settings. There are 19 examples on this page. For the concepts behind them, see The app.

Run any of them from the engine core's workspace (the folder of the engine source that holds the neo crate's Cargo.toml); see Run an example.

Examples#

ExampleWhat it showsWebRun
Advanced log layersIllustrate how to transfer data between log layers and NEO's ECSNocargo run --example log_layers_ecs
Custom LoopDemonstrates how to create a custom runner (to update an app manually)Nocargo run --example custom_loop
Drag and DropAn example that shows how to handle drag and drop in an appNocargo run --example drag_and_drop
EmptyAn empty application (does nothing)Nocargo run --example empty
Empty with DefaultsAn empty application with default pluginsYescargo run --example empty_defaults
Externally Driven Headless RendererUsing neo with manually driven update to render imagesNocargo run --example externally_driven_headless_renderer
HeadlessAn application that runs without default pluginsNocargo run --example headless --features neo_log
Headless RendererAn application that runs with no window, but renders into image fileNocargo run --example headless_renderer
Log layersIllustrate how to add custom log layersNocargo run --example log_layers
LogsIllustrate how to use generate log outputYescargo run --example logs
No RendererAn application that runs with default plugins and displays an empty window, but without an actual rendererNocargo run --example no_renderer
PluginDemonstrates the creation and registration of a custom pluginYescargo run --example plugin
Plugin GroupDemonstrates the creation and registration of a custom plugin groupYescargo run --example plugin_group
Render RecoveryDemonstrates how neo can recover from rendering failures.Nocargo run --example render_recovery
Return after RunShow how to return to main after the NEO app has exitedNocargo run --example return_after_run
Save Window PositionDemonstrates saving window position settingsNocargo run --example persisting_window_settings --features neo_settings
SettingsDemonstrates persistence of settingsYescargo run --example settings --features neo_settings
Thread Pool ResourcesCreates and customizes the internal thread poolNocargo run --example thread_pool_resources
Without WinitCreate an application without winit (runs single time, no event loop)Nocargo run --example without_winit

See also#