Contents

placementSparsePageSize

Determines the page size for a placement sparse texture.

Declaration

var placementSparsePageSize: MTLSparsePageSize { get set }

Discussion

Set this property to a non-zero value to create a placement sparse texture.

Placement sparse textures are instances of MTLTexture that you assign memory to using a MTLHeap instance of type MTLHeapType.placement and a maxCompatiblePlacementSparsePageSize at least as large as the MTLSparsePageSize value you assign to this property.

This value is 0 by default.