diff options
Diffstat (limited to 'Runtime/Graphics/ShaderCompiler.h')
-rw-r--r-- | Runtime/Graphics/ShaderCompiler.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Runtime/Graphics/ShaderCompiler.h b/Runtime/Graphics/ShaderCompiler.h new file mode 100644 index 0000000..2917cf4 --- /dev/null +++ b/Runtime/Graphics/ShaderCompiler.h @@ -0,0 +1,33 @@ +#pragma once
+
+#include <string>
+#include "Runtime/Threading/Mutex.h"
+#include "Runtime/Threading/Job.h"
+
+// ±ąŅėGLSL(GameLab Shading Language)
+
+// in: .glsl path
+// out: vsh & fsh
+class CompileGLSLJob : public Job
+{
+
+};
+
+// in: glsl shader
+// out: vsh & fsh
+class CompileGLSLShaderJob : public Job
+{
+
+};
+
+enum EGLSLCompileErrorCode
+{
+ Success = 0,
+};
+
+class GLSLCompiler
+{
+public:
+ static int Compile(std::string& src, std::string& vsh, std::string& fsh);
+
+};
|