コード例 #1
0
 public static unsafe void VertexStream1(this AtiVertexStreams thisApi, [Flow(FlowDirection.In)] VertexStreamATI stream, [Count(Count = 1), Flow(FlowDirection.In)] ReadOnlySpan <int> coords)
 {
     // SpanOverloader
     thisApi.VertexStream1(stream, in coords.GetPinnableReference());
 }
コード例 #2
0
 public static unsafe void NormalStream3(this AtiVertexStreams thisApi, [Flow(FlowDirection.In)] VertexStreamATI stream, [Count(Count = 3), Flow(FlowDirection.In)] ReadOnlySpan <double> coords)
 {
     // SpanOverloader
     thisApi.NormalStream3(stream, in coords.GetPinnableReference());
 }