English | 中文
This is the repository of computer graphics kit samples. We have six samples by now:
- huawei-cg-renderframework-android-cpp-demo: Load and render a basic model, with PBR and lights.
- huawei-cg-smartcachegles-android-cpp-demo: The sample code describes how to use OpenGL Smart Cache.
- huawei-cg-smartcacheprerotationvulkan-android-cpp-demo: The sample code describes how to use Vulkan Smart Cache and Pre-rotation.
- huawei-cg-occlusionculling-cpp-demo: The sample code describes how to use APIs and configurable items of Occlusion Culling.
- huawei-cg-offlinesupres-android-cpp-demo: The sample code provides programs for reference or usage of offline super-resolution plugin.
- huawei-cg-plugin-cpp-demo: The sample code provides programs for reference or usage of plugin.
For more infomation, you can check out the README file at each sample.
If you want to evaluate more about HMS Core, HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
If you have questions about how to use HMS samples, try the following options:
- Stack Overflow is the best place for any programming questions. Be sure to tag your question with
huawei-mobile-services
. - Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.
If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.
The sample of CGKit has obtained the Apache 2.0 license.