Instance Property

allowsNextDrawableTimeout

A Boolean value that determines whether requests for a new buffer expire if the system can’t satisfy them.

Declaration

@property BOOL allowsNextDrawableTimeout;

Discussion

If YES, the nextDrawable method returns nil if it can’t provide a drawable object within one second. If NO, the nextDrawable method waits indefinitely for a drawable to become available.

The default value is YES.

See Also

Obtaining a Metal Drawable

- nextDrawable

Waits until a Metal drawable is available, and then returns it.

maximumDrawableCount

The number of Metal drawables in the resource pool managed by Core Animation.