Contents

maximumDrawableCount

The number of Metal drawables in the resource pool managed by 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.

See Also

Obtaining a Metal Drawable