BlendModes and Draw Batching

Hi Everyone,

Hopefully this is a quick question. I know that Corona batches draw calls together when they use the same ImageSheet. Since it looks like Corona would have to issue a seperate glBlendFunc/glBlendFuncSeparate call, I’m wondering if setting the blendMode property on an object interrupts this batching?

Is there anything else that interrupts batching?

Albert

Bumping this back up, does anyone have information on this?

I know it’s not really the answer you’re looking for, but I would suggest to benchmark several approaches. Corona would batch as long as is is possible. Like changing material would break batches. Setting blend mode to different blend mode may do it as well.

Cool, thank you for responding. Performance seems fine right now, I will try a stress test on several devices when I get the opportunity.

Bumping this back up, does anyone have information on this?

I know it’s not really the answer you’re looking for, but I would suggest to benchmark several approaches. Corona would batch as long as is is possible. Like changing material would break batches. Setting blend mode to different blend mode may do it as well.

Cool, thank you for responding. Performance seems fine right now, I will try a stress test on several devices when I get the opportunity.