MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / cleanup

Method cleanup

Source/Node/ClipNode.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void ClipNode::cleanup() {
95 if (_flags.isOff(Node::Cleanup)) {
96 Node::cleanup();
97 if (_stencil) {
98 if (!_stencil->getParent()) {
99 _stencil->cleanup();
100 }
101 _stencil = nullptr;
102 }
103 }
104}
105
106void ClipNode::drawFullScreenStencil(uint8_t maskLayer, bool value) {
107 SharedRendererManager.flush();

Callers

nothing calls this directly

Calls 3

cleanupFunction · 0.85
isOffMethod · 0.80
getParentMethod · 0.45

Tested by

no test coverage detected