Interface ISampler<T>
Represents a generic sampler to combine multipel data entries to a single one.
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface ISampler<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the data to sample. |
Methods
| Edit this page View SourceSample(in SamplerInfo<T>, in Span<T>)
Samples the specified data to a single pixel-buffer.
Declaration
void Sample(in SamplerInfo<T> info, in Span<T> pixelData)
Parameters
| Type | Name | Description |
|---|---|---|
| SamplerInfo<T> | info | The information containing the data to sample. |
| Span<T> | pixelData | The buffer used to write the resulting pixel to. |