LÖVE 11 draw call batching documentation?
LÖVE 11 draw call batching documentation?
Is there any documentation on how the new draw call batching works? Specifically, what breaks a batch?
- slime
- Solid Snayke
- Posts: 3172
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LÖVE 11 draw call batching documentation?
The love.graphics.flushBatch wiki page describes it.
Re: LÖVE 11 draw call batching documentation?
Batch is broken automatically whenever it is required. Doing it manually just increases amount of draw calls and reduces performance, compared to automatic mode. With that in mind, I'm not even sure why it's there. Placebo effect I guess?
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: LÖVE 11 draw call batching documentation?
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: LÖVE 11 draw call batching documentation?
Aha! Thanks, slime. So I can change the transform and the color, and draw the same image (or quad pieces of the same image) as much as I want, but that's about it.
- Now I can also use any of the line/shape/point drawing functions without breaking the batch, right?
. . . (arc, circle, ellipse, line, points, polygon, and rectangle.) - But .setPointSize, .setLineWith, etc., will break the batch?
Who is online
Users browsing this forum: Google [Bot] and 3 guests