CreateD3DSurfaceFromImage Function
ImagingDirect3D9

Creates contents of Image to D3D surface.

Pascal
function CreateD3DSurfaceFromImage(const Image: TImageData; 
                                   Surface: IDirect3DSurface9): Boolean;
File

ImagingDirect3D9 (at line 148)

Description

Surface must exist before calling this function so it can be used to fill various types of surfaces (textures surfaces, offscreen, depth buffer, ...). Surface must be lockable for function to work.

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