Converts main level of the D3D texture to TImageData strucrue.
function CreateImageFromD3DTexture(const Texture: IDirect3DTexture9;
var Image: TImageData;
OverrideFormat: TImageFormat = ifUnknown): Boolean;ImagingDirect3D9 (at line 134)
OverrideFormat can be used to convert output image to the specified format rather than use the format taken from D3D texture, ifUnknown means no conversion.