Preliminary implementation of Shader editor

Connect TextEditor with ImageFilter from current Clone Source.  GLSL Compilation seems to work....
This commit is contained in:
Bruno Herbelin
2022-04-21 00:18:37 +02:00
parent c71791b649
commit 56b17116e3
8 changed files with 356 additions and 166 deletions

View File

@@ -99,6 +99,7 @@
#include "InfoVisitor.h"
#include "DialogToolkit.h"
#include "SessionParser.h"
#include "ImageFilter.h"
struct ImVec2;
@@ -389,7 +390,9 @@ public:
class ShaderEditor : public WorkspaceWindow
{
std::string current_text_edited_;
CloneSource *current_;
bool current_changed_;
std::map<CloneSource *, ImageFilter> filters_;
public:
ShaderEditor();