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

Method pushResourceChangeCallback

src/eepp/graphics/drawableresource.cpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51Uint32 DrawableResource::pushResourceChangeCallback( const OnResourceChangeCallback& cb ) {
52 mNumCallBacks++;
53 mCallbacks[mNumCallBacks] = cb;
54 return mNumCallBacks;
55}
56
57bool DrawableResource::popResourceChangeCallback( const Uint32& callbackId ) {
58 return mCallbacks.erase( callbackId ) > 0;

Callers 3

setDrawableMethod · 0.80
setDrawableMethod · 0.80
insertTextureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected