faster?

What is better when you render a lot of masked triangles.

  1. Render all maskes first and then render the triangles.

  2. First render the mask of a triangle and then render the triangle. Do this for all triangles.

I think the first is the fastest but will all triangles be render right with the first method?

You are correct. The first method would be faster, but has the possiblity of not being drawn correctly