CreateImageFromD3DTexture Function
ImagingDirect3D9

Converts main level of the D3D texture to TImageData strucrue.

Pascal
function CreateImageFromD3DTexture(const Texture: IDirect3DTexture9; 
                                   var Image: TImageData; 
                                   OverrideFormat: TImageFormat = ifUnknown): Boolean;
File

ImagingDirect3D9 (at line 134)

Description

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.

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