Inviwo
0.9.10.1
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 ()=0 |
virtual std::string | key () const =0 |
virtual std::string | source () const =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.