Modifier

Partager via


GRContext.GetResourceCacheLimits(Int32, Int64) Method

Definition

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

Applies to