MCPcopy Create free account
hub / github.com/Illation/ETEngine / InitRenderConfig

Method InitRenderConfig

Engine/source/EtFramework/Config/Config.cpp:117–128  ·  view source on GitHub ↗

--------------------------------- Config::InitRenderConfig Pass the graphics settings to the rendering configuration

Source from the content-addressed store, hash-verified

115// Pass the graphics settings to the rendering configuration
116//
117void Config::InitRenderConfig()
118{
119 if (m_HasRenderRef)
120 {
121 render::RenderingSystems::Instance()->SetGraphicsSettings(m_Settings.m_Graphics);
122 }
123 else
124 {
125 render::RenderingSystems::AddReference(m_Settings.m_Graphics);
126 m_HasRenderRef = true;
127 }
128}
129
130//---------------------------------
131// Config::Save

Callers 1

RunMethod · 0.80

Calls 1

SetGraphicsSettingsMethod · 0.80

Tested by

no test coverage detected