Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IppClub/Dora-SSR
/ ~Texture2D
Method
~Texture2D
Source/Cache/TextureCache.cpp:31–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
Texture2D::~Texture2D() {
32
_storageSize -= _info.storageSize;
33
_count--;
34
if (bgfx::isValid(_handle)) {
35
bgfx::destroy(_handle);
36
_handle = BGFX_INVALID_HANDLE;
37
}
38
}
39
40
uint32_t Texture2D::getCount() {
41
return _count;
Callers
nothing calls this directly
Calls
2
isValid
Function · 0.50
destroy
Function · 0.50
Tested by
no test coverage detected