Skip to main content

loam_runtime/
lib.rs

1pub mod bridge;
2pub mod command;
3pub mod domain;
4pub mod entity;
5pub mod field;
6pub mod host;
7pub mod input;
8pub mod phase;
9#[cfg(feature = "physics")]
10pub mod physics;
11pub mod relation;
12pub mod session;
13pub mod store;
14pub mod stores;
15pub mod value;
16pub mod view;
17
18pub use bridge::{Bridge, BridgeError, BridgeSpec, Drag, DragError, DragRelease};
19pub use command::{
20    AppCommand, Command, CommandResult, Commands, Dispatch, Outcome, Rejection, Request, RequestId,
21    Reservation, SpawnBundle,
22};
23pub use domain::{
24    ChartCommand, ChartId, ChartPoint, ChartPose, ChartTangent, Domain, DomainBuilder, DomainError,
25    DomainHandle, DomainId, DomainSnapshot, DomainSpace, Domains, EdgeShading, Facility, Field,
26    FieldKind, FieldProgram, Homogeneous, Instance, Pose, TypedDomain,
27};
28pub use entity::{Entities, EntitiesSnapshot, Entity, EntityKey, Epoch, RuntimeId, SceneId};
29pub use field::{
30    evaluate, evaluate_bounded, evaluate_bounded_counted, evaluate_counted, FieldCost, FieldCounts,
31    FieldError, FieldNode, FieldOp, FieldPrimitive, FIELD_FAR, FIELD_PROGRAM_ERROR, MAX_POSE_DEPTH,
32    MAX_STACK, OP_BOX, OP_HALFSPACE, OP_HALFSPACE4, OP_HYPERSPHERE, OP_INTERSECTION, OP_POP_POSE,
33    OP_PUSH_POSE, OP_SMOOTH_UNION, OP_SPHERE, OP_SUBTRACTION, OP_UNION,
34};
35pub use host::{HostConfig, HostError};
36pub use input::{
37    ActionEvent, ActionId, Bindings, HostMessages, Input, Key, Pointer, PointerButton, PointerPhase,
38};
39pub use phase::{Ctx, Order, Phase, PhaseError, Step, System, SystemEntry, Tick};
40#[cfg(feature = "physics")]
41pub use physics::{GrabConfig, GrabHold, Physics, PhysicsConfig};
42pub use relation::{Endpoints, Link, LinkId, Relation, RelationSnapshot};
43pub use session::{
44    Growth, Library, Material, MaterialId, PaletteId, PreparedGeometry, PreparedId, Publication,
45    PublishError, PublishedView, Records, RestoreError, Session, SessionSnapshot, SimConfig,
46    SimConfigError, Stamp, DOMAIN_STEP,
47};
48pub use store::{
49    Change, Changes, Cursor, LogCapacity, Owner, Part, Partition, PartitionError, Parts,
50    RecordBuffer, Removal, SchemaId, Store, StoreError, StoreField, StoreSnapshot, Version,
51    DEFAULT_LOG_CAPACITY,
52};
53pub use stores::{HasRelation, HasStore, Stores};
54pub use value::Value;
55pub use view::{
56    DepthEnvelope, DomainRay, Eye, Identity3, ImageRay, ImageSpace, ImageSpaceId, InstanceRecord,
57    Klein, Pick, Placement, PointRecord, Projection4, RefusalSource, Rigid, Section4, SectionCut,
58    SegmentRecord, TriangleRecord, ViewId, ViewMapping, ViewRecords, ViewRefusal, ViewRefusals,
59    ViewSpec, ViewStyle, ViewSummary, ViewTarget, Views, ViewsSnapshot,
60};