mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
* This is supported currently in the API inspector, constant buffer previewer, and resource inspector. * The saved expansions are only saved while the capture is open, and will be reset each time.
This commit is contained in:
@@ -64,13 +64,20 @@ void APIInspector::OnCaptureClosed()
|
||||
{
|
||||
ui->apiEvents->clear();
|
||||
ui->callstack->clear();
|
||||
ui->apiEvents->clearInternalExpansions();
|
||||
m_EventID = 0;
|
||||
}
|
||||
|
||||
void APIInspector::OnSelectedEventChanged(uint32_t eventId)
|
||||
{
|
||||
ui->apiEvents->saveInternalExpansion(m_EventID, 0);
|
||||
|
||||
ui->apiEvents->clearSelection();
|
||||
|
||||
fillAPIView();
|
||||
|
||||
m_EventID = eventId;
|
||||
ui->apiEvents->applyInternalExpansion(m_EventID, 0);
|
||||
}
|
||||
|
||||
void APIInspector::addCallstack(rdcarray<rdcstr> calls)
|
||||
|
||||
Reference in New Issue
Block a user