mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Minimally operational Shader editor
Can edit code in GLSL, syntax highlighted, and compile shader. Compatible with ShaderToy code.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <list>
|
||||
#include <future>
|
||||
|
||||
#include <gst/gstutils.h>
|
||||
|
||||
@@ -392,7 +393,12 @@ class ShaderEditor : public WorkspaceWindow
|
||||
{
|
||||
CloneSource *current_;
|
||||
bool current_changed_;
|
||||
bool show_shader_inputs_;
|
||||
std::map<CloneSource *, ImageFilter> filters_;
|
||||
std::promise<std::string> *compilation_;
|
||||
std::future<std::string> compilation_return_;
|
||||
|
||||
std::string status_;
|
||||
|
||||
public:
|
||||
ShaderEditor();
|
||||
|
||||
Reference in New Issue
Block a user