PreLoad
Collapse the table of content
Expand the table of content

IDirect3DResource9::PreLoad method

Preloads a managed resource.

Syntax


void PreLoad();

Parameters

This method has no parameters.

Return value

This method does not return a 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.

Requirements

Header

D3d9.h

Library

D3D9.lib

See also

IDirect3DResource9

 

 

Show:
© 2016 Microsoft