From cc68bba3a4e1a78bc8b62a5902230a4ae5043ccb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 3 Nov 2021 19:14:51 +0800 Subject: * rename .GLSL(gamelab shading language) to .GLS(gamelab shader) --- Runtime/Graphics/ShaderCompiler.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Runtime/Graphics/ShaderCompiler.h') diff --git a/Runtime/Graphics/ShaderCompiler.h b/Runtime/Graphics/ShaderCompiler.h index 891efb7..2d48bb0 100644 --- a/Runtime/Graphics/ShaderCompiler.h +++ b/Runtime/Graphics/ShaderCompiler.h @@ -6,36 +6,36 @@ #include "Runtime/Threading/Job.h" #include "Runtime/Graphics/RenderCommands.h" -// ±ąŅėGLSL(GameLab Shading Language) +// ±ąŅėGLS(GameLab Shader) // in: .glsl path // out: vsh & fsh -class CompileGLSLJob : public Job +class CompileGLSJob : public Job { }; // in: glsl shader // out: vsh & fsh -class CompileGLSLShaderJob : public Job +class CompileGLSShaderJob : public Job { }; -class GLSLCompileException : public std::exception +class GLSCompileException : public std::exception { public: - GLSLCompileException(const char* what) + GLSCompileException(const char* what) : std::exception(what) { } }; -class GLSLCompiler +class GLSCompiler { public: - static void Compile(std::string& src, std::string& vsh, std::string& fsh, RenderCommandGroup& cmd)/*throw GLSLCompileException*/; + static void Compile(std::string& src, std::string& vsh, std::string& fsh, RenderCommandGroup& cmd)/*throw GLSCompileException*/; private: static std::string GetContent(std::string& src, const char* from, const char* to); -- cgit v1.1-26-g67d0