This repository has been archived on 2026-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
toddcox-visualize-v0/cosets/include/shader.hpp

11 lines
294 B
C++

#pragma once
#include <glad/glad.h>
#include <string>
GLint build_shader(GLenum type, const std::string &name, const std::string &src);
GLint build_shader_file(GLenum type, const std::string &name, const std::string &file);
GLint build_program(const std::string &name, GLint vs, GLint fs);