IDirect3DResource9::PreLoad

Preloads a managed resource.

PreLoad();

Parameters

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

Header: Declared in D3d9.h.