Microsoft DirectX 9.0 SDK Update (October 2004)

CacheUtilization.TextureCacheHitRate Property

Language:

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

Retrieves the hit rate for finding a texture in the texture cache.

Definition

Visual Basic .NET Public ReadOnly Property TextureCacheHitRate As Single
C# public float TextureCacheHitRate { get; }
Managed C++ public: __property float get_TextureCacheHitRate();
JScript .NET public function get TextureCacheHitRate() : float

Property Value

System.Single . A Single Leave Site value that represents the hit rate for finding a texture in the texture cache.

This property is read-only. 

Remarks

This assumes there is a texture cache. Increasing the level of detail (LOD) bias to use the most detailed texture, using many large textures, or producing a near random texture access pattern on large textures with custom shader code can dramatically affect the texture cache hit rate.


© 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