?/TD>
Microsoft DirectX 9.0

IDirect3DResource9::PreLoad Method


Preloads a managed resource.

Syntax

void PreLoad(VOID);

Return Value

No return value.

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.



© 2002 Microsoft Corporation. All rights reserved.