Files
doom-dm/Engine/Renderer/Pixel/Rgb8.cs
2024-12-04 22:35:04 +03:00

16 lines
416 B
C#

using OpenTK.Graphics.OpenGL;
namespace Engine.Renderer.Pixel;
public struct Rgb8 : IPixel
{
public PixelFormat Format => PixelFormat.Rgb;
public PixelType Type => PixelType.UnsignedByte;
public PixelInternalFormat InternalFormat => PixelInternalFormat.Rgb8;
public SizedInternalFormat SizedInternalFormat => SizedInternalFormat.Rgb8;
public byte R;
public byte G;
public byte B;
}