| 498 | } |
| 499 | |
| 500 | uint32_t Root::createSystemWindow(const ISystemWindowInfo &info) { |
| 501 | auto *windowMgr = CC_GET_PLATFORM_INTERFACE(ISystemWindowManager); |
| 502 | ISystemWindow *window = windowMgr->createWindow(info); |
| 503 | if (!window) { |
| 504 | return 0; |
| 505 | } |
| 506 | return window->getWindowId(); |
| 507 | } |
| 508 | |
| 509 | scene::RenderScene *Root::createScene(const scene::IRenderSceneInfo &info) { |
| 510 | IntrusivePtr<scene::RenderScene> scene = ccnew scene::RenderScene(); |
nothing calls this directly
no test coverage detected