IDirect3D3::EvictManagedTextures

The IDirect3D3::EvictManagedTextures method purges all managed textures from local or non-local video memory.

HRESULT EvictManagedTextures(); 
 

Parameters

None.

Return Values

This method returns D3D_OK.

Remarks

This method causes Direct3D to remove any texture surfaces created with the DDSCAPS2_TEXTUREMANAGE flag from local or non-local video memory.

QuickInfo

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3d.h.
  Import Library: Use ddraw.lib.

See Also

Automatic Texture Management