public static unsafe void GetHistogramParameter(this ExtHistogram thisApi, [Flow(FlowDirection.In)] HistogramTargetEXT target, [Flow(FlowDirection.In)] GetHistogramParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <float> @params) { // SpanOverloader thisApi.GetHistogramParameter(target, pname, out @params.GetPinnableReference()); }
public static unsafe void GetHistogram <T0>(this ExtHistogram thisApi, [Flow(FlowDirection.In)] HistogramTargetEXT target, [Flow(FlowDirection.In)] Boolean reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] Span <T0> values) where T0 : unmanaged { // SpanOverloader thisApi.GetHistogram(target, reset, format, type, out values.GetPinnableReference()); }