CacheUtilization.TextureCacheHitRate Property

Language:

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

Definition

Visual Basic Public ReadOnly Property TextureCacheHitRate As Single
C# public float TextureCacheHitRate { get; }
C++ public:
property float TextureCacheHitRate {
        float get();
}
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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