Partager via


IDirect3DMobileResource::PreLoad

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method preloads a managed resource.

Syntax

void PreLoad();

Parameters

None.

Return Value

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.

Requirements

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IDirect3DMobileResource
IDirect3DMobileResource
IDirect3DMobileBaseTexture
IDirect3DMobileIndexBuffer
IDirect3DMobileTexture
IDirect3DMobileVertexBuffer