Sign in to follow this  

SetVertexShaderConstant Problem

Recommended Posts

Im having a problem using Device.SetVertexShaderConstant in 2003 using directx 9c (1.0.2902.0) in 9.0a and i think 9.0b i had no issues using this. The problem i have now is that when i paste the exact same code used in the previous versions i get IDE errors in the task list... Device.SetVertexShaderConstant(0, New Matrix() {WldViewProj}) Device.SetVertexShaderConstant(0, nothing) 'just testing SkinnedMesh.vb(379): 'SetVertexShaderConstant' has a return type that is not supported or parameter types that are not supported. The IDE underlines Device.SetVertexShaderConstant both times. Is this a known bug in the 9.0c release and is there a work around for this?

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