// // Created by kam on 9/14/26. // #pragma once #include #include "types.h" namespace Snail { class Uniform { public: enum class Type { S32, F32, Bool, Vec3, Mat4 }; Type type; std::any value; s32 id; explicit Uniform(s32 shader, const char* name, s32 value); explicit Uniform(s32 shader, const char* name, f32 value); explicit Uniform(s32 shader, const char* name, bool value); explicit Uniform(s32 shader, const char* name, vec3 value); explicit Uniform(s32 shader, const char* name, mat4 value); }; }