21 #ifndef RE_SHADERREGISTRY_H_
22 #define RE_SHADERREGISTRY_H_
35 myLastLookupShader(nullptr),
37 myLastLookupTagsValid(false)
42 int registerShader(
const char *program_files,
51 void setNameBit(
const char *
name,
exint bit);
53 void printTags(
exint tags);
55 bool generateProgramAtlas(
const char *atlas_filename);
56 void generateProgramAtlas(std::ostream &os);
59 void printTagNode(std::ostream &os,
61 int indent,
bool single);
65 ShaderMapT myShaderMap;
68 mutable exint myLastLookupTags;
69 mutable bool myLastLookupTagsValid;
GLuint const GLchar * name
Simple interface to building a shader from a .prog file.