Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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 () const =0
virtual const std::string & key () const =0
virtual const std::string & source () const =0
virtual void setSource (std::string_view source)=0
template<typename T>
std::shared_ptr< CallbackonChange (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:
  • shaderresource.h