mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
8c612a3bbb
* merge v3.7.0-pipeline * pass done * fix const reference return type * add uniform block buiding * fix const cast * fix const * fix mtl const * integrating native program library * native pipeline workflow updated * adding ubo binding * Solve the problem of the version attribute of pass (#87) * ubo upload added * adding camera ubo * add constant name * update uniform buffer * adding execution resources * per pass ubo added * fix bugs * ubo added * fix render pass bug * bind set added * adding ubo uploading * shader binding overwrite added * shader binding overwrite added * add missing header * draw updated * ubo updated * fix main light ubo * pass ubo added * lint * fix custom pipeline window resize issue. (#88) * fix lint * fix assert * remove texture1d * fix constantMacros * lint * fixed: native custom pipeline graphics pipeline state leak. (#89) * lint * skybox added * skip subpass input binding rewrite (#90) * per pass descriptor set modified * adding blit * fix material * fix fg get usage (#91) * fix barrier fetch * fix ios bug * fix barrier * support cc builtin overwrite * try fix shadowMap * refactor resources * update blit * add render graph binding * fix shader bugs * fix blit * fix bugs * remove unnessary barriers * fix init * fix addCameraQuad * fix raster view order --------- Co-authored-by: GengineJS <476393671@qq.com> Co-authored-by: Zach Lee <bluesky013@126.com> Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
cocos-engine native part
It is the native backend of Cocos Creator. It works on iOS, Android, macOS and Windows.
Coding format and coding style
The coding format file is .clang-format, and the coding style format file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before committing codes. See the linter auto-fix guide for more information.
Build Requirements
- Xcode 11.5+ to build mac games
- or Visual Studio 2017 15.7+ / Visual Studio 2019 to build win64 games
- NDK 21-22 is required to build Android games (23+ is not supported)
- Cmake 3.8+ is required
System Requirements
- macOS 10.14+
- iOS 11.0+
- iOS Simulator 13.0+
- 64-bit Windows 7+
- with vulkan 1.0 to 1.2 if want to run with vulkan
- Android 4.4+
- Android 7+ if want to run with vulkan
C++ related
Use C++17.
These C++17 features are tested and supported by all platforms
std::string_viewconstexpr if
The following features are not supported
std::optionalis not supported by iOS 11.
Other C++17 features are not tested.