---
title: placementSparsePageSize
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltexturedescriptor/placementsparsepagesize
---

# placementSparsePageSize

Determines the page size for a placement sparse texture.

## Declaration

```swift
var placementSparsePageSize: MTLSparsePageSize { get set }
```

## Discussion

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.
