From b215d811a1981e20f35bb31df4e6cd2a74146193 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 10:00:00 +0800 Subject: *misc --- 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 2d48bb0..a9d174b 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" -// ±ąŅėGLS(GameLab Shader) +// ±ąŅėGLSL(GameLab Shader) // in: .glsl path // out: vsh & fsh -class CompileGLSJob : public Job +class CompileGLSLJob : public Job { }; // in: glsl shader // out: vsh & fsh -class CompileGLSShaderJob : public Job +class CompileGLSLShaderJob : public Job { }; -class GLSCompileException : public std::exception +class GLSLCompileException : public std::exception { public: - GLSCompileException(const char* what) + GLSLCompileException(const char* what) : std::exception(what) { } }; -class GLSCompiler +class GLSLCompiler { public: - static void Compile(std::string& src, std::string& vsh, std::string& fsh, RenderCommandGroup& cmd)/*throw GLSCompileException*/; + static void Compile(std::string& src, std::string& vsh, std::string& fsh, RenderCommandGroup& cmd)/*throw GLSLCompileException*/; private: static std::string GetContent(std::string& src, const char* from, const char* to); -- cgit v1.1-26-g67d0