2 ms·
>you want to push the triangle data into the card in a single (or few) API calls glBufferSubData? >then submit as few draw calls as you can manage glDrawElem
by aaaaaaaaaaab 4y ago
>you want to push the triangle data into the card in a single (or few) API calls
glBufferSubData?
>then submit as few draw calls as you can manage
glDrawElements?
Nobody used glBegin/glEnd in the past 20 years...
- foxhill 4y agoi was paraphrasing for someone who might not be familiar with graphics basics, let alone architectures of bindless/GPU-driven rendering pipelines :) OpenGL 3 deprecated glBegin/glEnd, but there is still state, and a lot of it. none of the OpenGL API is re-entrant, for instance..