Skip to main content

Class VelloSurfaceRenderEventArgs

Namespace: VelloSharp.Windows
Assembly: VelloSharp.Windows.Core.dll

public sealed class VelloSurfaceRenderEventArgs : EventArgs

Inheritance​

object ← EventArgs ← VelloSurfaceRenderEventArgs

Inherited Members​

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

Properties​

Context​

public WindowsGpuContext Context { get; }

Property Value​

WindowsGpuContext

Delta​

public TimeSpan Delta { get; }

Property Value​

TimeSpan

FrameId​

public long FrameId { get; }

Property Value​

long

Handled​

public bool Handled { get; }

Property Value​

bool

IsAnimationFrame​

public bool IsAnimationFrame { get; }

Property Value​

bool

Lease​

public WindowsGpuContextLease Lease { get; }

Property Value​

WindowsGpuContextLease

PixelSize​

public WindowsSurfaceSize PixelSize { get; }

Property Value​

WindowsSurfaceSize

RenderParams​

public RenderParams RenderParams { get; set; }

Property Value​

RenderParams

Renderer​

public WgpuRenderer Renderer { get; }

Property Value​

WgpuRenderer

Scene​

public Scene Scene { get; }

Property Value​

Scene

SupportsSkiaSurface​

public bool SupportsSkiaSurface { get; }

Property Value​

bool

SupportsSurfaceHandle​

public bool SupportsSurfaceHandle { get; }

Property Value​

bool

SurfaceHandle​

public SurfaceHandle SurfaceHandle { get; }

Property Value​

SurfaceHandle

TextureFormat​

public WgpuTextureFormat TextureFormat { get; }

Property Value​

WgpuTextureFormat

TextureView​

public WgpuTextureView TextureView { get; }

Property Value​

WgpuTextureView

Timestamp​

public TimeSpan Timestamp { get; }

Property Value​

TimeSpan

Methods​

CreateSkiaSurface(SKSurfaceProperties?, AntialiasingMode?)​

public SKSurface? CreateSkiaSurface(SKSurfaceProperties? properties = null, AntialiasingMode? antialiasingOverride = null)

Parameters​

properties SKSurfaceProperties?

antialiasingOverride AntialiasingMode?

Returns​

SKSurface?

RenderScene(Scene)​

public void RenderScene(Scene scene)

Parameters​

scene Scene

RenderScene(Scene, RenderParams)​

public void RenderScene(Scene scene, RenderParams parameters)

Parameters​

scene Scene

parameters RenderParams