using System; namespace RGB.NET.Core { public readonly ref struct SamplerInfo { #region Properties & Fields public int Width { get; } public int Height { get; } public ReadOnlySpan Data { get; } #endregion #region Constructors public SamplerInfo(int width, int height, ReadOnlySpan data) { this.Width = width; this.Height = height; this.Data = data; } #endregion } }