Sign in to follow this  
akira32

SetFVF vs SetVertexDeclaration

Recommended Posts

akira32    112
The SetFVF and SetVertexDeclaration are alternative? Is SetVertexDeclaration better than SetFVF in using Shader and in performance?

Share this post


Link to post
Share on other sites
MJP    19755
SetVertexDeclaration will give you much more flexibility, and is very similar to what D3D10 uses (FVF is gone in D3D10). I don't see any reason for why you would need to stick with FVF if you're using a shader-based approach.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this