Jump to content

  • Log In with Google      Sign In   
  • Create Account

Get a IDirect3DVertexShader9 from a ID3DXEffect interface


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 fs1   Members   -  Reputation: 322

Like
0Likes
Like

Posted 20 July 2014 - 06:56 PM

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



Sponsor:

#2 Promit   Moderators   -  Reputation: 7189

Like
1Likes
Like

Posted 20 July 2014 - 07:18 PM

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



#3 fs1   Members   -  Reputation: 322

Like
0Likes
Like

Posted 22 July 2014 - 04:29 AM

Thanks. I can't get the right handle to work properly. The vertex pointer is always null.

Any ideas?

#4 fs1   Members   -  Reputation: 322

Like
0Likes
Like

Posted 23 July 2014 - 11:02 AM

Any inputs ? I guess it is not possible?


Edited by fs1, 23 July 2014 - 11:02 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS