igl | Introduce API : RenderCommandEncoder::setCullMode() (#418)
Summary: Introduce setCullModeAPI to decouple cull mode from the PSO and reduce PSO proliferation. The change is forward-compatible. No negative side effects.
Pull Request resolved: https://github.com/facebook/igl/pull/418
Reviewed By: rudybear
Differential Revision: D112864702
Pulled By: corporateshark
fbshipit-source-id: 6d6922094d6dc46267cfc13dd605a5701765be4c
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Intermediate Graphics Library (IGL) is a cross-platform library that commands the GPU. It encapsulates common GPU functionality with a low-level cross-platform interface. IGL is designed to support multiple backends implemented on top of various graphics APIs (e.g. OpenGL, Metal and Vulkan) with a common interface.
There are a lot of good options for abstracting GPU API’s; each making different trade-offs. We designed IGL around the following priorities:
Supported rendering backends
Supported platforms
API Support
Build
Before building, run the deployment scripts:
These scripts download external third-party dependencies. Please check Dependencies for the full list.
The Gradle project is located within the build/android folder.
Please install Emscripten and Ninja.
Screenshots
License
IGL is released under the MIT license, see LICENSE.md for the full text as well as third-party library acknowledgements. SparkSL Compiler is released under the SparkSL Compiler License, see LICENSE for full text.