/// <summary>To be documented.</summary> public static unsafe Result MergeValidationCaches(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT dstCache, [Count(Count = 0)] uint srcCacheCount, [Count(Parameter = "srcCacheCount"), Flow(FlowDirection.In)] ReadOnlySpan <ValidationCacheEXT> pSrcCaches) { // SpanOverloader return(thisApi.MergeValidationCaches(device, dstCache, srcCacheCount, in pSrcCaches.GetPinnableReference())); }
/// <summary>To be documented.</summary> public static unsafe Result GetValidationCacheData <T0>(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span <nuint> pDataSize, [Count(Parameter = "pDataSize")] Span <T0> pData) where T0 : unmanaged { // SpanOverloader return(thisApi.GetValidationCacheData(device, validationCache, ref pDataSize.GetPinnableReference(), ref pData.GetPinnableReference())); }
/// <summary>To be documented.</summary> public static unsafe Result CreateValidationCache(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <ValidationCacheCreateInfoEXT> pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span <ValidationCacheEXT> pValidationCache) { // SpanOverloader return(thisApi.CreateValidationCache(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pValidationCache.GetPinnableReference())); }
/// <summary>To be documented.</summary> public static unsafe void DestroyValidationCache(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator) { // SpanOverloader thisApi.DestroyValidationCache(device, validationCache, in pAllocator.GetPinnableReference()); }
/// <summary>To be documented.</summary> public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span <nuint> pDataSize, [Count(Computed = "pDataSize")] void *pData) { // SpanOverloader return(thisApi.GetValidationCacheData(device, validationCache, ref pDataSize.GetPinnableReference(), pData)); }