Skip to main content

Class WgpuDeviceResources

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

Encapsulates the WebGPU resources required by the Vello renderer.

public sealed class WgpuDeviceResources

Inheritance

objectWgpuDeviceResources

Inherited Members

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

Properties

Adapter

Gets the selected WebGPU adapter.

public WgpuAdapter Adapter { get; }

Property Value

WgpuAdapter

Device

Gets the WebGPU device used for rendering.

public WgpuDevice Device { get; }

Property Value

WgpuDevice

Instance

Gets the WebGPU instance used to acquire the adapter.

public WgpuInstance Instance { get; }

Property Value

WgpuInstance

Queue

Gets the queue associated with .

public WgpuQueue Queue { get; }

Property Value

WgpuQueue

Renderer

Gets the Vello renderer bound to the device.

public WgpuRenderer Renderer { get; }

Property Value

WgpuRenderer

RendererOptions

Gets the renderer options used to configure .

public RendererOptions RendererOptions { get; }

Property Value

RendererOptions