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

Implements Program class. More...

Include dependency graph for program.cpp:

Go to the source code of this file.

Namespaces

 RealSpace
 

Functions

void InitShaderResources ()
 

Variables

static constexpr float AMBIENT = 0.4f
 

Detailed 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.

Function Documentation

◆ InitShaderResources()

void InitShaderResources ( )
inline

Definition at line 21 of file program.cpp.

22 {
23  Q_INIT_RESOURCE(shaders);
24 }

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

Variable Documentation

◆ AMBIENT

constexpr float AMBIENT = 0.4f
staticconstexpr

Definition at line 26 of file program.cpp.

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