Which is better?

Started by
10 comments, last by johnc82 20 years, 4 months ago
Locking a vertex buffer to just update one vertex is a bit of a waste. Your app will lose a lot of performance.

What is your vertex data, and what kind of effect are you creating?

Why you shouldn''t use iostream.h - ever! | A Good free online C++ book
Advertisement
Keep in mind johnc82,

That with the newer hardware (with hardware T&L) it likes all the vertex buffers static. It should be uploaded to the card at initialization time. Dynamic is ok, but slower than static data since the vertex need to be transferred over the AGP bus every frame. With static it gets uploaded to the graphics card once, then it stores it in its own memory and renders from there.

This topic is closed to new replies.

Advertisement