MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / shouldBeShownOnScreen

Method shouldBeShownOnScreen

CesiumUtility/src/CreditSystem.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129bool CreditSystem::shouldBeShownOnScreen(Credit credit) const noexcept {
130 if (credit._id < this->_credits.size() &&
131 credit._generation == this->_credits[credit._id].generation) {
132 return this->_credits[credit._id].showOnScreen;
133 }
134 return false;
135}
136
137void CreditSystem::setShowOnScreen(Credit credit, bool showOnScreen) noexcept {
138 if (credit._id < this->_credits.size() &&

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected