removeAllocation(_:)
Stages a single resource to leave the residency set’s list of allocations.
Declaration
func removeAllocation(_ allocation: any MTLAllocation)Parameters
- allocation:
A resource allocation, such as an Mtlbuffer, Mtltexture, or Mtlheap.
Discussion
Finalize the removal of these resource allocations, and all others changes you stage, by calling a residency set’s commit() method.