Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shader.cc
Go to the documentation of this file.
1 
18 #include "ion/gfx/shader.h"
19 
21 
22 namespace ion {
23 namespace gfx {
24 
26 
28 
29 Shader::Shader() : source_(kSourceChanged, std::string(), this) {}
30 
31 Shader::Shader(const std::string& source)
32  : source_(kSourceChanged, source, this) {}
33 
34 Shader::~Shader() {}
35 
36 } // namespace gfx
37 } // namespace ion
ShaderBase()
The constructor is protected since this is a base class.
Definition: shader.cc:25
~ShaderBase() override
The destructor is protected because all base::Referent classes must have protected or private destruc...
Definition: shader.cc:27