Vuo 2.4.4
Loading...
Searching...
No Matches
VuoIsfModuleCompiler.hh
Go to the documentation of this file.
1
10#pragma once
11
12#include <Vuo/Vuo.h>
13
18{
19public:
21 void overrideSourceCode(const string &sourceCode, const string &sourcePath);
22
23private:
24 static void __attribute__((constructor)) init();
25 static VuoModuleCompiler * newModuleCompiler(const string &moduleKey, const string &sourcePath, const VuoModuleCompilerSettings &settings);
27 void generateMetadata(Module *module);
28 void generateNodeInstanceInitFunction(Module *module, VuoCompilerConstantsCache *constantsCache, map<string, VuoCompilerType *> vuoTypes, VuoCompilerIssues *issues);
29 void generateNodeInstanceEventFunction(Module *module, VuoCompilerConstantsCache *constantsCache, map<string, VuoCompilerType *> vuoTypes, VuoCompilerIssues *issues);
30 bool isTypeFound(VuoCompilerType *type, VuoCompilerIssues *issues);
31 Type * getFunctionParameterType(VuoCompilerType *type, VuoCompilerIssues *issues);
32
33 VuoShaderFile *shaderFile;
34 string sourceCode;
35};