38 Builder& shader(tenno::shared_ptr<Shader> shader);
39 Builder& integer(
const std::string &name,
int val);
40 Builder& floating(
const std::string &name,
float val);
41 Builder& vector(
const std::string &name, glm::vec3 val);
42 Builder& texture(
const std::string &name,
43 tenno::shared_ptr<Texture> val,
int index);
46 Builder &watch(
const std::filesystem::path &path);
49 tenno::vector<std::filesystem::path> get_watch_paths()
const;
53 tenno::shared_ptr<Shader> _shader;
54 tenno::vector<std::pair<std::string, int>> ints;
55 tenno::vector<std::pair<std::string, float>> floats;
56 tenno::vector<std::pair<std::string, glm::vec3>> vectors;
57 tenno::vector<std::pair<std::string,
58 std::pair<int, tenno::shared_ptr<Texture>>>> textures;