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

Method m_getFunctionInfo

src/ShaderDebugger.cpp:390–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388 }
389
390 Function ShaderDebugger::m_getFunctionInfo(const std::string& fname)
391 {
392 const auto& funcs = m_compiler->GetFunctions();
393 for (const auto& func : funcs) {
394 if (func.Name == fname)
395 return func;
396 }
397
398 return { 0, "", {} };
399 }
400 void ShaderDebugger::m_clear()
401 {
402 if (m_compiler != nullptr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected