I want to ask dx veterans...about dx versioning
You know, dx has different interfaces for different version, as well as many struct. MS say this helps to solve the version problem. However, when you want to upgrade your program to use the newer version of dx, what''s the best way? Search and replace all the type names?
Thanks in advance
------------------
qr. li
quote:However, when you want to upgrade your program to use the newer version of dx, what''s the best way? Search and replace all the type names?
That sounds pretty stupid to me - dont forget that the new version is not a new version becausse it changes names, but also because it changes the way things are done. This is pretty little in SDx8/dx9 (well, not SO little if you worked with shaders, and effects are there etc.). A search/replace is a good start, though. But hardly all the work.
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
I think the "version problem" is more about backwards compatablilty, rather than upgradability. the end user can still run dx3 apps even though dx9 is nothing like dx3. what''s easy about this is that they aren''t limited to sticking within the framework of dx3. they can totally change everything, and still not break old code. As for upgrading, it usually requires a lot more work that just search/replace. but depending on what versions you''re going to/from it could be easy or very hard. DX8 to DX9 is easy though.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement