GRContext.GetResourceCacheUsage(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.
Returns the current GPU resource cache usage.
public void GetResourceCacheUsage (out int maxResources, out long maxResourceBytes);
Parameters
- maxResources
- Int32
The number of resources that are held in the cache.
- maxResourceBytes
- Int64
The total number of bytes of video memory held in the cache.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.