Partager via


IDirect3DMobileTexture

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface is the primary interface for working with texture map objects in Direct3D Mobile. It derives from IDirect3DMobileBaseTexture and adds the ability to lock levels of the texture map, as well as access to the dirty rectangle mechanism that is used by the automatic texture update functionality. The Direct3D Mobile middleware will track, at the most, six dirty rectangles before dirtying an entire surface.

Methods

The following table shows the methods for this interface by functional grouping. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Grouping Methods

Dirty Rectangles

AddDirtyRect

Locking

LockRect

UnlockRect

Mipmap Levels

GetLevelDesc

GetSurfaceLevel

Obtaining a Pointer

You can obtain a pointer to an IDirect3DMobileTexture interface by calling the IDirect3DMobileDevice::CreateTexture method.

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

Direct3D Mobile Interfaces
IDirect3DMobileBaseTexture
IDirect3DMobileDevice::CreateTexture