--- title: Subtree Rasterization layout: docs permalink: /docs/subtree-rasterization.html prevPage: layer-backing.html nextPage: synchronous-concurrency.html --- Flattening an entire view hierarchy into a single layer improves performance, but with UIKit, comes with a hit to maintainability and hierarchy-based reasoning. With all Texture nodes, enabling precompositing is as simple as:
[rootNode enableSubtreeRasterization];