mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
8ed2ed5786
* Fix spine replacement skin and animation bone rendering data not refreshed. # Conflicts: # cocos/animation/marionette/graph-eval.ts # cocos/physics/framework/components/constraints/hinge-constraint.ts # cocos/rendering/custom/pipeline.ts # cocos/rendering/custom/private.ts # cocos/rendering/custom/render-graph.ts # cocos/rendering/post-process/passes/forward-pass.ts # cocos/rendering/post-process/passes/forward-transparency-pass.ts # cocos/rendering/post-process/passes/index.ts # cocos/rendering/post-process/passes/tone-mapping-pass.ts # cocos/rendering/post-process/post-process-builder.ts # editor/assets/effects/advanced/leaf.effect # editor/i18n/en/animation.js # editor/i18n/en/localization.js # editor/i18n/zh/animation.js # editor/i18n/zh/localization.js # editor/inspector/assets/fbx/model.js # native/cocos/renderer/pipeline/custom/NativeExecutor.cpp # native/cocos/renderer/pipeline/custom/NativePipeline.cpp # native/cocos/renderer/pipeline/custom/NativePipelineTypes.h # native/cocos/renderer/pipeline/custom/NativeRenderGraph.cpp # native/cocos/renderer/pipeline/custom/RenderInterfaceTypes.h * Add bone & IkConstraintData & IkConstraint & PathConstraintData & PathConstraint setter bindings. * Add TrackEntry & AnimationState & Animation setter bindings. * Fix the problem that SkeletonData removal skin and animation are not removed on editor. * fix the problem of skeleton animation delete refresh. * add Skeleton getState interface. * optimize the requestDrawData parameter name & fix get texture by textureID. * add getAttachments * Add slots and atlas mapping hash. * optimize atlas hash code. * parsing atlas from native layer. * rollback to remove the skeleton component of forced refresh. * revert some change * optimize get atlas page index & fix multi-posting texture cache mode does not display. * fix extra space. --------- Co-authored-by: zxx43 <zxx43@hotmail.com> Co-authored-by: santy-wang <wh19930829@qq.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.