Ejemplo n.º 1
0
 public static unsafe void ColorTable <T0>(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] SGI internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] SGI format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] ReadOnlySpan <T0> table) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ColorTable(target, internalformat, width, format, type, in table.GetPinnableReference());
 }
Ejemplo n.º 2
0
 public static unsafe void GetColorTable <T0>(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] Span <T0> table) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetColorTable(target, format, type, out table.GetPinnableReference());
 }
Ejemplo n.º 3
0
 public static unsafe void GetColorTableParameter(this SgiColorTable thisApi, [Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetColorTableParameter(target, pname, out @params.GetPinnableReference());
 }
Ejemplo n.º 4
0
 public static unsafe void ColorTableParameter(this SgiColorTable thisApi, [Flow(FlowDirection.In)] SGI target, [Flow(FlowDirection.In)] SGI pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <int> @params)
 {
     // SpanOverloader
     thisApi.ColorTableParameter(target, pname, in @params.GetPinnableReference());
 }