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