Jump to content
  • Advertisement

Archived

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

treething

D3DXCreateEffectFromResource

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

Hi. Has anyone here successfully used the D3DXCreateEffectFromResource function? I cant seem to get it to work! I have no trouble loading meshes or textures from resources, and my effect files load fine from files. Is there some kind of trick to getting this to work, such as importing the files in a certain way? thanks, Chris

Share this post


Link to post
Share on other sites
Advertisement
What''s the error code returned?


Development Lead
Windows Graphics & Gaming Technology

Share this post


Link to post
Share on other sites
D3DXERR_INVALIDDATA, which is why I thought maybe I''m importing it wrong? Using D3DXCreateEffectFromFile on the original file works fine.

Does the resource type have to have a certain name for example? I''ve tried a few variations ("FX", "Effects", etc).

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!