26 const std::string& vert_source,
27 const std::string& frag_source,
MRVIEWER_API void destroyShader(GLuint id)
Destroys shader program.
std::string line
some part of warning line to find
Definition MRCreateShader.h:19
MRVIEWER_API void createShader(const std::string &shader_name, const std::string &vert_source, const std::string &frag_source, GLuint &prog_id, const DisabledWarnings &suppressedWarns={})
This function creates shader and logs output.
int number
number is presented in some of gpu shader compilations output
Definition MRCreateShader.h:17
std::vector< ShaderWarning > DisabledWarnings
Definition MRCreateShader.h:22
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRCreateShader.h:15