Files
UwUGL/shaders/colorshader.cpp
T

24 lines
407 B
C++
Raw Normal View History

2026-07-08 22:17:50 -07:00
#pragma once
#include <stdint.h>
#include "../datatypes.cpp"
#include "../helpers.cpp"
#include "../buffer.cpp"
#include "shaderbase.cpp"
namespace UwU {
class ColorShader : public ShaderBase<ColorShader> {
public:
ColorShader(Color c) {
this->c = c;
}
Color c;
Color shade(uint16_t x, uint16_t y) {
(void)x;
(void)y;
2026-07-08 22:17:50 -07:00
return c;
}
};
}