Skip to content
Axiom/Docs
Capabilities / frame

frame

@1

The current frame: its index, the time since the last one, and how stale the answers in it are.

3 callsSurface as of 2026-10-21

Calls

delta
delta() -> f32
In C, from surface.h
float axiom_frame_delta(void);
index
index() -> u64
In C, from surface.h
uint64_t axiom_frame_index(void);
staleness_ms
staleness_ms() -> u32
In C, from surface.h
uint32_t axiom_frame_staleness_ms(void);

Errors

A call that returns Result crosses as a status: 0 is success, and the others are these errors, by their index in the capability.

NoFrame