Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ init
Method
init
core/2d/Sprite.cpp:166–170 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
}
165
166
bool Sprite::init()
167
{
168
initWithTexture(nullptr, Rect::ZERO);
169
return true;
170
}
171
172
bool Sprite::initWithTexture(Texture2D* texture)
173
{
Callers
2
create
Method · 0.45
draw
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected