GRContext.GetResourceCacheLimits(Int32, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use GetResourceCacheLimit() instead.
Returns the current GPU resource cache limits.
public void GetResourceCacheLimits (out int maxResources, out long maxResourceBytes);
[System.Obsolete("Use GetResourceCacheLimit() instead.")]
public void GetResourceCacheLimits (out int maxResources, out long maxResourceBytes);
Parameters
- maxResources
- Int32
The maximum number of resources that can be held in the cache.
- maxResourceBytes
- Int64
The maximum number of bytes of video memory that can be held in the cache.
- Attributes