glDrawElements in d3d?

Started by
1 comment, last by dawidjoubert 18 years, 4 months ago
Hello, im used to opengl so i dont know anything about D3D. But i need to know if there is a function in D3D that does the same as glDrawElements in OpenGL.
Advertisement
You could look into the following functions
IDirect3DDevice9::DrawPrimitive
IDirect3DDevice9::DrawIndexedPrimitive

IDirect3DDevice9::DrawPrimitiveUP
IDirect3DDevice9::DrawIndexedPrimitiveUP


I hope this helps.
Take care.
Just keep in mind that DirectX is Object Orientated while OpenGL is a state machine orientated.

Im not saying it cant be done, it absolutely can but the approach would be diffrent :-)
----------------------------

http://djoubert.co.uk

This topic is closed to new replies.

Advertisement