Is UP Immediate?

Started by
1 comment, last by eSam 17 years, 2 months ago
Hello, Is using DrawPrimitiveUP comnsidered performance-wise equivalent to the OpenGL immediate call: glBegin...glEnd? Or is it a wrapper around creating a VB and pushing the vdata, Or is it driver independent? Thanks!
Advertisement
I think DirectX's user primitive draw calls would be more equivalent to that of OpenGL's vertex arrays, with DirectX's vertex buffers being equivalent to OpenGL's vertex buffer objects.

Naturally there is an extra overhead with the DirectX draw calls, so an exact comparison isn't possible, but in terms of usage from within an application, those could be said to be most similar.

DirectX has no equivalent to that of OpenGL's immediate mode unless you emulate it yourself.

Regards,
ViLiO
Richard 'ViLiO' Thomasv.net | Twitter | YouTube
Thanks. That helps.

This topic is closed to new replies.

Advertisement