Instance Property

showsQuadCount

A Boolean value that indicates whether the view displays the number of rectangles used to render the scene.

Declaration

@property(nonatomic) BOOL showsQuadCount;

Discussion

SpriteKit converts the node tree into one or more rendering passes. Each rendering pass is rendered using a series of textured rectangles (quads). The showsQuadCount property allows you to see the total number of quads that were used to render the scene’s contents. Use this as another piece of data when you profile your game’s performance. In most cases, fewer quads is better.

See Also

Enabling Visual Statistics for Debugging

showsFPS

A Boolean value that indicates whether the view displays a frame rate indicator.

showsNodeCount

A Boolean value that indicates whether the view displays an overlay that shows physics bodies that are visible in the scene.

showsDrawCount

A Boolean value that indicates whether the view displays the number of drawing passes it needed to render the view.

showsPhysics

A Boolean value that indicates whether the view displays physics-related debugging information.

showsFields

A Boolean value that indicates whether the view displays information about physics fields in the scene.