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

Method create

core/2d/Sprite.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76Sprite* Sprite::create(std::string_view filename)
77{
78 return Sprite::create(filename, Texture2D::getDefaultAlphaPixelFormat());
79}
80
81Sprite* Sprite::create(std::string_view filename, PixelFormat format)
82{

Callers

nothing calls this directly

Calls 6

createFunction · 0.85
autoreleaseMethod · 0.80
initWithPolygonMethod · 0.80
initWithFileMethod · 0.45
initWithImageDataMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected