• Advertisement
Sign in to follow this  

difference between FVF and VertexDeclaration?? (C++/DirectX 9)

This topic is 3443 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm reading through Frank Luna's intro to 3d programming with directx 9.0c: a shader approach, and I see that he uses vertex declarations instead of FVF's, i'm wondering what the pros and cons are of each thanks

Share this post


Link to post
Share on other sites
Advertisement
If you keep reading, he mentions the reason they used VertexDeclarations is because they are needed for using shaders, where FVF works with the fixed function pipeline. Not long after he gets to VertexDeclarations, he switches to shaders, so it comes up fairly quickly.

Share this post


Link to post
Share on other sites
yeah i just realized that, thanks. what he doesn't mention is, can vertex declarations be used with the fixed function pipeline?


thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement