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

Method Apply

Source/Engine/Graphics/Graphics.cpp:66–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64GraphicsService GraphicsServiceInstance;
65
66void GraphicsSettings::Apply()
67{
68 Graphics::UseVSync = UseVSync;
69 Graphics::AAQuality = AAQuality;
70 Graphics::SSRQuality = SSRQuality;
71 Graphics::SSAOQuality = SSAOQuality;
72 Graphics::VolumetricFogQuality = VolumetricFogQuality;
73 Graphics::ShadowsQuality = ShadowsQuality;
74 Graphics::ShadowMapsQuality = ShadowMapsQuality;
75 Graphics::AllowCSMBlending = AllowCSMBlending;
76 Graphics::GlobalSDFQuality = GlobalSDFQuality;
77 Graphics::GIQuality = GIQuality;
78 Graphics::GICascadesBlending = GICascadesBlending;
79 Graphics::PostProcessSettings = ::PostProcessSettings();
80 Graphics::PostProcessSettings.BlendWith(PostProcessSettings, 1.0f);
81 Graphics::GammaColorSpace = GammaColorSpace;
82#if !USE_EDITOR // OptionsModule handles fallback fonts in Editor
83 Font::FallbackFonts = FallbackFonts;
84#endif
85}
86
87void Graphics::DisposeDevice()
88{

Callers

nothing calls this directly

Calls 2

PostProcessSettingsClass · 0.85
BlendWithMethod · 0.80

Tested by

no test coverage detected