Recent

Author Topic: Direct3D9Ex texture  (Read 992 times)

Mr.Madguy

  • Hero Member
  • *****
  • Posts: 740
Direct3D9Ex texture
« on: October 09, 2021, 08:10:22 pm »
Overall I can't find good Direct3D9Ex tutorial, where all differences between it and Direct3D9 would be shown. As always, MSDN is very shallow and lacks really important information. Docs say, that D3DPOOL_MANAGED is unsupported in Direct3D9Ex. And I can't find any info about dealing with this situation. Should I manage textures myself via using UpdateTexture? This makes things harder.

P.S. UpdateTexture is working and guys in internet say, that D3D9Ex device can't be lost and therefore there is no need to care about resetting unmanaged resources, so, I guess, only problem with switching to D3D9Ex - is extra texture object, that should be created explicitly.
« Last Edit: October 10, 2021, 12:03:13 pm by Mr.Madguy »
DynamicData 4.1 is in development - optimizing code and paying technical debts.
My project still requires full Delphi 2009 support to be ported to Lazarus.
It's time to finally do it, because Delphi 2009 is 12 years old.

 

TinyPortal © 2005-2018