コード例 #1
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetMemoryWin32HandleProperties(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint handle, [Count(Count = 0), Flow(FlowDirection.Out)] Span <MemoryWin32HandlePropertiesKHR> pMemoryWin32HandleProperties)
 {
     // SpanOverloader
     return(thisApi.GetMemoryWin32HandleProperties(device, handleType, handle, out pMemoryWin32HandleProperties.GetPinnableReference()));
 }
コード例 #2
0
 /// <summary>To be documented.</summary>
 public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <MemoryGetWin32HandleInfoKHR> pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span <nint> pHandle)
 {
     // SpanOverloader
     return(thisApi.GetMemoryWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), out pHandle.GetPinnableReference()));
 }