Files
UwUGL/shaders/colorshader.cpp
T
2026-07-08 22:17:50 -07:00

22 lines
373 B
C++

#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) {
return c;
}
};
}