Advertisement Jump to content
Sign in to follow this  
ShadowTzu

[SharpDX] DirectX11 Wrapper is not compatible with VB.NET

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

Hello,

I just try to use SharpDX with VB.NET but I realized that it was impossible to use the 'SharpDX.Direct3D11.Effect.GetVariableByName("").AsMatrix.SetMatrix' function
due to the fact that VB.NET is not case sensitive,
SetMatrix has different name:

 

http://msdn.microsoft.com/en-us/library/ms235408%28v=vs.90%29.aspx

 

My post is just for information for people seeking information on the duo SharpDX + VB.NET

Share this post


Link to post
Share on other sites
Advertisement

Hello,

I just try to use SharpDX with VB.NET but I realized that it was impossible to use the 'SharpDX.Direct3D11.Effect.GetVariableByName("").AsMatrix.SetMatrix' function
due to the fact that VB.NET is not case sensitive,
SetMatrix has different name:

 

http://msdn.microsoft.com/en-us/library/ms235408%28v=vs.90%29.aspx

 

My post is just for information for people seeking information on the duo SharpDX + VB.NET

 

Unfortunately, SharpDX has been designed primarily to be used from C# where you can fully leverage OO programming (like overloading methods using by ref parameters) and use unsafe code whenever critical code requires it. It is unfortunate that VB.NET doesn't support these. Going through all the methods/interfaces would be quite a job and would break lots of interfaces, but it is still doable.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!