Files
cell/docs/api/prosperon.md
2025-02-09 00:07:01 -06:00

811 B

prosperon

prosperon

engine_start

on(type, callback)

dispatch(type, data)

appupdate(...args)

update(...args)

physupdate(...args)

gui(...args)

hud(...args)

draw(...args)

imgui(...args)

app(...args)

camera

A hierarchical transform storing 3D or 2D position, rotation (as a quaternion), and scale. Can have a parent transform. Freed automatically on GC.

An application window, created via prosperon.engine_start or SDL calls. Freed on GC.

A handle for low-level GPU operations via SDL GPU. Freed on GC.

An application window, created via prosperon.engine_start or SDL calls. Freed on GC.

present

Perform the per-frame rendering and present the final swapchain image, including imgui pass if available.

Returns: None

exit