Convert(ReadOnlySpan, Span) Method

Definition

Assembly Broadside.dll

Converts one colour given as its components.

public void Convert(ReadOnlySpan<float> components, Span<float> destination)

Parameters

components
ReadOnlySpan<Single>

The components; values beyond InputCount are ignored and missing ones read as 0.

destination
Span<Single>

At least OutputCount values; receives the device colour, each 0 to 1.