MCPcopy Create free account
hub / github.com/dfranx/SHADERed / SetBreakpoints

Method SetBreakpoints

src/SHADERed/Objects/FrameAnalysis.cpp:355–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 m_regionEndY = endY;
354 }
355 void FrameAnalysis::SetBreakpoints(const std::vector<const dbg::Breakpoint*>& breakpoints, const std::vector<glm::vec3>& bkptColors, const std::vector<const char*>& bkptPaths)
356 {
357 m_cleanBreakpoints();
358
359 m_breakpoint.resize(breakpoints.size());
360 for (int i = 0; i < m_breakpoint.size(); i++) {
361 m_breakpoint[i].Breakpoint = breakpoints[i];
362 m_breakpoint[i].Color = bkptColors[i];
363 m_breakpoint[i].PSPath = bkptPaths[i];
364
365 m_breakpoint[i].VM = nullptr;
366 m_breakpoint[i].Shader = nullptr;
367 }
368 m_hasBreakpoints = m_breakpoint.size() > 0;
369 }
370
371 void FrameAnalysis::RenderPass(PipelineItem* pass)
372 {

Callers 1

m_runFrameAnalysisMethod · 0.80

Calls 2

resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected