When opening a texture in raw buffer viewer, scroll to selected point

This commit is contained in:
baldurk
2020-03-13 18:00:34 +00:00
parent 2375754a8a
commit 4f39279578
5 changed files with 113 additions and 26 deletions
+7
View File
@@ -287,6 +287,13 @@ struct IBufferViewer
)");
virtual void ScrollToRow(int row, MeshDataStage stage = MeshDataStage::VSIn) = 0;
DOCUMENT(R"(Scroll to the given column in the given stage's data.
:param int column: the column to scroll to.
:param ~renderdoc.MeshDataStage stage: The stage of the geometry pipeline to scroll within.
)");
virtual void ScrollToColumn(int column, MeshDataStage stage = MeshDataStage::VSIn) = 0;
DOCUMENT(R"(In a raw buffer viewer, load the contents from a particular buffer resource.
:param int byteOffset: The offset in bytes to the start of the data.