Skip to main content

Crate khora_core

Crate khora_core 

Source
Expand description

§Khora Core

Foundational crate containing traits, core types, and interface contracts that define the engine’s architecture.

Re-exports§

pub use context::EngineContext;
pub use context::WorldAccess;
pub use runtime::Backends;
pub use runtime::Resources;
pub use runtime::Runtime;
pub use runtime::Services;
pub use utils::timer::Stopwatch;

Modules§

agent
Traits for autonomous engine subsystems (Agents).
asset
Provides the foundational traits and primitive types for Khora’s asset system.
audio
Foundational, abstract components for Khora’s audio system.
context
Core engine context providing access to foundational subsystems.
control
Control system interfaces (GORNA, DCC).
ecs
Contains foundational, public-facing types related to the Entity-Component-System.
event
Provides foundational primitives for event-driven communication.
graph
Provides generic, reusable graph algorithms and data structures.
interpolation
Render-interpolation bookkeeping — the per-entity “previous pose” store.
lane
Lane Abstraction
math
Provides foundational mathematics primitives for 2D and 3D.
memory
Provides a public interface for querying engine-wide memory allocation statistics.
physics
Physics Abstractions
platform
Provides abstractions over platform-specific functionalities.
renderer
Provides the public, backend-agnostic rendering contracts for the Khora Engine.
runtime
Runtime containers — engine-wide injection points for services, backends, and resources.
scene
Groups all systems and data structures related to the logical concept of a “Scene”.
telemetry
Provides the foundational traits and data structures for engine telemetry.
time
The per-frame Time resource — the engine’s single clock.
ui
Core interfaces for the UI system.
utils
Provides a collection of general-purpose utilities for the Khora Engine.