Skip to main content

Interface IRenderSubmission

Namespace: VelloSharp.Avalonia.Core.Rendering
Assembly: VelloSharp.Avalonia.Core.dll

Submits recorded scenes to backend-specific render pipelines.

public interface IRenderSubmission

Methods

SubmitScene(in RenderSubmissionContext, Scene, IReadOnlyList<Action<IGraphicsCommandEncoder>>?)

Submits a scene for rendering.

void SubmitScene(in RenderSubmissionContext context, Scene scene, IReadOnlyList<Action<IGraphicsCommandEncoder>>? commandCallbacks = null)

Parameters

context RenderSubmissionContext

Context describing the target device and surface.

scene Scene

The recorded scene to render.

commandCallbacks IReadOnlyList<Action<IGraphicsCommandEncoder>>?

Optional callbacks that can encode backend-specific work (compute passes, extra drawing).