oa::Environment
Stateful native environment session. The session borrows one Engine and privately owns its recorder/execution state. reset/step remain stateful commands; submit returns the exact completion for every command recorded since the previous completion. The public boundary never exposes context or queue controls.
Public Methods
Constructor & Destructor Documentation
Public Method Documentation
begin is idempotent while recording. recordCommands selects the owned execution session only for the callback's dynamic extent, so ambient context state is restored even on failure. A callback failure cancels the whole unsubmitted transaction.
Returns
oa::StatusThe declared return value.
cancel discards only unsubmitted commands. close completes an already submitted event, discards unsubmitted commands, and is idempotent.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
True after begin or the first recorded command and until submit accepts the transaction or cancel discards it. Host snapshots must reject this state because recorded writes have not reached the device.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
const oa::Matrix &The declared return value.
No public source comment is attached to this declaration.
Parameters
inCommandsconst oa::Fn<oa::Status ()> &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inSeedoa::U64—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
const EnvironmentSpec &The declared return value.
No public source comment is attached to this declaration.
Parameters
inActionconst oa::Matrix &—
Returns
oa::Result<EnvironmentTransition>The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U64The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Result<oa::Event>The declared return value.
No public source comment is attached to this declaration.
Parameters
inEventconst oa::Event &—
Returns
oa::StatusThe declared return value.