• Advertisement

Archived

This topic is now archived and is closed to further replies.

Managed DX9 FVF

This topic is 5068 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

To use FVF in manged C#, do you just create your own vertex class. How/Where do you set the Flags? An example would help. I need to make a position normal textured vertex with more than one set of texture coordinates. Thanks. "It''s nice to be nice to the nice." - Frank Burns

Share this post


Link to post
Share on other sites
Advertisement
Basically you figure out the pieces you need and put them in a structure, then scan the list of flags to find the ones you need to describe what you just built.

Simple examples of 2 custom vertex definitions are here.



Stay Casual,

Ken
Drunken Hyena

Share this post


Link to post
Share on other sites
Thank you much, exactly what I needed. Had a few problems until I realized that I had to set the stride in my SetStreamSource because I was using an FVF.

Share this post


Link to post
Share on other sites

  • Advertisement