Commit Graph

23 Commits

Author SHA1 Message Date
James Chen fdc977ee78 [v3.6] Cleanup code, fix typo and add missing property bindings (#11254)
* Fix typo: Fog::setfogRange -> Fog::setFogRange

* Model::getInstancedAttributeBlock should return reference.

* Update scene.ini

* Fix errors in scene.ini.

* Put Node::_children private.

* Update access level, return value, typo.

* revert Ambient.h

* Remove an unused method: RenderScene::removeModel(index_t idx);

* Update scene.ini

* Add missing propery bindings in Shadows & AmbientInfo.

* Remove unused accessor in Ambient.h
2022-05-31 09:57:30 +08:00
James Chen 96e65e11fb Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera. (#11055)
* Remove HTMLElement*

* RenderingSubMesh should not inherit Asset.

* Remove `override` for RenderingSubMesh::destroy

* Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera.
2022-05-13 13:31:20 +08:00
李吉林 566cc0e9d8 fix update octree twice (#10945)
* fix update Octree twice

* rename to _worldBoundsDirty
2022-05-06 15:44:31 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
李吉林 3457292707 refactor exit process (#10880)
* refactor exit process

* add override

* fix geometry-renderer missing in deferred pipeline

* invoke destroy directly

* fix ESLint error

* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
Cocos Robot 1e0b64259a [ci skip][AUTO]: Automated clang-format update: 1ee4f3a35f047f4f28fb3a7df7d50f7a0812e10a (#10486) (#10489)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-25 14:31:48 +08:00
hyde zhou b1e8733742 [v3.6.0 pipeline] uses Root::getPipeline instead of RenderPipeline::getInstance() (#10486)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-03-25 11:04:50 +08:00
Cocos Robot 71288fcf7a [ci skip][AUTO]: Automated clang-format update: aed8a54418a115b3e3ec8c3d69be3498817a0043 (#10387) (#10412)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 13:47:58 +08:00
李吉林 8b611affa2 V3.6.0 font debug profiler (#10387)
* add Font&DebugRender&Profiler

* add profiler for metal

* fix profiler review problem
2022-03-21 11:41:54 +08:00
mmyduckx e52bb2bf06 add forward declaration for pipeline (#10082) 2022-02-14 09:31:00 +08:00
mmyduckx e332c02ca0 add forward declaration for 3d/scene-graph/scene (#4246)
* add forward declaration for 3d/scene-graph/scene

* fix genbindings error

* define ctor in cpp
2022-02-09 15:41:00 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
李吉林 005fe503c7 add octree setting (#4059)
* add octree setting
2021-11-23 13:33:55 +08:00
李吉林 fa210fa955 add octree scene manager (#3891)
* add octree scene manager
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-09-17 11:20:05 +08:00
江战 aa009ac26b 3.3 js message queue (#3731) 2021-07-16 15:20:23 +08:00
GengineJS 8b4b7cad8a [Fix] the problem that the pipeline scene data switch scene ia is null (#3724) 2021-07-16 09:37:33 +08:00
GengineJS 2fbcd31513 [Fix] Crash caused by real-time mesh generation on the native side (#3697) 2021-07-09 16:20:13 +08:00
GengineJS 5a3a43d0ab Implement native Baked Skinning Model (#3675) 2021-07-01 16:03:16 +08:00
cary 37d9e44def Optimize the synchronization of Pass. (#3628) 2021-06-23 13:39:50 +08:00
GengineJS b8f54069c0 [Add] Native scene object update function (#3638) 2021-06-22 16:41:13 +08:00
minggo c98a1251a0 Revert "[add] Native scene object update function (#3602)" (#3634)
This reverts commit 8cc944277f.
2021-06-18 18:12:50 +08:00
GengineJS 8cc944277f [add] Native scene object update function (#3602) 2021-06-18 17:34:06 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00