• Advertisement
Sign in to follow this  

Get a IDirect3DVertexShader9 from a ID3DXEffect interface

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

Dear All

 

This has been discused in several posts but not clear how can be done.

 

How can I get a IDirect3DVertexShader9 valid pointer from an instatiated ID3DXEffect ?

 

Thanks

 

Federico

Share this post


Link to post
Share on other sites
Advertisement

Call GetVertexShader? Presumably you need to provide a handle to a pass (GetPass/GetPassByName), though the documentation doesn't really bother to say.

Share this post


Link to post
Share on other sites
Thanks. I can't get the right handle to work properly. The vertex pointer is always null.

Any ideas?

Share this post


Link to post
Share on other sites

Any inputs ? I guess it is not possible?

Edited by fs1

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement