Contents

Memory heaps

Take control of your app’s GPU memory management by creating a large memory allocation for various buffers, textures, and other resources.

Overview

Use an MTLHeap to quickly create and destroy GPU resources. Heaps can also help your apps save memory by aliasing portions of it in multiple places.

Create a heap by calling an MTLDevice instance’s makeHeap(descriptor:) method.

Topics

Resource memory allocation and management

See Also

Resources