Windows Mobile 6.5
A version of this page is also available for

This method is used to obtain an approximation of the amount of available memory that can be allocated for textures.

UNIT GetAvailableTextureMem();


As with implementations for Windows-based desktop systems, this method will return a rough estimate of the amount of memory available for texture allocation. Unlike the Windows-based desktop implementations, texture memory may not be solely a function of video memory. The value returned from IDirect3DMobileDevice::GetAvailableTextureMem reflects the memory pool defined by the D3DMSURFCAPS_SYSTEXTURE and D3DMSURFCAPS_VIDTEXTURE capability bits (see D3DMSURFCAPS Values) for texture memory allocation.

LibraryD3dm.lib, D3dmguid.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions