1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
//! NOTE: **docs.rs may not generate complete documentation for rafx because it does not enable any //! features in cargo when building the docs.** To generate complete documentation locally, run //! `cargo doc --no-deps --open` in the root of the crate. //! //! **Please see [additional documentation here](https://github.com/aclysma/rafx/blob/master/docs/index.md)** //! //! Rafx is a multi-backend renderer that prioritizes performance, flexibility, and productivity. It //! optionally integrates with the [`distill`](https://github.com/amethyst/distill) asset //! pipeline to provide workflows and tools suitable for real-world projects with multidisciplinary //! teams. //! //! This crate contains several layers: //! * [`rafx_api`]: Low-level graphics API abstraction //! * [`rafx_framework`]: Mid-level framework that eases resource management, lifetime handling, and //! draw call dispatching //! * [`rafx_assets`]: Asset layer that integrates with the //! [`distill`](https://github.com/amethyst/distill) asset pipeline //! * NOTE: The published version in crates.io does not include rafx-assets as `distill` is not //! published yet //! //! Rafx also provides tools for building shaders and packing assets. //! //! Rafx supports most mainstream platforms via `vulkan` and `metal` backends. Proprietary platforms //! can be supported by adding an additional backend. pub use rafx_base as base; pub use rafx_api as api; #[cfg(feature = "assets")] pub use rafx_assets as assets; #[cfg(feature = "rafx-nodes")] pub use rafx_nodes as nodes; #[cfg(feature = "framework")] pub use rafx_framework as framework; #[cfg(feature = "framework")] pub use rafx_framework::graph; #[cfg(feature = "rafx-visibility")] pub use rafx_visibility as visibility; #[cfg(feature = "rafx-nodes")] pub use nodes::declare_render_feature; #[cfg(feature = "rafx-nodes")] pub use nodes::declare_render_phase;