IDirect3DResource9::PreLoad method (d3d9helper.h)

Preloads a managed resource.

Syntax

void PreLoad();

Return value

None

Remarks

Calling this method indicates that the application will need this managed resource shortly. This method has no effect on nonmanaged resources.

IDirect3DResource9::PreLoad detects "thrashing" conditions where more resources are being used in each frame than can fit in video memory simultaneously. Under such circumstances IDirect3DResource9::PreLoad silently does nothing.

Requirements

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3d9.h)
Library D3D9.lib

See also

IDirect3DResource9