ShaderSource parse_shader(const std::string &source)
Definition: shader_preprocessor.cpp:157
ShaderSource load_shader_file(const char *filepath)
Definition: shader_preprocessor.cpp:342
std::string get_shader_header()
Definition: shader_preprocessor.cpp:3
Definition: shader_preprocessor.h:7
std::string vertex_source
Definition: shader_preprocessor.h:8
bool is_compute
Definition: shader_preprocessor.h:11
bool is_loaded
Definition: shader_preprocessor.h:12
std::string compute_source
Definition: shader_preprocessor.h:10
std::string fragment_source
Definition: shader_preprocessor.h:9