Public Member Functions | |
StringShaderResource (std::string_view key, std::string_view source) | |
StringShaderResource (const StringShaderResource &rhs)=delete | |
StringShaderResource (StringShaderResource &&rhs) noexcept=default | |
StringShaderResource & | operator= (const StringShaderResource &)=delete |
StringShaderResource & | operator= (StringShaderResource &&) noexcept=default |
virtual std::unique_ptr< ShaderResource > | clone () const override |
virtual const std::string & | key () const override |
virtual const std::string & | source () const override |
virtual void | setSource (std::string_view source) override |
![]() | |
template<typename T> | |
std::shared_ptr< Callback > | onChange (T &&callback) const |
Additional Inherited Members | |
![]() | |
using | Callback = std::function<void(const ShaderResource*)> |
![]() | |
Dispatcher< void(const ShaderResource *)> | callbacks_ |
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::ShaderResource.
|
overridevirtual |
Implements inviwo::ShaderResource.