MCPcopy Create free account
hub / github.com/baldurk/renderdoc / setHistory

Method setHistory

qrenderdoc/Windows/PixelHistoryView.cpp:74–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void setHistory(const rdcarray<PixelModification> &history)
75 {
76 m_ModList.reserve(history.count());
77 for(const PixelModification &h : history)
78 m_ModList.push_back(h);
79
80 m_Loading = false;
81
82 emit beginResetModel();
83
84 setShowFailures(true);
85
86 emit endResetModel();
87 }
88
89 void setShowFailures(bool show)
90 {

Callers 1

SetHistoryMethod · 0.80

Calls 3

reserveMethod · 0.45
countMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected