16 lines
416 B
C#
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;
|
|
} |