mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-16 09:09:26 +00:00
Add a function to fetch the texture display config from texture viewer
This commit is contained in:
3 files changed
+12
No files matched your search
@@ -964,6 +964,10 @@ struct ITextureViewerInvoker : UIThreadInvoker<ITextureViewer>
|
||||
return InvokeVoidFunction(&ITextureViewer::SetTextureOverlay, overlay);
|
||||
}
|
||||
bool IsZoomAutoFit() { return InvokeRetFunction<bool>(&ITextureViewer::IsZoomAutoFit); }
|
||||
TextureDisplay GetTextureDisplay()
|
||||
{
|
||||
return InvokeRetFunction<TextureDisplay>(&ITextureViewer::GetTextureDisplay);
|
||||
}
|
||||
float GetZoomLevel() { return InvokeRetFunction<float>(&ITextureViewer::GetZoomLevel); }
|
||||
void SetZoomLevel(bool autofit, float zoom)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user