MCPcopy Create free account
hub / github.com/SpartanJ/eepp / addFrame

Method addFrame

src/eepp/graphics/sprite.cpp:438–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438unsigned int Sprite::addFrame( TextureRegion* TextureRegion ) {
439 unsigned int id = framePos();
440
441 addSubFrame( TextureRegion, id, mCurrentSubFrame );
442
443 return id;
444}
445
446unsigned int Sprite::addFrame( const Uint32& TexId, const Sizef& DestSize, const Vector2i& Offset,
447 const Rect& TexSector ) {

Callers 3

fromGifMethod · 0.80
loadTexturesMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

loadTexturesMethod · 0.64