Allow renaming of a stage in the pipeline flowchart control

This commit is contained in:
baldurk
2015-01-18 12:05:01 +00:00
parent f89e5a80e2
commit 3b2d45131b
@@ -89,6 +89,14 @@ namespace renderdocui.Controls
Invalidate();
}
public void SetStageName(int index, KeyValuePair<string, string> name)
{
if (index >= 0 && index < m_StageNames.Length)
m_StageNames[index] = name;
Invalidate();
}
public void IsolateStage(int index)
{
if (m_StageNames != null && index >= 0 && index < m_StageNames.Length)