IDirect3DMobileDevice::GetAvailableTextureMem

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

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

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IDirect3DMobileDevice
D3DMSURFCAPS Values