MCPcopy Create free account
hub / github.com/baldurk/renderdoc / on_resourceDetails_clicked

Method on_resourceDetails_clicked

qrenderdoc/Windows/TextureViewer.cpp:3999–4012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3997}
3998
3999void TextureViewer::on_resourceDetails_clicked()
4000{
4001 TextureDescription *texptr = GetCurrentTexture();
4002
4003 if(texptr)
4004 {
4005 if(!m_Ctx.HasResourceInspector())
4006 m_Ctx.ShowResourceInspector();
4007
4008 m_Ctx.GetResourceInspector()->Inspect(texptr->resourceId);
4009
4010 ToolWindowManager::raiseToolWindow(m_Ctx.GetResourceInspector()->Widget());
4011 }
4012}
4013
4014void TextureViewer::on_saveTex_clicked()
4015{

Callers

nothing calls this directly

Calls 5

InspectMethod · 0.80
HasResourceInspectorMethod · 0.45
ShowResourceInspectorMethod · 0.45
GetResourceInspectorMethod · 0.45
WidgetMethod · 0.45

Tested by

no test coverage detected