20 using MSLCompiler = std::shared_ptr<spirv_cross::CompilerMSL>;
23 using Compiler = std::variant<MSLCompiler, GLSLCompiler, SkSLCompiler>;
46 const spirv_cross::Compiler*
operator->()
const;
50 explicit operator bool()
const;
57 spirv_cross::ID
id)
const;
65 const spirv_cross::CompilerMSL* GetMSLCompiler()
const;
67 const spirv_cross::CompilerGLSL* GetGLSLCompiler()
const;