MCPcopy Create free account
hub / github.com/cocos/cocos-engine / createSystemWindow

Method createSystemWindow

native/cocos/core/Root.cpp:500–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500uint32_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
509scene::RenderScene *Root::createScene(const scene::IRenderSceneInfo &info) {
510 IntrusivePtr<scene::RenderScene> scene = ccnew scene::RenderScene();

Callers

nothing calls this directly

Calls 2

createWindowMethod · 0.45
getWindowIdMethod · 0.45

Tested by

no test coverage detected