Contents

MTLAllocation

A memory allocation from a Metal GPU device, such as a memory heap, texture, or data buffer.

Declaration

protocol MTLAllocation : NSObjectProtocol

Mentioned in

Overview

Types that conform to MTLAllocation, including MTLBuffer, MTLTexture, and MTLHeap, have underlying memory. You make their memory resident, or GPU-accessible, by adding an allocation to an MTLResidencySet or calling the appropriate method of a command encoder.

See Simplifying GPU resource management with residency sets for more information.

Topics

Inspecting an allocation

See Also

Common resource functionality