4 #include <GLFW/glfw3.h>
29 char const*
name =
nullptr;
ShaderType
Definition: ShaderProgramManager.hpp:13
Definition: ShaderProgramManager.hpp:23
std::vector< ProgramEntry > program_entries
Definition: ShaderProgramManager.hpp:40
SelectedProgram SelectProgram(std::string const &label, std::int32_t &program_index)
Definition: ShaderProgramManager.cpp:68
~ShaderProgramManager()
Definition: ShaderProgramManager.cpp:13
std::vector< char const * > program_names
Definition: ShaderProgramManager.hpp:41
void CreateAndRegisterComputeProgram(char const *const program_name, std::string const &filename, GLuint &program)
Definition: ShaderProgramManager.cpp:40
std::pair< GLuint &, ProgramData > ProgramEntry
Definition: ShaderProgramManager.hpp:39
void CreateAndRegisterProgram(char const *const program_name, ProgramData const &program_data, GLuint &program)
Definition: ShaderProgramManager.cpp:23
bool ReloadAllPrograms()
Definition: ShaderProgramManager.cpp:53
void ProcessProgram(std::size_t program_index)
Definition: ShaderProgramManager.cpp:82
std::map< ShaderType, std::string > ProgramData
Definition: ShaderProgramManager.hpp:25
Definition: ShaderProgramManager.hpp:26
GLuint const * program
Definition: ShaderProgramManager.hpp:28
char const * name
Definition: ShaderProgramManager.hpp:29
bool was_selection_changed
Definition: ShaderProgramManager.hpp:27