INNER CODE UNIT · Rust

add_systems_to_dispatch

TeamAtomECS/AtomECS · src/atom_sources/mod.rs:54

fn add_systems_to_dispatch<T>(
    builder: &mut DispatcherBuilder<'static, 'static>,
    deps: &[&str],
) where T : AtomCreator + 'static {
    builder.add(
        emit::EmitNumberPerFrameSystem,
        "emit_number_per_frame",
        deps,
    );
    builder.add(
        emit::EmitFixedRateSystem,
        "emit_fixed_rate",
        &["emit_number_per_frame"],
    );
    builder.add(
        precalc::PrecalculateForSpeciesSystem::<oven::Oven<T>> {
            marker: PhantomData,
        },

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…