#include <shader.h>
Inheritance diagram for IShaderConstantSetter:Public Member Functions | |
| virtual | ~IShaderConstantSetter ()=default |
| virtual void | onGenerate (const std::string &name, ShaderConstants &constants)=0 |
| Called when the final shader source is being generated. | |
|
virtualdefault |
|
pure virtual |
Called when the final shader source is being generated.
| name | name of the shader |
| constants | current set of constants, free to modify |
Implemented in MainShaderConstantSetter, and NodeShaderConstantSetter.