15 #ifndef FPLBASE_PREPROCESSOR_H
16 #define FPLBASE_PREPROCESSOR_H
33 std::string *error_message);
49 const std::set<std::string> &defines,
50 std::string *error_message);
66 const char *
const *defines,
67 std::string *error_message);
81 const char *
const *defines, std::string *result);
85 #endif // FPLBASE_PREPROCESSOR_H
void PlatformSanitizeShaderSource(const char *source, const char *const *defines, std::string *result)
Prepares OpenGL shaders for compilation across desktop or mobile.
General utility functions, used by FPLBase, and that might be of use to people using the library: ...
bool LoadFileWithDirectives(const char *filename, std::string *dest, std::string *error_message)
Load a file like LoadFile(), but scan for directives.