22 using MSLCompiler = std::shared_ptr<spirv_cross::CompilerMSL>;
25 using Compiler = std::variant<MSLCompiler, GLSLCompiler, SkSLCompiler>;
48 const spirv_cross::Compiler*
operator->()
const;
52 explicit operator bool()
const;
59 spirv_cross::ID
id)
const;
67 const spirv_cross::CompilerMSL* GetMSLCompiler()
const;
69 const spirv_cross::CompilerGLSL* GetGLSLCompiler()
const;