IDirect3DResource9::PreLoad method (d3d9helper.h)
Preloads a managed resource.
Syntax
void PreLoad();
Return value
None
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9helper.h (include D3d9.h) |
Library | D3D9.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for