Skip to main content

Class VelloRendererHandle

Namespace: VelloSharp.Ffi.Gpu
Assembly: VelloSharp.Ffi.Gpu.dll

public sealed class VelloRendererHandle : SafeHandle, IDisposable

Inheritance

objectCriticalFinalizerObjectSafeHandleVelloRendererHandle

Implements

IDisposable

Inherited Members

SafeHandle.Close(), SafeHandle.DangerousAddRef(ref bool), SafeHandle.DangerousGetHandle(), SafeHandle.DangerousRelease(), SafeHandle.Dispose(), SafeHandle.SetHandleAsInvalid(), SafeHandle.IsClosed, SafeHandle.IsInvalid, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override bool IsInvalid { get; }

Property Value

bool

Methods

Create(uint, uint)

public static VelloRendererHandle Create(uint width, uint height)

Parameters

width uint

height uint

Returns

VelloRendererHandle

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.