using System.Runtime.InteropServices;
using OpenTK.Graphics.OpenGL;

namespace Engine.Graphics.Pixel;

[StructLayout(LayoutKind.Sequential)]
public struct R8 : IPixel
{
  public PixelFormat Format => PixelFormat.Red;
  public PixelType Type => PixelType.UnsignedByte;

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

  public byte R;
}