Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My existing application successfully renders with the DrawPrimitive method, but when I started using the Direct3DDevice3 Interface, the primitives are not rendered properly. Why?

0
Posted

My existing application successfully renders with the DrawPrimitive method, but when I started using the Direct3DDevice3 Interface, the primitives are not rendered properly. Why?

0

The vertex description parameter of the DrawPrimitive functions has changed with the introduction of the flexible vertex format in DirectX 6.0 and above. For example, if you previously specified a vertex type flag of D3DVT_LVERTEX, you will now need to use a value of D3DFVF_LVERTEX instead. For a complete listing of the flexible vertex format flags, refer to the DirectX documentation for the DrawPrimitive method.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.