Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlaxEngine/FlaxEngine
/ calculateMemoryUsage
Method
calculateMemoryUsage
Source/Engine/Graphics/Textures/GPUTexture.cpp:605–608 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
603
}
604
605
uint64 GPUTexture::calculateMemoryUsage() const
606
{
607
return RenderTools::CalculateTextureMemoryUsage(Format(), Width(), Height(), Depth(), MipLevels()) * ArraySize();
608
}
609
610
String GPUTexture::ToString() const
611
{
Callers
nothing calls this directly
Calls
6
MipLevels
Function · 0.85
ArraySize
Function · 0.85
Format
Function · 0.70
Width
Function · 0.70
Height
Function · 0.70
Depth
Function · 0.70
Tested by
no test coverage detected