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

Method SetArguments

src/ShaderDebugger.cpp:87–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void ShaderDebugger::SetArguments(bv_stack* args)
88 {
89 if (m_args != nullptr)
90 bv_stack_delete(m_args);
91
92 m_args = args;
93
94 bv_function* entryPtr = bv_program_get_function(m_prog, m_entry.c_str());
95 if (entryPtr == nullptr)
96 return;
97
98 m_stepper = bv_function_stepper_create(m_prog, entryPtr, NULL, m_args);
99 }
100
101 std::string ShaderDebugger::GetCurrentFunction()
102 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected