Inviwo
0.9.10.1
Inviwo documentation
|
Public Member Functions | |
StringShaderResource (const std::string &key, const std::string &source) | |
virtual std::unique_ptr< ShaderResource > | clone () override |
virtual std::string | key () const override |
virtual std::string | source () const override |
void | setSource (const std::string &source) |
Public Member Functions inherited from inviwo::ShaderResource | |
template<typename T > | |
std::shared_ptr< Callback > | onChange (T &&callback) const |
Additional Inherited Members | |
Public Types inherited from inviwo::ShaderResource | |
using | Callback = std::function< void(const ShaderResource *)> |
Protected Attributes inherited from inviwo::ShaderResource | |
Dispatcher< void(const ShaderResource *)> | callbacks_ |