Skip to main content

Module api

Module api 

Source
Expand description

Small contracts shared with embedding hosts. Guest-specific input and configuration live with their guest implementation.

Structs§

AdvanceResult
Result of one bounded execution call.
AudioChunk
Owned audio samples. The format is explicit rather than a universal default.
InstructionBudget
Maximum guest instructions to execute in one call. This is work, not elapsed host time or a requested number of guest ticks.
VideoFrame
Owned pixels in row-major order. Callers may retain this across advances.

Enums§

AudioFormat
PixelFormat