Get a IDirect3DVertexShader9 from a ID3DXEffect interface

Started by
2 comments, last by fs1 9 years, 9 months ago

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

Advertisement

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

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Thanks. I can't get the right handle to work properly. The vertex pointer is always null.

Any ideas?

Any inputs ? I guess it is not possible?

This topic is closed to new replies.

Advertisement