示例#1
0
 public static unsafe void ScissorArray(this ArbViewportArray thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Computed = "count"), Flow(FlowDirection.In)] ReadOnlySpan <int> v)
 {
     // SpanOverloader
     thisApi.ScissorArray(first, count, in v.GetPinnableReference());
 }
示例#2
0
 public static unsafe void ScissorIndexed(this ArbViewportArray thisApi, [Flow(FlowDirection.In)] uint index, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan <int> v)
 {
     // SpanOverloader
     thisApi.ScissorIndexed(index, in v.GetPinnableReference());
 }
示例#3
0
 public static unsafe void GetFloat(this ArbViewportArray thisApi, [Flow(FlowDirection.In)] GetPName target, [Flow(FlowDirection.In)] uint index, [Count(Computed = "target"), Flow(FlowDirection.Out)] Span <float> data)
 {
     // SpanOverloader
     thisApi.GetFloat(target, index, out data.GetPinnableReference());
 }