using System; namespace RGB.NET.Core; /// /// Represents a generic sampler to combine multipel data entries to a single one. /// /// The type of the data to sample. public interface ISampler { /// /// Samples the specified data to a single pixel-buffer. /// /// The information containing the data to sample. /// The buffer used to write the resulting pixel to. void Sample(in SamplerInfo info, Span pixelData); }