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

Started by
1 comment, last by hughiecoles 15 years, 8 months ago
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
--------------------------------------Not All Martyrs See Divinity, But At Least You Tried
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.
-- gekko
yeah i just realized that, thanks. what he doesn't mention is, can vertex declarations be used with the fixed function pipeline?


thanks
--------------------------------------Not All Martyrs See Divinity, But At Least You Tried

This topic is closed to new replies.

Advertisement