Beispiel #1
0
 public static unsafe void GetMapParameter(this NVEvaluators thisApi, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] MapParameterNV pname, [Count(Computed = "target, pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetMapParameter(target, pname, out @params.GetPinnableReference());
 }
Beispiel #2
0
 public static unsafe void GetMapControlPoints <T0>(this NVEvaluators thisApi, [Flow(FlowDirection.In)] EvalTargetNV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] MapTypeNV type, [Flow(FlowDirection.In)] uint ustride, [Flow(FlowDirection.In)] uint vstride, [Flow(FlowDirection.In)] bool packed, [Count(Computed = "target"), Flow(FlowDirection.Out)] Span <T0> points) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetMapControlPoints(target, index, type, ustride, vstride, packed, out points.GetPinnableReference());
 }
Beispiel #3
0
 public static unsafe void MapParameter(this NVEvaluators thisApi, [Flow(FlowDirection.In)] EvalTargetNV target, [Flow(FlowDirection.In)] MapParameterNV pname, [Count(Computed = "target, pname"), Flow(FlowDirection.In)] ReadOnlySpan <float> @params)
 {
     // SpanOverloader
     thisApi.MapParameter(target, pname, in @params.GetPinnableReference());
 }
Beispiel #4
0
 public static unsafe void GetMapAttribParameter(this NVEvaluators thisApi, [Flow(FlowDirection.In)] EvalTargetNV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <float> @params)
 {
     // SpanOverloader
     thisApi.GetMapAttribParameter(target, index, pname, out @params.GetPinnableReference());
 }
Beispiel #5
0
 public static unsafe void MapControlPoints <T0>(this NVEvaluators thisApi, [Flow(FlowDirection.In)] EvalTargetNV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] NV type, [Flow(FlowDirection.In)] uint ustride, [Flow(FlowDirection.In)] uint vstride, [Flow(FlowDirection.In)] int uorder, [Flow(FlowDirection.In)] int vorder, [Flow(FlowDirection.In)] bool packed, [Count(Computed = "target, uorder, vorder"), Flow(FlowDirection.In)] ReadOnlySpan <T0> points) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.MapControlPoints(target, index, type, ustride, vstride, uorder, vorder, packed, in points.GetPinnableReference());
 }