Metal backend: initial commit

This commit is contained in:
Kocsis Attila 2015-08-14 15:12:44 +02:00
parent 06a865cb7b
commit 5d5df77318
42 changed files with 5254 additions and 11 deletions
examples/common

View file

@ -104,6 +104,10 @@ static bgfx::ShaderHandle loadShader(bx::FileReaderI* _reader, const char* _name
shaderPath = "shaders/glsl/";
break;
case bgfx::RendererType::Metal:
shaderPath = "shaders/metal/";
break;
case bgfx::RendererType::OpenGLES:
shaderPath = "shaders/gles/";
break;