public static unsafe nint CreateFromD3D11Buffer <T0>(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span <T0> resource, [Flow(FlowDirection.Out)] Span <int> errcode_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.CreateFromD3D11Buffer(context, flags, out resource.GetPinnableReference(), out errcode_ret.GetPinnableReference()));
 }
 public static unsafe IntPtr CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void *resource, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromD3D11Buffer(context, flags, resource, out errcode_ret.GetPinnableReference()));
 }