2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 13:07:42 +00:00

Metal shader generation

This commit is contained in:
Jack Andersen
2015-11-18 13:56:45 -10:00
parent e5c4008cfb
commit daa446588b
9 changed files with 491 additions and 10 deletions

View File

@@ -80,6 +80,7 @@ struct HECLApplicationCallback : boo::IApplicationCallback
/* HECL managers */
HECL::Runtime::FileStoreManager fileMgr(app->getUniqueName());
HECL::Runtime::ShaderCacheManager shaderMgr(fileMgr, gfxF);
shaderMgr.setRenderTargetHint(renderTex);
/* Compile HECL shader */
static std::string testShader = "HECLOpaque(Texture(0, UV(0)))";