private gr_context_get_resource_cache_usage ( |
||
context | ||
maxResources | int | |
maxResourceBytes | ||
Результат | void |
public void GetResourceCacheUsage(out int maxResources, out long maxResourceBytes) { IntPtr maxResourceBytesPtr; SkiaApi.gr_context_get_resource_cache_usage(Handle, out maxResources, out maxResourceBytesPtr); maxResourceBytes = (long)maxResourceBytesPtr; }
public void GetResourceCacheUsage(out int maxResources, out long maxResourceBytes) { IntPtr maxResBytes; fixed(int *maxRes = &maxResources) { SkiaApi.gr_context_get_resource_cache_usage(Handle, maxRes, &maxResBytes); } maxResourceBytes = (long)maxResBytes; }