Jump to content
  • Advertisement

Archived

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

v1nd1cat10n

Managed DX9 FVF

This topic is 5156 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!