mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-02 08:41:52 +08:00
468 B
Executable File
468 B
Executable File
title, layout, permalink, next
| title | layout | permalink | next |
|---|---|---|---|
| Subtree Rasterization | docs | /docs/subtree-rasterization.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.