Microsoft DirectX 8.1 (C++) |
Preloads a managed resource.
void PreLoad();
None.
None.
This method applies to the following interfaces, which inherit from IDirect3DResource8.
Calling this method indicates that the application will need this managed resource shortly. This method has no effect on nonmanaged resources.
PreLoad detects "thrashing" conditions where more resources are being used in each frame than can fit in video memory simultaneously. Under such circumstances Preload silently does nothing.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.