MCPcopy Create free account
hub / github.com/axmolengine/axmol / createDrawNode

Method createDrawNode

tests/live2d-tests/Source/LAppView.cpp:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256LAppView* LAppView::createDrawNode()
257{
258 LAppView* ret = new(std::nothrow) LAppView();
259 if (ret && ret->init())
260 {
261 ret->autorelease();
262 return ret;
263 }
264 AX_SAFE_DELETE(ret);
265 return nullptr;
266}

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected