public static unsafe void TexFilterFunc(this SgisTextureFilter4 thisApi, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] TextureFilterSGIS filter, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] ReadOnlySpan <float> weights) { // SpanOverloader thisApi.TexFilterFunc(target, filter, n, in weights.GetPinnableReference()); }
public static unsafe void GetTexFilterFunc(this SgisTextureFilter4 thisApi, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] TextureFilterSGIS filter, [Count(Computed = "target, filter"), Flow(FlowDirection.Out)] Span <float> weights) { // SpanOverloader thisApi.GetTexFilterFunc(target, filter, out weights.GetPinnableReference()); }