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

Function getOptionalString

core/renderer/Material.cpp:582–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582static const char* getOptionalString(Properties* properties, const char* key, const char* defaultValue)
583{
584
585 const char* ret = properties->getString(key);
586 if (!ret)
587 ret = defaultValue;
588
589 return ret;
590}
591
592}

Callers 2

parseSamplerMethod · 0.85
parseShaderMethod · 0.85

Calls 1

getStringMethod · 0.45

Tested by

no test coverage detected