Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::StringShaderResource Class Reference
+ Inheritance diagram for inviwo::StringShaderResource:

Public Member Functions

 StringShaderResource (std::string_view key, std::string_view source)
 
virtual std::unique_ptr< ShaderResourceclone () const override
 
virtual const std::string & key () const override
 
virtual const std::string & source () const override
 
virtual void setSource (std::string_view source) override
 
- 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_
 

Member Function Documentation

◆ clone()

virtual std::unique_ptr< ShaderResource > inviwo::StringShaderResource::clone ( ) const
overridevirtual

◆ key()

virtual const std::string & inviwo::StringShaderResource::key ( ) const
overridevirtual

◆ setSource()

virtual void inviwo::StringShaderResource::setSource ( std::string_view source)
overridevirtual

◆ source()

virtual const std::string & inviwo::StringShaderResource::source ( ) const
overridevirtual

The documentation for this class was generated from the following file: