Skip to main content
GameDev.net gamedev.net
🔒 Locked

Is UP Immediate?

Started by eSam Jan 25, 2007 at 10:14 PM 1 replies 1k views
Original Post
eSam
eSam
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!
ViLiO
ViLiO
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
eSam
eSam
Thanks. That helps.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.