@@ -407,84 +407,80 @@ public static int Close<T0>(this ComPtr<ID3DInclude> thisVtbl, [Flow(Silk.NET.Co
407407 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * * ppData , Span < uint > pBytes )
408408 {
409409 var @this = thisVtbl . Handle ;
410- int ret = default ;
411- fixed ( void * pDataPtr = & pData )
412- {
413- ret = ( ( delegate * unmanaged[ Stdcall] < ID3DInclude * , void * , int > ) @this ->LpVtbl [ 1 ] ) ( @this , pDataPtr ) ;
414- }
415- return ret ;
410+ // SpanOverloader
411+ return @this ->Open ( IncludeType , pFileName , pParentData , ppData , ref pBytes . GetPinnableReference ( ) ) ;
416412 }
417413
418414 /// <summary>To be documented.</summary>
419415 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] in void * ppData , Span < uint > pBytes )
420416 {
421417 var @this = thisVtbl . Handle ;
422418 // SpanOverloader
423- return @this ->Open ( IncludeType , pFileName , pParentData , ppData , ref pBytes . GetPinnableReference ( ) ) ;
419+ return @this ->Open ( IncludeType , pFileName , pParentData , in ppData , ref pBytes . GetPinnableReference ( ) ) ;
424420 }
425421
426422 /// <summary>To be documented.</summary>
427423 public static unsafe int Open < T0 > ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < T0 > pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * * ppData , uint * pBytes ) where T0 : unmanaged
428424 {
429425 var @this = thisVtbl . Handle ;
430426 // SpanOverloader
431- return @this ->Open ( IncludeType , pFileName , pParentData , in ppData , ref pBytes . GetPinnableReference ( ) ) ;
427+ return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , ppData , pBytes ) ;
432428 }
433429
434430 /// <summary>To be documented.</summary>
435431 public static unsafe int Open < T0 > ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < T0 > pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * * ppData , Span < uint > pBytes ) where T0 : unmanaged
436432 {
437433 var @this = thisVtbl . Handle ;
438434 // SpanOverloader
439- return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , ppData , pBytes ) ;
435+ return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , ppData , ref pBytes . GetPinnableReference ( ) ) ;
440436 }
441437
442438 /// <summary>To be documented.</summary>
443439 public static unsafe int Open < T0 > ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < T0 > pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] in void * ppData , uint * pBytes ) where T0 : unmanaged
444440 {
445441 var @this = thisVtbl . Handle ;
446442 // SpanOverloader
447- return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , ppData , ref pBytes . GetPinnableReference ( ) ) ;
443+ return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , in ppData , pBytes ) ;
448444 }
449445
450446 /// <summary>To be documented.</summary>
451447 public static unsafe int Open < T0 > ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] byte * pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < T0 > pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] in void * ppData , Span < uint > pBytes ) where T0 : unmanaged
452448 {
453449 var @this = thisVtbl . Handle ;
454450 // SpanOverloader
455- return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , in ppData , pBytes ) ;
451+ return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , in ppData , ref pBytes . GetPinnableReference ( ) ) ;
456452 }
457453
458454 /// <summary>To be documented.</summary>
459455 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < byte > pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * * ppData , uint * pBytes )
460456 {
461457 var @this = thisVtbl . Handle ;
462458 // SpanOverloader
463- return @this ->Open ( IncludeType , pFileName , in pParentData . GetPinnableReference ( ) , in ppData , ref pBytes . GetPinnableReference ( ) ) ;
459+ return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , ppData , pBytes ) ;
464460 }
465461
466462 /// <summary>To be documented.</summary>
467463 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < byte > pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * * ppData , Span < uint > pBytes )
468464 {
469465 var @this = thisVtbl . Handle ;
470466 // SpanOverloader
471- return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , ppData , pBytes ) ;
467+ return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , ppData , ref pBytes . GetPinnableReference ( ) ) ;
472468 }
473469
474470 /// <summary>To be documented.</summary>
475471 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < byte > pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] in void * ppData , uint * pBytes )
476472 {
477473 var @this = thisVtbl . Handle ;
478474 // SpanOverloader
479- return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , ppData , ref pBytes . GetPinnableReference ( ) ) ;
475+ return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , in ppData , pBytes ) ;
480476 }
481477
482478 /// <summary>To be documented.</summary>
483479 public static unsafe int Open ( this ComPtr < ID3DInclude > thisVtbl , D3DIncludeType IncludeType , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] ReadOnlySpan < byte > pFileName , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] void * pParentData , [ Flow ( Silk . NET . Core . Native . FlowDirection . In ) ] in void * ppData , Span < uint > pBytes )
484480 {
485481 var @this = thisVtbl . Handle ;
486482 // SpanOverloader
487- return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , in ppData , pBytes ) ;
483+ return @this ->Open ( IncludeType , in pFileName . GetPinnableReference ( ) , pParentData , in ppData , ref pBytes . GetPinnableReference ( ) ) ;
488484 }
489485
490486 /// <summary>To be documented.</summary>
0 commit comments