mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Implement GL pipeline state viewer for Qt
This commit is contained in:
1 parent
a200ed8455
commit
d0aec2197d
7 files changed
+7827
-25
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user