Class VelloRendererHandle
Namespace: VelloSharp.Ffi.Gpu
Assembly: VelloSharp.Ffi.Gpu.dll
public sealed class VelloRendererHandle : SafeHandle, IDisposable
Inheritance
object ← CriticalFinalizerObject ← SafeHandle ← VelloRendererHandle
Implements
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
Methods
Create(uint, uint)
public static VelloRendererHandle Create(uint width, uint height)
Parameters
width
uint
height
uint
Returns
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()
Returns
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.