SFML community forums
Help => Graphics => Topic started by: Lolilolight on April 03, 2014, 09:08:12 pm
-
I've a question, why you pretransform vertices only when their size is 4 or less ?
-
How can a vertice which is a single point have a size?
-
Because it's the GPU's job to transform vertices. But when you have very few vertices to transform (<= 4 so I handle sprites) before changing the modelview matrix, it's sometimes more efficient to transform on the CPU and avoid changing the modelview matrix so often.
-
Ok thanks for your answer. :)