8000 add 2d by star-e · Pull Request #18717 · cocos/cocos-engine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add 2d #18717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: v3.8.7
Choose a base branch
from
Open

add 2d #18717

wants to merge 5 commits into from

Conversation

star-e
Copy link
Contributor
@star-e star-e commented May 15, 2025

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

Copy link
github-actions bot commented May 15, 2025

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1005977 bytes 1005977 bytes ✅ 0 bytes
2D All (legacy pipeline) 2671042 bytes 2671042 bytes ✅ 0 bytes
2D All (new pipeline) 2759549 bytes 2760514 bytes ⚠️ +965 bytes
(2D + 3D) All 10015498 bytes 10016463 bytes ⚠️ +965 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16837119 bytes 16838084 bytes ⚠️ +965 bytes

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -36526,8 +36526,20 @@
              * @param sceneFlags @en Rendering flags of the quad @zh Quad所需场景渲染标志位
              */
             addCameraQuad(camera: renderer.scene.Camera, material: Material, passID: number, sceneFlags?: SceneFlags): void;
             /**
+             * @beta Feature is under development
+             */
+            addDraw3D(camera: renderer.scene.Camera, models: renderer.scene.Model[], sceneFlags?: SceneFlags): void;
+            /**
+             * @beta Feature is under development
+             */
+            addDraw2D(camera: renderer.scene.Camera): void;
+            /**
+             * @beta Feature is under development
+             */
+            addProfiler(camera: renderer.scene.Camera): void;
+            /**
              * @en Clear current render target.
              * @zh 清除当前渲染目标
              * @param name @en The name of the render target @zh 渲染目标的名字
              * @param color @en The clearing color @zh 用来清除与填充的颜色

@star-e
Copy link
Contributor Author
star-e commented May 15, 2025

@cocos-robot run-test-cases-custom

Copy link

@star-e, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS PASS
ios PASS PASS FAIL Goblins Goblins
mac PASS PASS FAIL Goblins Goblins

Copy link

@star-e, Please check the result of run test cases:

Task Details

@star-e
Copy link
Contributor Author
star-e commented May 16, 2025

@cocos-robot run-test-cases-custom

Copy link

@star-e, Please check the result of run test cases:

Task Details

Copy link

@star-e, Please check the result of run test cases:

Task Details

@star-e
Copy link
Contributor Author
star-e commented May 19, 2025

@cocos-robot run-test-cases-custom

Copy link

@star-e, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL graphics-continuous-filling
ios PASS PASS PASS
mac PASS PASS PASS

Copy link

@star-e, Please check the result of run test cases:

Task Details

@star-e
Copy link
Contributor Author
star-e commented May 19, 2025

@cocos-robot run-test-cases-custom

Copy link

@star-e, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL graphics-continuous-filling
ios PASS PASS PASS
mac PASS PASS PASS

Copy link
812A

@star-e, Please check the result of run test cases:

Task Details

@star-e star-e requested a review from GengineJS May 20, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0