mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-05 08:49:29 +08:00
511 B
Executable File
511 B
Executable File
title, layout, permalink, prevPage, nextPage
| title | layout | permalink | prevPage | nextPage |
|---|---|---|---|---|
| Subtree Rasterization | docs | /docs/subtree-rasterization.html | synchronous-concurrency.html | drawing-priority.html |
Precompositing. Flattening an entire view hierarchy into a single layer also improves performance, but comes with a hit to maintainability and hierarchy-based reasoning. Nodes can do this for you too!
rootNode.shouldRasterizeDescendants = YES;
...will cause the entire node hierarchy from that point on to be rendered into one layer.