MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / UpdateDetailObjectShadows

Function UpdateDetailObjectShadows

Source/GUI/dimgui/settings_screen.cpp:137–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static void UpdateDetailObjectShadows(bool val) {
138 config.GetRef("detail_object_disable_shadows") = !val;
139 Graphics::Instance()->SetDetailObjectShadows(val);
140}
141
142static void UpdateDetailObjectsReduced(bool val) {
143 config.GetRef("detail_objects_reduced") = val;

Callers 1

DrawSettingsImGuiFunction · 0.85

Calls 2

GetRefMethod · 0.45

Tested by

no test coverage detected