Inviwo  0.9.10.1
Inviwo documentation
inviwo::ShaderResource Class Referenceabstract

Abstraction for a shader source file. More...

#include <shaderresource.h>

+ Inheritance diagram for inviwo::ShaderResource:

Public Types

using Callback = std::function< void(const ShaderResource *)>
 

Public Member Functions

virtual std::unique_ptr< ShaderResourceclone ()=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_
 

Detailed Description

Abstraction for a shader source file.


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