|  | Inviwo 0.9.12-pre
    Inviwo documentation | 
Abstraction for a shader source file. More...
#include <shaderresource.h>
| Public Types | |
| using | Callback = std::function<void(const ShaderResource*)> | 
| Public Member Functions | |
| virtual std::unique_ptr< ShaderResource > | clone () const =0 | 
| virtual const std::string & | key () const =0 | 
| virtual const std::string & | source () const =0 | 
| virtual void | setSource (std::string_view source)=0 | 
| template<typename T> | |
| std::shared_ptr< Callback > | onChange (T &&callback) const | 
| Protected Attributes | |
| Dispatcher< void(const ShaderResource *)> | callbacks_ | 
Abstraction for a shader source file.