MCPcopy Create free account
hub / github.com/defold/defold / RegisterResourceTypeAnim

Function RegisterResourceTypeAnim

engine/gameobject/src/gameobject/res_anim.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 static ResourceResult RegisterResourceTypeAnim(HResourceTypeContext ctx, HResourceType type)
30 {
31 return (ResourceResult)dmResource::SetupType(ctx, type, 0, 0, ResAnimCreate, 0, ResAnimDestroy, 0);
32 }
33}
34
35DM_DECLARE_RESOURCE_TYPE(ResourceTypeAnim, "animc", dmGameObject::RegisterResourceTypeAnim, 0);

Callers

nothing calls this directly

Calls 1

SetupTypeFunction · 0.85

Tested by

no test coverage detected