Compartilhar via


IDirect3DMobileDevice::GetAvailableTextureMem (Windows CE 5.0)

Send Feedback

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

UNIT GetAvailableTextureMem();

Parameters

None.

Remarks

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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dm.h.
Link Library: D3dm.lib, D3dmguid.lib.

See Also

IDirect3DMobileDevice | D3DMSURFCAPS Values

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.