Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ HashResourcePtr
Function
HashResourcePtr
trinityal/src/Tr2ResourceSetAL.cpp:18–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
template <typename T>
18
void HashResourcePtr( const T& resource, uint32_t& hash )
19
{
20
auto p = resource.TrinityALImpl_GetObject();
21
hash = CcpHashFNV1( &p, sizeof( p ), hash );
22
}
23
24
}
25
Callers
1
UpdateHash
Method · 0.85
Calls
1
TrinityALImpl_GetObject
Method · 0.45
Tested by
no test coverage detected