Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ CalcMask
Function
CalcMask
engine/gui/src/gui.cpp:1472–1474 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1470
}
1471
1472
static uint16_t CalcMask(uint16_t bits) {
1473
return (1 << bits) - 1;
1474
}
1475
1476
static uint64_t CalcRenderKey(uint64_t layer, uint64_t index) {
1477
return (layer << LAYER_SHIFT) | (index << INDEX_SHIFT);
Callers
1
UpdateScope
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected