MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Apply

Method Apply

Source/Engine/Core/Config/GameSettings.cpp:203–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void GameSettings::Apply()
204{
205 PROFILE_CPU();
206#define APPLY_SETTINGS(type) \
207 { \
208 type* obj = type::Get(); \
209 if (obj) \
210 { \
211 obj->Apply(); \
212 } \
213 else \
214 { \
215 LOG(Warning, "Missing {0} settings", TEXT(#type)); \
216 } \
217 }
218 APPLY_SETTINGS(TimeSettings);
219 APPLY_SETTINGS(AudioSettings);
220 APPLY_SETTINGS(LayersAndTagsSettings);
221 APPLY_SETTINGS(PhysicsSettings);
222 APPLY_SETTINGS(StreamingSettings);
223 APPLY_SETTINGS(InputSettings);
224 APPLY_SETTINGS(GraphicsSettings);
225 APPLY_SETTINGS(NetworkSettings);
226 APPLY_SETTINGS(NavigationSettings);
227 APPLY_SETTINGS(LocalizationSettings);
228 APPLY_SETTINGS(BuildSettings);
229 APPLY_SETTINGS(PlatformSettings);
230#undef APPLY_SETTINGS
231}
232
233void GameSettings::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
234{

Callers 2

onLoaded_MainThreadMethod · 0.45
LoadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected