Contents

addAllocation(_:)

Stages a single resource to join the residency set’s list of allocations.

Declaration

func addAllocation(_ allocation: any MTLAllocation)

Parameters

Mentioned in

Discussion

Finalize the inclusion of these resource allocations, and all other changes you stage, by calling a residency set’s commit() method.

See Also

Adding allocations