Function openrailwaymap_exporter::app3d::setup_app
source · pub fn setup_app(app: &mut App, app_resource: AppResource)
Expand description
Configures a Bevy application with the necessary plugins, resources, and systems.
This function configures a Bevy application with the required plugins,
resources, and systems based on the given AppResource
. The caller is
responsible for inserting any additional resources and running the application.
Arguments
app
- A mutable reference to abevy::prelude::App
instance to configure.app_resource
- AnAppResource
to configure the application.