mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
b2ec8b022f
* draft * fix some stupid bugs introduced in the lase commit * fixed bug when init webgl's texture. * draft * fix some bugs * fix some warnings * fix undefined type cast * For Vulkan device, query the storage feature through optimal tiling instead of linear tiling. * fix some bugs appear when resize texture, clean the changes. all tests passed. * remove debug codes, improve performance, correct the framebuffer size. * make some input parameters readonly * Make the gfx function's parameter's access priority the same as native engine * remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
engine-native
It is the native backend of Cocos Creator. It works on iOS, Android, Mac OS and Windows.
Coding format and coding style
The coding format file is .clang-format, and the coding style fomat file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before commiting codes. See the linter auto-fix guide for more information.
Documentations
How to start a new game
You can refer to the documentation to start a new game.
Build Requirements
- macOS 10.14+, Xcode 11.5+ to build mac games
- with iOS 12.0+ to build iOS games
- or Windows 7+, Visual Studio 2017 15.7+ / Visual Studio 2019 to build win32 games
- NDK 18-21 is required to build Android games (22+ is not supported)
- Python 2.7+ (includes Python 3) is needed to run scripts
- Cmake 3.8+ is required
Where to get help
Contributing to the Project
engine-native is licensed under the MIT License. We welcome participation!