The number of Metal drawables in the resource pool managed by Core Animation.
SDKs
- iOS 11.2+
- macOS 10.13.2+
- Mac Catalyst 13.0+
- tvOS 11.2+
Framework
- Core Animation
Declaration
var maximumDrawableCount: Int { get set }
Discussion
You can set this value to 2
or 3
only; if you pass a different value, Core Animation ignores the value and throws an exception.
The default value is 3
.