Instance Method

nextFrameTime

Returns the time at which the next update should happen.

Declaration

- (CFTimeInterval)nextFrameTime;

Return Value

The time at which the next update should happen.

Discussion

If infinite, no update needs to be scheduled yet. If nextFrameTime is the current frame time, a continuous animation is running and an update should be scheduled after an appropriate delay.

See Also

Rendering a Frame

- beginFrameAtTime:timeStamp:

Begin rendering a frame at the specified time.

- updateBounds

Returns the bounds of the update region that contains all pixels that will be rendered by the current frame.

- addUpdateRect:

Adds the rectangle to the update region of the current frame.

- render

Render the update region of the current frame to the target context.

- endFrame

Release any data associated with the current frame.