CreateMultiImageFromD3DTexture Function
ImagingDirect3D9

Converts D3D texture to TDynImageDataArray array of images.

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

ImagingDirect3D9 (at line 141)

Description

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