Saves D3D texture to file in one of formats supported by Imaging.
function SaveD3DTextureToFile(const FileName: string; const Texture: IDirect3DTexture9): Boolean;
ImagingDirect3D9 (at line 123)
Saves all present mipmap levels.