Skip to main content

Crate vertra

Crate vertra 

Source
Expand description

§Vertra

A lightweight, cross-platform 3D rendering engine built on wgpu.

§Core modules

ModulePurpose
cameraPerspective camera, view/projection matrix construction
sceneRoot scene container; spawn, texture, and draw APIs
worldScene-graph (object hierarchy, events, spatial queries)
objectsobjects::Object - the fundamental scene-graph node
geometryProcedural geometry primitives (cube, sphere, capsule, …)
transformLocal-space TRS transform and matrix conversion
meshCPU mesh builder and GPU buffer baking
mathColumn-major 4×4 matrix for rendering math
timerSimple countdown timer for use in game logic
windowBuilder-pattern windowing and event-loop host
editorBuilt-in static scene editor (gizmos, orbit cam, inspector)
vtrBinary .vtr scene serialization format
constantsEngine-wide default constants
eventRe-exports of winit event types used throughout the API
text_labelIndividual screen-space text label structures
text_overlayScreen-space text overlay management

Modules§

camera
constants
Engine-wide default constants.
editor
Static scene editor — orbit camera, transform gizmos, object inspector.
event
Re-exports of winit event types used throughout the Vertra public API.
geometry
math
Column-major 4x4 matrix used for view, projection, and model transforms.
mesh
objects
pipeline
scene
script
text_label
Individual screen-space text label representation.
text_overlay
Screen-space text overlay.
timer
transform
vtr
VTR Binary Scene Format
window
world