Inviwo 0.9.12-pre
Inviwo documentation
|
#include <shadersegment.h>
Classes | |
struct | Placeholder |
Public Attributes | |
Placeholder | placeholder |
The placeholder that will be replaced. | |
std::string | name |
std::string | snippet |
The replacement code. | |
size_t | priority = 1000 |
Hold a small text snippet to be inserted into shader code
std::string inviwo::ShaderSegment::name |
A name of the snippet, used by the LineNumberResolver and to identify the segment in the ShaderObject
size_t inviwo::ShaderSegment::priority = 1000 |
If there are multiple replacement with the same Placeholder, they will be sorted using priority, lower goes first.