Irgendwie verstehe ich das nicht (IDirect3DDevice9::UpdateTexture):
The source texture must be in system memory (D3DPOOL_SYSTEMMEM).
D3DPOOL hat geschrieben:Sinngemäß aus Tabelle: D3DPOOL_SYSTEMMEM und D3DUSAGE_AUTOGENMIPMAP schließen einander aus
Here are the possibilities for source and destination surface combinations:
If pSourceTexture is a non-autogenerated mipmap and pDestinationTexture is an autogenerated mipmap, only the topmost matching level is updated, and the destination sublevels are regenerated. All other source sublevels are ignored.
If both pSourceTexture and pDestinationTexture are autogenerated mipmaps, only the topmost matching level is updated. The sublevels from the source are ignored and the destination sublevels are regenerated.
If pSourceTexture is an autogenerated mipmap and pDestinationTexture a non-autogenerated mipmap, UpdateTexture will fail.
Ist mit "autogenerated mipmap" etwas anderes als das Usageflag gemeint (bisher dachte ich, dieses Flag wäre hierfür notwendig) oder sehe ich den Wald vor lauter Bäumen nicht mehr? Bisher habe ich unter D3D9 immer D3DX fürs erstellen von Texturen verwendet. Ich habe alle Kombinationen durchprobiert, alleine die oben nicht angegebene (non-autogen/non-autogen) spuckt einen positiven Rückgabewert aus und PIX zeigt das auch erste Miplevel der Zieltextur korrekt an.