CreateMultiImageFromD3DTexture Function

Converts D3D texture to TDynImageDataArray array of images.

function CreateMultiImageFromD3DTexture(const Texture: IDirect3DTexture9; 
                                        var Images: TDynImageDataArray; 
                                        MipLevels: LongInt = 0; 
                                        OverrideFormat: TImageFormat = ifUnknown): Boolean;

ImagingDirect3D9 (at line 141)


You can specify how many mipmap levels of the input texture you want to be converted (default is all levels). OverrideFormat can be used to convert output images to the specified format rather than use the format taken from D3D texture, ifUnknown means no conversion.

Related Information
You are here: Symbol Reference > Functions > CreateMultiImageFromD3DTexture Function