Skip to main content

rapier3d/pipeline/
mod.rs

1//! Structure for combining the various physics components to perform an actual simulation.
2
3#[cfg(feature = "alloc")]
4pub use collision_pipeline::CollisionPipeline;
5pub use event_handler::ActiveEvents;
6#[cfg(all(feature = "std", feature = "alloc"))]
7pub use event_handler::ChannelEventCollector;
8#[cfg(feature = "alloc")]
9pub use event_handler::EventHandler;
10#[cfg(feature = "alloc")]
11pub use physics_hooks::ActiveHooks;
12#[cfg(feature = "alloc")]
13pub use physics_hooks::{
14    ContactModificationContext, ModifiableContacts, ModifiableManifold, PairFilterContext,
15    PhysicsHooks,
16};
17#[cfg(feature = "alloc")]
18pub use physics_pipeline::{PhysicsPipeline, Quarantine};
19#[cfg(feature = "alloc")]
20pub use physics_world::PhysicsWorld;
21#[cfg(feature = "alloc")]
22pub use query_pipeline::{QueryFilter, QueryFilterFlags, QueryPipeline, QueryPipelineMut};
23
24#[cfg(all(feature = "debug-render", feature = "alloc"))]
25pub use self::debug_render_pipeline::{
26    DebugColor, DebugRenderBackend, DebugRenderMode, DebugRenderObject, DebugRenderPipeline,
27    DebugRenderStyle,
28};
29
30#[cfg(feature = "alloc")]
31mod collision_pipeline;
32mod event_handler;
33#[cfg(feature = "alloc")]
34mod physics_hooks;
35#[cfg(feature = "alloc")]
36mod physics_pipeline;
37#[cfg(feature = "alloc")]
38mod physics_world;
39#[cfg(feature = "alloc")]
40mod query_pipeline;
41#[cfg(feature = "alloc")]
42mod user_changes;
43
44#[cfg(all(feature = "debug-render", feature = "alloc"))]
45mod debug_render_pipeline;