Skip to main content

Struct RenderSubmissionContext

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

Carries the information required to submit a recorded scene to a render surface.

public readonly record struct RenderSubmissionContext : IEquatable<RenderSubmissionContext>

Implements

IEquatable<RenderSubmissionContext>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

RenderSubmissionContext(GraphicsDeviceLease, RenderSurfaceLease, RenderParams, Matrix)

Carries the information required to submit a recorded scene to a render surface.

public RenderSubmissionContext(GraphicsDeviceLease Device, RenderSurfaceLease Surface, RenderParams RenderParams, Matrix Transform)

Parameters

Device GraphicsDeviceLease

The device lease to use for rendering.

Surface RenderSurfaceLease

The surface lease representing the target framebuffer or swapchain image.

RenderParams RenderParams

Renderer parameters describing dimensions and format preferences.

Transform Matrix

Root transform applied to the scene when it was recorded.

Properties

Device

The device lease to use for rendering.

public GraphicsDeviceLease Device { get; init; }

Property Value

GraphicsDeviceLease

RenderParams

Renderer parameters describing dimensions and format preferences.

public RenderParams RenderParams { get; init; }

Property Value

RenderParams

Surface

The surface lease representing the target framebuffer or swapchain image.

public RenderSurfaceLease Surface { get; init; }

Property Value

RenderSurfaceLease

Transform

Root transform applied to the scene when it was recorded.

public Matrix Transform { get; init; }

Property Value

Matrix