Share via


IDirect3DMobileTexture (Windows CE 5.0)

Send Feedback

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

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

See Also

Direct3D Mobile Interfaces | IDirect3DMobileBaseTexture | IDirect3DMobileDevice::CreateTexture

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.