Implement GL pipeline state viewer for Qt

This commit is contained in:
baldurk
2017-01-24 19:02:29 +00:00
parent a200ed8455
commit d0aec2197d
7 changed files with 7827 additions and 25 deletions
-1
View File
@@ -236,7 +236,6 @@ namespace renderdoc
public float Left, Bottom;
public float Width, Height;
public double MinDepth, MaxDepth;
public bool Enabled;
};
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public Viewport[] Viewports;
@@ -3138,12 +3138,12 @@ namespace renderdocui.Windows.PipelineState
int i = 0;
foreach (var v in rs.Viewports)
{
rows.Add(new object[] { i, v.Enabled, v.Left, v.Bottom, v.Width, v.Height, v.MinDepth, v.MaxDepth });
rows.Add(new object[] { i, v.Left, v.Bottom, v.Width, v.Height, v.MinDepth, v.MaxDepth });
i++;
}
ExportHTMLTable(writer, new string[] { "Slot", "Enabled", "Left", "Bottom", "Width", "Height", "Min Depth", "Max Depth" }, rows.ToArray());
ExportHTMLTable(writer, new string[] { "Slot", "Left", "Bottom", "Width", "Height", "Min Depth", "Max Depth" }, rows.ToArray());
}
{