Skip to content
Konjure / spatial intelligence

Render

← Builtin reference

A typed presentation contract with one render operation.

Signature

trait Render { func render() -> Unit; }

Querying Render implementers is language behavior. Rendering remains an adapter responsibility; declaring this trait never schedules an automatic render call.

Methods

render

func render() -> Unit

Required presentation operation. A host or system chooses when to invoke it.

Examples

Implement a render operation

The trait only checks the method contract.

Tick 0 · 0.00 s⌘ / Ctrl + EnterThis device
main.kj
Loading the language runtime…
Output 0
No output.
Expected output
rendered

Rust definition

Trait declaration checked by the interpreter; graphics handles remain host-owned.

See also