Stage:setClearColorBuffer

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: Stage

Description

If you are covering the whole background with an image, you can disable background color draw call for better performance. <syntaxhighlight lang="lua"> Stage:setClearColorBuffer(bool) </source>

Parameters

bool: (bool) false to disable draw call, true to enable

See Also

Application:setBackgroundColor