Files
cocos4/native
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
..
2022-10-28 15:44:33 +08:00
2020-06-18 14:12:04 +08:00
2022-05-04 13:09:24 +08:00
2022-04-18 10:24:54 +08:00
2021-01-14 14:36:37 +08:00

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

Use C++17.

These C++17 features are tested and supported by all platforms

The following features are not supported

  • std::optional is not supported by iOS 11.

Other C++17 features are not tested.