MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / zero_ref_callback

Method zero_ref_callback

src/impl_swapchain.cpp:458–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void daxa_ImplSwapchain::zero_ref_callback(ImplHandle const * handle)
459{
460 auto * self = rc_cast<daxa_Swapchain>(handle);
461 if (self->device != nullptr)
462 {
463 self->full_cleanup();
464 }
465 delete self;
466}
467
468// --- End Internals ---

Callers

nothing calls this directly

Calls 1

full_cleanupMethod · 0.95

Tested by

no test coverage detected