Sign in to follow this  

D3DX10ReflectShader on non-SP1 Vista

Recommended Posts

I'm making my first steps on using shader reflection in DX10. Now the docs say that I must use D3DX10ReflectShader, which will give me a pointer to a ID3D10ShaderReflection1. The 1 at the end leads me to believe it's a DirectX 10.1-structure, as does the remark in the documentation: 'This requires Windows Vista Service Pack 1'. So what happens when I use D3DX10ReflectShader on a Vista that does not have SP1? Can I simply cast the returned pointer to a ID3D10ShaderReflection, thereby maintaining DX 10.0 compatibility?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this