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…
---
name: Managing Metal Cpp Lifetimes
description: 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…
---
# Managing Metal Cpp Lifetimes
Part of the **Apple Game Porting Skills** pack by Apple (`apple/game-porting-toolkit`).
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…
This catalog entry summarizes the skill for discovery. Get the full skill — including any bundled scripts and resources — from the source:
Full skill & source: https://github.com/apple/game-porting-toolkit/tree/main/game-porting-skills/skills/managing-metal-cpp-lifetimes
Sign in to rate and review this skill.
No reviews yet. Be the first to review this skill.