MDX (Dec 2005) Working with D3DX

I just upgraded to the latest and greatest DX SDK, mainly because I really wanted be able to use the Direct3D.Font.MeasureString method (although I'm a bit confused as to the parameters it takes, but I should probably ask that question in another thread).

Anyway, I added a reference to the Microsoft.DirectX assembly labelled with the version 2.0.0.0 and runtime 2.0.50727. Now I can't seem to find where the TextureLoader class has gone to. It seems the Microsoft.DirectX assembly doesn't include the Direct3DX namespace, which was where it was in the older version I had. According to the docs, TextureLoader is now a member of the Microsoft.DirectX.Direct3D namespace but the C# compiler doesn't find it, and it doesn't show up in a search in the object browser.

I can add a reference to older versions of the Microsoft.Direct3D.Direct3DX library, and this results in conflicting types existing in both libraries (specifically, the Direct3D.Font class).

So is the TextureLoader class available in the latest SDK Or is there an alternative Or do I need references to some other library



Answer this question

MDX (Dec 2005) Working with D3DX

  • Stan_M

    Only the MDX2.0 assemblies are in beta state, you can still use the 'normal' MDX1.1 assemblies as you normally would. And afaik the TextureLoader (and pretty much all other xxxLoader classes) have been removed and their functionality has been added to the appropriate resource classes, like the Texture constructor for the TextureLoader example.

  • Ruud H.

     

    The new assmblies are still in beta and have combined all of the older classes, there have also been some changes to the base code. The Zman did some research and published it for the october release, and I have compiled up a .chm document on the December assemblies releases. Now as this code is still in beta you should try posting the questions for this in the public beta news groups as the developers look at these.

    Note that these assemblies are still in beta and should not be used in production systems.



  • Chris Jackson - MSFT

    ok, are you saying that the December release of Managed DirectX is in beta or all assemblies of Managed DirectX are in beta Are the old ones still available

    Thanks, I will post to the news groups.

  • MDX (Dec 2005) Working with D3DX