oa::Renderer
Renderer class in the OA Ui public surface.
Public Methods
Static Public Methods
Constructor & Destructor Documentation
Public Method Documentation
No public source comment is attached to this declaration.
Parameters
inFrameconst RenderFrame &—
Returns
oa::StatusThe declared return value.
beginFrame copies the complete semantic mesh snapshot before returning. No caller-owned mesh memory is retained.
Parameters
inMeshconst MeshData &—
inCameraconst CameraState &—
Returns
oa::StatusThe declared return value.
Scene compilation validates stable identities, hierarchy, transforms, and configured geometry capacity before recording. The semantic scene remains caller-owned and no caller memory is retained.
Parameters
inSceneconst Scene &—
inCameraconst CameraState &—
Returns
oa::StatusThe declared return value.
The UI overload starts immediate command collection. ui() is non-null only for a renderer created with oa::UiRenderConfig.
Parameters
inDeltaMsoa::F32—
inContentScaleoa::F32Default: 1.0F
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.
Mandatory explicit shutdown boundary. It waits only exact outstanding producer/consumer events and reports failures.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.
Normal submission keeps targets device-resident and records no host copy. consumeReadback is the explicit synchronous sink. markConsumed registers the exact graphics completion of an external image consumer. abandonFrame never waits; Collect recycles completed retired slots.
Parameters
inFrameconst RenderFrame &—
Returns
oa::Result<RenderReadback>The declared return value.
No public source comment is attached to this declaration.
Parameters
inFrameconst RenderFrame &—
inConsumerconst oa::Event &—
Returns
oa::StatusThe declared return value.
resize is non-waiting and requires all old-generation frames to have reached a reusable state.
Parameters
inWidthoa::U32—
inHeightoa::U32—
Returns
oa::StatusThe declared return value.
Explicit synchronous file sink. The frame is consumed before encoding; an encoder/filesystem failure does not resurrect its target lease.
Parameters
inFrameconst RenderFrame &—
inPathoa::StringView—
inQualityoa::U32Default: 90U
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inDependenciesoa::Span<const oa::Event>Default: = {}
Returns
oa::Result<RenderFrame>The declared return value.
No public source comment is attached to this declaration.
Returns
::oa::Ui *The declared return value.
No public source comment is attached to this declaration.
Returns
const ::oa::Ui *The declared return value.
No public source comment is attached to this declaration.
Parameters
inEngineoa::Engine &—
inConfigconst ::oa::UiRenderConfig &—
Returns
oa::Result<oa::UniquePtr<Renderer>>The declared return value.
No public source comment is attached to this declaration.
Parameters
inEngineoa::Engine &—
inConfigconst RendererConfig &Default: {}
Returns
oa::Result<oa::UniquePtr<Renderer>>The declared return value.