MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / GetGlobalValue

Method GetGlobalValue

src/ShaderDebugger.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 bv_program_add_global(m_prog, varName.c_str());
35 }
36 bv_variable* ShaderDebugger::GetGlobalValue(const std::string& gvarname)
37 {
38 return bv_program_get_global(m_prog, const_cast<char*>(gvarname.c_str())); // TODO: why does get_global need non const??
39 }
40 void ShaderDebugger::SetSemanticValue(const std::string& name, bv_variable var)
41 {
42 std::string lName = name;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected