showsDrawCount
A Boolean value that indicates whether the view displays the number of drawing passes it needed to render the view.
Declaration
var showsDrawCount: Bool { get set }Mentioned in
Discussion
Some operations in SpriteKit can require multiple rendering passes to draw a scene’s content. For example, an SKEffectNode object must render its children into a separate buffer, apply the effect, and then perform another pass to blend those results into its parent node. These additional rendering passes use more rendering resources, reducing your game’s frame rate or increasing its total power consumption. Use the draw count as another piece of data when you profile your game’s performance.