Contents

showsQuadCount

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

Declaration

var showsQuadCount: Bool { get set }

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