BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
program.cpp File Reference

Description

Implements Program class.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file program.cpp.

Include dependency graph for program.cpp:

Go to the source code of this file.

Namespaces

 GUI
 
 GUI::RealSpace
 

Functions

void InitShaderResources ()
 

Variables

static constexpr float AMBIENT = 0.4f
 

Function Documentation

◆ InitShaderResources()

void InitShaderResources ( )
inline

Definition at line 21 of file program.cpp.

22 {
23  Q_INIT_RESOURCE(shaders);
24 }

Referenced by GUI::RealSpace::Program::Program().

Variable Documentation

◆ AMBIENT

constexpr float AMBIENT = 0.4f
staticconstexpr

Definition at line 26 of file program.cpp.

Referenced by GUI::RealSpace::Program::set().