MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetShaderOverrideDir

Function SetShaderOverrideDir

engine/PoseidonGL33/EngineGL33_Shaders.cpp:706–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704// source as the only path (release behaviour).
705static std::string s_shaderOverrideDir;
706
707void SetShaderOverrideDir(const std::string& dir)
708{
709 s_shaderOverrideDir = dir;
710 if (!dir.empty())
711 LOG_INFO(Graphics, "GL33: shader override dir = '{}'", dir);
712}
713
714// Returns true if an override file was loaded (out=its contents).

Callers 1

Init3DStateMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected