mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-27 08:05:42 +00:00
Add a function to fetch the texture display config from texture viewer
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user