Skip to main content

Class GraphicsDeviceLeaseExtensions

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

Extension helpers for instances.

public static class GraphicsDeviceLeaseExtensions

Inheritance

objectGraphicsDeviceLeaseExtensions

Inherited Members

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

Methods

TryGetWgpuResources(GraphicsDeviceLease, out WgpuDeviceResources)

Attempts to retrieve the underlying WebGPU device resources.

public static bool TryGetWgpuResources(this GraphicsDeviceLease lease, out WgpuDeviceResources resources)

Parameters

lease GraphicsDeviceLease

resources WgpuDeviceResources

Returns

bool