Instance Method

presentDrawable:afterMinimumDuration:

Registers a drawable presentation to occur after waiting for the previous drawable to meet the minimum display time.

Required.

Declaration

- (void)presentDrawable:(id<MTLDrawable>)drawable afterMinimumDuration:(CFTimeInterval)duration;

Parameters

drawable

The drawable that you want to present.

duration

The previous drawable's minimum display time, in seconds.

Discussion

This is a convenience method that calls the given drawable's presentAfterMinimumDuration: method from a handler scheduled using the command buffer's addScheduledHandler: callback.

See Also

Presenting a Drawable

- presentDrawable:

Registers a drawable presentation to occur as soon as possible.

Required.

- presentDrawable:atTime:

Registers a drawable presentation to occur at a specific host time.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software