glDrawElements in d3d?
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.
You could look into the following functions
IDirect3DDevice9::DrawPrimitive
IDirect3DDevice9::DrawIndexedPrimitive
IDirect3DDevice9::DrawPrimitiveUP
IDirect3DDevice9::DrawIndexedPrimitiveUP
I hope this helps.
Take care.
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 :-)
Im not saying it cant be done, it absolutely can but the approach would be diffrent :-)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement