Add a function to fetch the texture display config from texture viewer

This commit is contained in:
baldurk
2026-08-13 17:46:46 +01:00
parent 7d2477026a
commit 2d0ba78a49
3 changed files with 12 additions and 0 deletions
+7
View File
@@ -851,6 +851,13 @@ If no location is currently selected or there is no current texture, this will r
)");
virtual bool IsZoomAutoFit() = 0;
DOCUMENT(R"(Return the currently configured texture display structure.
:return: The current texture display.
:rtype: renderdoc.TextureDisplay
)");
virtual TextureDisplay GetTextureDisplay() = 0;
DOCUMENT(R"(Return the current zoom level, whether manually set or auto-calculated.
:return: The current zoom level, with 100% being represented as 1.0.