A memory pool from which you can suballocate resources.
- iOS 10.0+
- macOS 10.13+
- tvOS 10.0+
Resources can be sub-allocated from a heap and made aliasable or non-aliasable. A sub-allocated resource is non-aliased by default, preventing future sub-allocated resources from using its memory. Sub-allocated resources are aliased when they share the same memory allocation backed by a heap.
All resources sub-allocated from the same heap share the same storage mode and CPU cache mode. Heaps can be made purgeable but their sub-allocated resources are not; they can only reflect the heap’s purgeability state.