using Engine.Graphics.Pixel;
using OpenTK.Graphics.OpenGL;

namespace PresenterConsole;

public struct AsciiPixel : IPixel
{
  public PixelFormat Format => PixelFormat.Rg;
  public PixelType Type => PixelType.UnsignedByte;

  public PixelInternalFormat InternalFormat => PixelInternalFormat.Rg8;
  public SizedInternalFormat SizedInternalFormat => SizedInternalFormat.Rg8;

  public byte Luminance => R;
  public byte Color => G;

  public byte R;
  public byte G;

  public override string ToString() => $"{R}, {G}";
}