編輯

共用方式為


GRContext.GetResourceCacheUsage(Int32, Int64) Method

Definition

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