MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Destroy

Method Destroy

modules/tools/animation_tool/src/gltf/skeleton_asset.cpp:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace skd::asset
8{
9void SSkelGltfImporter::Destroy(void* data)
10{
11 RawSkeleton* raw = (RawSkeleton*)data;
12 raw->~RawSkeleton();
13 ozz::memory::default_allocator()->Deallocate(data, alignof(RawSkeleton));
14}
15
16void* SSkelGltfImporter::Import(skr_io_ram_service_t*, SCookContext* context)
17{

Callers 3

CookMethod · 0.45
CookMethod · 0.45
CookMethod · 0.45

Calls 3

default_allocatorFunction · 0.85
~RawSkeletonMethod · 0.80
DeallocateMethod · 0.45

Tested by

no test coverage detected