Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
147
bool 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
draw
Method · 0.45
Calls
2
initWithTexture
Method · 0.95
autorelease
Method · 0.80
Tested by
no test coverage detected