Skip to main content

Class Renderer

Namespace: VelloSharp
Assembly: VelloSharp.dll

public sealed class Renderer : IDisposable

Inheritance​

object ← Renderer

Implements​

IDisposable

Inherited Members​

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

Constructors​

Renderer(uint, uint, RendererOptions?)​

public Renderer(uint width, uint height, RendererOptions? options = null)

Parameters​

width uint

height uint

options RendererOptions?

Methods​

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~Renderer()​

protected ~Renderer()

Render(Scene, RenderParams, Span<byte>, int)​

public void Render(Scene scene, RenderParams renderParams, Span<byte> destination, int strideBytes)

Parameters​

scene Scene

renderParams RenderParams

destination Span<byte>

strideBytes int

Resize(uint, uint)​

public void Resize(uint width, uint height)

Parameters​

width uint

height uint