Exemplo n.º 1
0
 public static unsafe void MultiDrawElementArray(this AppleElementArray thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <int> first, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] uint *count, [Flow(FlowDirection.In)] uint primcount)
 {
     // SpanOverloader
     thisApi.MultiDrawElementArray(mode, in first.GetPinnableReference(), count, primcount);
 }
Exemplo n.º 2
0
 public static unsafe void MultiDrawRangeElementArray(this AppleElementArray thisApi, [Flow(FlowDirection.In)] APPLE mode, [Flow(FlowDirection.In)] uint start, [Flow(FlowDirection.In)] uint end, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <int> first, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <uint> count, [Flow(FlowDirection.In)] uint primcount)
 {
     // SpanOverloader
     thisApi.MultiDrawRangeElementArray(mode, start, end, in first.GetPinnableReference(), in count.GetPinnableReference(), primcount);
 }
Exemplo n.º 3
0
 public static unsafe void ElementPointer <T0>(this AppleElementArray thisApi, [Flow(FlowDirection.In)] ElementPointerTypeATI type, [Count(Computed = "type"), Flow(FlowDirection.In)] ReadOnlySpan <T0> pointer) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ElementPointer(type, in pointer.GetPinnableReference());
 }