Crate khora_sdk

Crate khora_sdk 

Source
Expand description

The public-facing Software Development Kit (SDK) for the Khora Engine.

This is the only crate that should be used by game developers. All internal crates (khora-agents, khora-control, etc.) are implementation details.

Modules§

prelude
Common imports for convenience.

Structs§

Engine
The main entry point for the Khora Engine.
EngineContext
Engine context providing access to various subsystems.
GameWorld
A high-level facade over the internal ECS World and Assets registry.
Vessel
A high-level wrapper around an ECS entity.

Enums§

InputEvent
An engine-internal representation of a user input event.

Traits§

Application
Application trait for user-defined game logic.

Functions§

spawn_cube_at
Creates a Vessel with a cube mesh at a specific position.
spawn_plane
Creates a Vessel with a plane mesh at the origin.
spawn_sphere
Creates a Vessel with a sphere mesh at the origin.