Responsible for compiling node classes implemented in ISF (image generators/filters and object renderers/filters).
Definition at line 17 of file VuoIsfModuleCompiler.hh.
Public Member Functions | |
Module * | compile (std::function< VuoCompilerType *(const string &)> getVuoType, dispatch_queue_t llvmQueue, VuoCompilerIssues *issues) |
Compiles the shader to LLVM bitcode that can be loaded as a Vuo node class. More... | |
void | overrideSourceCode (const string &sourceCode, VuoFileUtilities::File *sourceFile) |
Overrides the fragment shader, using sourceCode instead of the file contents. More... | |
virtual Module * | compile (std::function< VuoCompilerType *(const string &)> getVuoType, dispatch_queue_t llvmQueue, VuoCompilerIssues *issues)=0 |
Compiles the source file to LLVM bitcode that can be loaded as a Vuo node class. More... | |
virtual void | overrideSourceCode (const string &sourceCode, VuoFileUtilities::File *sourceFile)=0 |
When compiling, sourceCode will be used instead of the contents of the source file. More... | |
Additional Inherited Members | |
![]() | |
static VuoModuleCompiler * | newModuleCompiler (string type, const string &moduleKey, VuoFileUtilities::File *sourceFile) |
Creates an instance of a subclass of VuoModuleCompiler. More... | |
![]() | |
typedef VuoModuleCompiler *(* | Factory) (const string &moduleKey, VuoFileUtilities::File *sourceFile) |
A method that creates an instance of a subclass of VuoModuleCompiler. More... | |
![]() | |
static void | registerModuleCompiler (string type, Factory factory) |
Registers a method that creates an instance of a subclass of VuoModuleCompiler. More... | |
|
virtual |
Compiles the shader to LLVM bitcode that can be loaded as a Vuo node class.
If there are errors, they are reported in issues and the return value is null.
Implements VuoModuleCompiler.
Definition at line 59 of file VuoIsfModuleCompiler.cc.
|
virtual |
Overrides the fragment shader, using sourceCode instead of the file contents.
Implements VuoModuleCompiler.
Definition at line 48 of file VuoIsfModuleCompiler.cc.