Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baldurk/renderdoc
/ area
Function
area
qrenderdoc/Windows/TextureViewer.cpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
#include
"ui_TextureViewer.h"
47
48
float area(const QSizeF &s)
49
{
50
return s.width() * s.height();
51
}
52
53
float aspect(const QSizeF &s)
54
{
Callers
1
UI_OnTextureSelectionChanged
Method · 0.70
Calls
2
width
Method · 0.45
height
Method · 0.45
Tested by
no test coverage detected