Managing Metal Cpp Lifetimes

ALWAYS use when writing or porting Metal object lifetime management code in metal-cpp — including crashes on release, use-after-free, memory leaks, autorelease pool placement, NS::TransferPtr vs NS::RetainPtr ownership, bridge casts at ARC/metal-cpp boundaries, or any question about when and how Metal objects are retained, released, or destroyed.

apple Updated 223 repo stars
Starting a Game Port with Metal

File contents

apple/game-porting-toolkit commit 7b7198fa5a

Frequently asked questions

npx get-skill add apple/managing-metal-cpp-lifetimes