Contents

maxCompatiblePlacementSparsePageSize

Specifies the largest sparse page size that the Metal heap supports.

Declaration

var maxCompatiblePlacementSparsePageSize: MTLSparsePageSize { get set }

Discussion

This parameter only affects the heap if you set the type property of this descriptor to MTLHeapType.placement.

The value you assign to this property determines the compatibility of the Metal heap with with placement sparse resources, because placement sparse resources require that their sparse page size be less than or equal to the placement sparse page of the Metal heap that this property controls.