summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/ShaderCompiler.h
blob: 2917cf4f4da0e77545e9477943ea635bac31f9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);

};