MCPcopy Create free account
hub / github.com/axmolengine/axmol / isValidUniform

Function isValidUniform

core/renderer/Material.cpp:577–580  ·  view source on GitHub ↗

Helpers implementation

Source from the content-addressed store, hash-verified

575
576// Helpers implementation
577static bool isValidUniform(const char* name)
578{
579 return !(strcmp(name, "defines") == 0 || strcmp(name, "vertexShader") == 0 || strcmp(name, "fragmentShader") == 0);
580}
581
582static const char* getOptionalString(Properties* properties, const char* key, const char* defaultValue)
583{

Callers 1

parseShaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected