Not Drawing uneeded

Blitz3D Forums/Blitz3D Programming/Not Drawing uneeded

I don't see how it can *not* apply. If you're doing 2d drawing, why would you want to waste time drawing something you can't see or even waste time checking to see if it can be drawn. Neither Blitz nor DirectX can optimize the checks like you can, so it has to check every single time, whereas you could actually sort your objects or if they're in an array ( like a tilemap ) even better, you automatically know where the bounds are.

Just because it's not executed doesn't mean it wasn't wasting valuable cycles checking to see if it should be executed.