IDirect3DMobileResource::PreLoad (Windows CE 5.0)
This method preloads a managed resource.
void PreLoad();
Parameters
None.
Return Values
None.
Remarks
Calling this method indicates that the application will need this managed resource soon. 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.
This method applies to the following interfaces, which inherit from IDirect3DMobileResource.
- IDirect3DMobileBaseTexture
- IDirect3DMobileIndexBuffer
- IDirect3DMobileTexture
- IDirect3DMobileVertexBuffer
Requirements
OS Versions: Windows CE 5.0 and later.
Header: D3dm.h.
Link Library: D3dm.lib, D3dmguid.lib.
See Also
IDirect3DMobileResource | IDirect3DMobileResource | IDirect3DMobileBaseTexture | IDirect3DMobileIndexBuffer | IDirect3DMobileTexture | IDirect3DMobileVertexBuffer
Send Feedback on this topic to the authors