MCPcopy Create free account
hub / github.com/defold/defold / CalcRenderKey

Function CalcRenderKey

engine/gui/src/gui.cpp:1476–1478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1474 }
1475
1476 static uint64_t CalcRenderKey(uint64_t layer, uint64_t index) {
1477 return (layer << LAYER_SHIFT) | (index << INDEX_SHIFT);
1478 }
1479
1480 static void UpdateScope(InternalNode* node, StencilScope& scope, StencilScope& child_scope, const StencilScope* parent_scope, uint16_t index, uint16_t non_inv_clipper_count, uint16_t inv_clipper_count, uint16_t bit_field_offset) {
1481 int bit_range = CalcBitRange(non_inv_clipper_count);

Callers 1

CollectRenderEntriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected