2026-07-07 12:17:32 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
#include "../datatypes.cpp"
|
|
|
|
|
#include "../helpers.cpp"
|
|
|
|
|
#include "../buffer.cpp"
|
|
|
|
|
#include "shader.cpp"
|
|
|
|
|
|
|
|
|
|
namespace UwU {
|
2026-07-07 17:57:25 -07:00
|
|
|
class ColorShader {
|
2026-07-07 12:17:32 -07:00
|
|
|
public:
|
|
|
|
|
ColorShader(Color color) {
|
|
|
|
|
this->shaderColor = color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Color shaderColor;
|
|
|
|
|
|
2026-07-07 17:57:25 -07:00
|
|
|
Color color(uint16_t u, uint16_t v) {
|
2026-07-07 12:17:32 -07:00
|
|
|
(void)u;
|
|
|
|
|
(void)v;
|
|
|
|
|
return shaderColor;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|