Skip to main content

Class CompositionInterop.CompositionVirtualizer

Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll

public sealed class CompositionInterop.CompositionVirtualizer : SafeHandleZeroOrMinusOneIsInvalid, IDisposable

Inheritance

objectCriticalFinalizerObjectSafeHandleSafeHandleZeroOrMinusOneIsInvalidCompositionInterop.CompositionVirtualizer

Implements

IDisposable

Inherited Members

SafeHandleZeroOrMinusOneIsInvalid.IsInvalid, 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()

Constructors

CompositionVirtualizer()

public CompositionVirtualizer()

Methods

Clear()

public void Clear()

CopyPlan(Span<RowPlanEntry>)

public int CopyPlan(Span<RowPlanEntry> buffer)

Parameters

buffer Span<RowPlanEntry>

Returns

int

CopyRecycle(Span<RowPlanEntry>)

public int CopyRecycle(Span<RowPlanEntry> buffer)

Parameters

buffer Span<RowPlanEntry>

Returns

int

GetColumnSlice()

public ColumnSlice GetColumnSlice()

Returns

ColumnSlice

GetTelemetry()

public VirtualizerTelemetry GetTelemetry()

Returns

VirtualizerTelemetry

Plan(in RowViewportMetrics, in ColumnViewportMetrics)

public void Plan(in RowViewportMetrics rowMetrics, in ColumnViewportMetrics columnMetrics)

Parameters

rowMetrics RowViewportMetrics

columnMetrics ColumnViewportMetrics

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.

SetColumns(ReadOnlySpan<VirtualColumnStrip>)

public void SetColumns(ReadOnlySpan<VirtualColumnStrip> columns)

Parameters

columns ReadOnlySpan<VirtualColumnStrip>

SetRows(ReadOnlySpan<VirtualRowMetric>)

public void SetRows(ReadOnlySpan<VirtualRowMetric> rows)

Parameters

rows ReadOnlySpan<VirtualRowMetric>

TryGetWindow(out RowWindow)

public bool TryGetWindow(out RowWindow window)

Parameters

window RowWindow

Returns

bool