concinnity-dev 0.18.69

The Concinnity dev tooling library: world authoring, the in-engine editor, the debug server, docs and packaging
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Resolve the rendering backend once and expose it as a single cfg the crate
//! gates on (`backend_metal` / `backend_dx` / `backend_vk`), via the shared
//! `concinnity-toolchain` helper. The `#[cfg(backend_metal)] shader_reflect`
//! module gates on it, as do the editor / debug modules.
//!
//! This crate is a library, not a final binary, so it does NOT bundle the
//! graphics-SDK runtime DLLs next to an artifact or emit the Agility linker
//! exports; those belong to whichever package owns the final executable: the
//! root package, which builds both bins and the examples.

use concinnity_toolchain::{emit_backend_cfg, emit_check_cfgs, setup_graphics_sdks};

fn main() {
    emit_check_cfgs();
    setup_graphics_sdks(emit_backend_cfg());
}