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

Method init

core/2d/SpriteBatchNode.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool SpriteBatchNode::init()
148{
149 Texture2D* texture = new Texture2D();
150 texture->autorelease();
151 return this->initWithTexture(texture, 0);
152}
153
154/*
155 * init with FileImage

Callers 1

drawMethod · 0.45

Calls 2

initWithTextureMethod · 0.95
autoreleaseMethod · 0.80

Tested by

no test coverage detected