コード例 #1
0
 public static unsafe void MultiDrawElements(this ExtMultiDrawArrays thisApi, [Flow(FlowDirection.In)] EXT mode, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <uint> count, [Flow(FlowDirection.In)] EXT type, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] in void *indices, [Flow(FlowDirection.In)] uint primcount)
コード例 #2
0
 public static unsafe void MultiDrawArrays(this ExtMultiDrawArrays thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [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.MultiDrawArrays(mode, in first.GetPinnableReference(), in count.GetPinnableReference(), primcount);
 }
コード例 #3
0
 public static unsafe void MultiDrawElements(this ExtMultiDrawArrays thisApi, [Flow(FlowDirection.In)] EXT mode, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <uint> count, [Flow(FlowDirection.In)] EXT type, [Count(Parameter = "primcount"), Flow(FlowDirection.In)] void **indices, [Flow(FlowDirection.In)] uint primcount)
 {
     // SpanOverloader
     thisApi.MultiDrawElements(mode, in count.GetPinnableReference(), type, indices, primcount);
 }
コード例 #4
0
 public static unsafe void MultiDrawArrays(this ExtMultiDrawArrays thisApi, [Flow(FlowDirection.In)] EXT mode, [Count(Computed = "primcount"), Flow(FlowDirection.In)] ReadOnlySpan <int> first, [Count(Computed = "primcount"), Flow(FlowDirection.In)] uint *count, [Flow(FlowDirection.In)] uint primcount)
 {
     // SpanOverloader
     thisApi.MultiDrawArrays(mode, in first.GetPinnableReference(), count, primcount);
 }