![]() |
![]() |
![]() |
CacheUtilization.TextureCacheHitRate Property |
Language: |
Retrieves the hit rate for finding a texture in the texture cache.
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
System.Single . A Single
This property is read-only.value that represents the hit rate for finding a texture in the texture cache.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center