Skip to main content

Module ops

Module ops 

Source
Expand description

Recorded backend effects: simulation systems queue their GPU mutations as ops instead of calling the backend directly, and the submit path replays them in record order before the frame’s draw. Ordering across systems is preserved by the single queue, so the GPU-visible result matches the old direct calls exactly. Ops own their payloads, so a queue can cross a thread boundary with the snapshot that carries it.

Structs§

RenderOps
Backend effects recorded by simulation systems, replayed in order by the submit path. The buffer keeps its capacity across frames.
ReplayOutcome
What one queue replay produced, for the simulation side.

Enums§

OpFailure
An op whose failure the simulation side must observe and roll back; fire-and-forget ops log at replay instead.