Show / Hide Table of Contents

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 Source

Sample(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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX