Platform SDK: DirectX

IDirect3D7::EvictManagedTextures

The IDirect3D7::EvictManagedTextures method evicts all managed textures from local or nonlocal 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 or DDSCAPS2_D3DTEXTUREMANAGE flags from local or nonlocal video memory.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3d.h.

See Also

Automatic Texture Management