Because SharpDX is an automatically generated wrapper over C++ APIs, I assumed it would be easy to convert from Microsoft's older Microsoft.DirectX.Direct3D
managed API to SharpDX (as part of upgrading from .NET 3.5 to .NET 4.5+, and eventually from 32-bit process to 64-bit process).
However I am encountering some incompatibilities and missing features (classes, enums).
As a first step, I am starting with SharpDX.Direct3D9
, as I believe that is closest to the older API.
But I do have the latest SharpDX sources, so I have been searching ALL the SharpDX library sources, in case the missing features do appear in a newer version of Direct3D.
Google searches have not shed any light on what to do about these issues.
Unfortunately, I am not familiar with these features, and the code I am updating has no documentation, so it seems that I will have to first learn what the managed code was doing, then learn how to do the equivalent in one of the C++ DirectX APIs, so I know what the equivalent SharpDX calls should be.
Suggestions for any of these issues, to shorten my learning time?
UNRESOLVED ISSUES
Missing from Microsoft.DirectX.Direct3D => SharpDX.Direct3D9/10/11:
- enum TextureStageStates
- field (LightsCollection) Device.Lights
RESOLVED ISSUES