mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 13:18:31 +09:00
15 lines
389 B
C++
15 lines
389 B
C++
#pragma once
|
|
|
|
namespace MobileGL {
|
|
namespace MG_Util {
|
|
namespace ShaderTranspiler {
|
|
class ShaderCompiler {
|
|
public:
|
|
static Result<SharedPtr<glslang::TShader>> CompileShader(const ShaderAttrib& attrib);
|
|
static Result<Vector<Vector<unsigned>>> LinkProgram(const ProgramAttrib& attrib);
|
|
static Result<String> DecompileShader(SpvcSession& session);
|
|
};
|
|
}
|
|
}
|
|
}
|