IDirect3DMobileResource::GetPriority (Windows CE 5.0)

Send Feedback

This method retrieves the priority for this resource.

DWORD GetPriority();

Parameters

None.

Return Values

Returns a DWORD value, indicating the priority of the resource.

Remarks

IDirect3DMobileResource::GetPriority is used for priority control of managed resources. This method returns 0 on nonmanaged resources.

Priorities are used to determine when managed resources are to be removed from memory. A resource assigned a low priority is removed before a resource with a high priority. If two resources have the same priority, the resource that was used more recently is kept in memory; the other resource is removed. Managed resources have a default priority of 0.

This method applies to the following interfaces, which inherit from IDirect3DMobileResource.

Requirements

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

See Also

IDirect3DMobileResource | IDirect3DMobileResource | IDirect3DMobileBaseTexture | IDirect3DMobileIndexBuffer | IDirect3DMobileTexture | IDirect3DMobileVertexBuffer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.