Types
Every type in the surface, generated from the IDL as last changed on 2026-10-21. A struct holds scalars and other structs and never a span, so its bytes mean the same thing on both sides of the boundary.
Shared types
Value types no capability owns. A position is a position whoever reads it, so every capability names these without qualifying them.
Vec2 { x: f32, y: f32 } Vec3 { x: f32, y: f32, z: f32 } Vec4 { x: f32, y: f32, z: f32, w: f32 } Quat { x: f32, y: f32, z: f32, w: f32 } Transform { position: Vec3, rotation: Quat, scale: Vec3 } Mat4 { c0: Vec4, c1: Vec4, c2: Vec4, c3: Vec4 } Clip { near: f32, far: f32 }
In C each is the same name with Axiom in front, such as AxiomVec3.
Mat4: A 4x4 matrix as four columns, column-major, which is how the camera's view and projection cross. Four Vec4 rather than sixteen floats so the field names say which is which.
Clip: Near and far clip planes, as one answer because they are read together.
Owned by a capability
Most of these are handles: an index and a generation the host checks on every call, so a handle to something that has gone is refused as stale rather than read.
Scalars
u32uint32_tu64uint64_tf32floatboolint32_t, 0 or 1strconst char*, uint32_t lengthBlobHow each of these crosses the boundary is on the guest ABI.