MCPcopy Create free account
hub / github.com/chrxh/alien / initIntern

Method initIntern

source/Gui/GpuSettingsDialog.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void GpuSettingsDialog::initIntern(SimulationFacade simulationFacade)
18{
19 _simulationFacade = simulationFacade;
20
21 GpuSettings gpuSettings;
22 gpuSettings.numBlocks = GlobalSettings::get().getValue("settings.gpu.num blocks", gpuSettings.numBlocks);
23
24 _simulationFacade->setGpuSettings_async(gpuSettings);
25}
26
27void GpuSettingsDialog::shutdownIntern()
28{

Callers

nothing calls this directly

Calls 2

getValueMethod · 0.80
setGpuSettings_asyncMethod · 0.45

Tested by

no test coverage detected