Difference between revisions of "Stage:setClearColorBuffer"
From GiderosMobile
Line 10: | Line 10: | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''state''': (bool) <translate>false to disable draw call, true to enable</translate> <br/> | '''state''': (bool) <translate>false to disable draw call, true to enable</translate> <br/> | ||
+ | |||
+ | {{Stage}} |
Revision as of 02:32, 4 December 2019
Available since: Gideros 2011.6
Class: Stage
Description
If you are covering whole background with image, you can disable background color draw call for better performance
Stage:setClearColorBuffer(state)
Parameters
state: (bool) false to disable draw call, true to enable