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

Method AddFunctionDefinition

inc/ShaderDebugger/Compiler.h:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 inline void SetImmediate(bool s) { m_isImmediate = s; }
33 inline bool GetImmediate() { return m_isImmediate; }
34 inline void AddFunctionDefinition(const Function& func) { m_func.push_back(func); }
35 inline void AddStructureDefinition(const Structure& str) { m_structures.push_back(str); }
36 inline void AddGlobalDefinition(const Variable& var) { m_globals.push_back(var); }
37 inline void ClearDefinitions() { m_globals.clear(); m_structures.clear(); m_func.clear(); m_locals.clear(); m_localTypes.clear(); ClearImmediate(); }

Callers 1

ImmediateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected