Microsoft DirectX 9.0 SDK Update (October 2004)

ResourceStats Structure

Language:

Note: This documentation is preliminary and is subject to change.

Contains information about the resource manager.

Definition

Visual Basic .NET Public Structure ResourceStats
C# public struct ResourceStats
Managed C++ public __value struct ResourceStats
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
ResourceStats Initializes a new instance of the ResourceStats class.
ToString Obtains a string representation of the current instance.
Property Description
ApproximateBytesDownloaded Retrieves the approximate number of bytes downloaded by the resource manager.
LastObjectPriority Retrieves the priority value of the last object evicted.
NumberEvicts Retrieves the number of objects evicted.
NumberObjectsCreatedInVideoMemory Retrieves the number of objects created in video memory.
NumberObjectsUsed Retrieves the number of objects set to the device.
NumberObjectsUsedInVideoMemory Retrieves the number of objects set to the device that are already in video memory.
Thrashing Retrieves a value that indicates whether thrashing is occurring.
TotalManaged Retrieves the total number of managed objects.
TotalManagedBytes Retrieves the total number of bytes used by the managed objects.
WorkingSet Retrieves the number of objects in video memory.
WorkingSetBytes Retrieves the number of bytes in video memory.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center