示例#1
0
 public static unsafe void GetColorTableParameter(this ExtPalettedTexture thisApi, [Flow(FlowDirection.In)] ColorTableTarget target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <float> @params)
 {
     // SpanOverloader
     thisApi.GetColorTableParameter(target, pname, out @params.GetPinnableReference());
 }
示例#2
0
 public static unsafe void ColorTable <T0>(this ExtPalettedTexture thisApi, [Flow(FlowDirection.In)] ColorTableTarget target, [Flow(FlowDirection.In)] InternalFormat internalFormat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] EXT 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());
 }
示例#3
0
 public static unsafe void GetColorTable <T0>(this ExtPalettedTexture thisApi, [Flow(FlowDirection.In)] ColorTableTarget target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] Span <T0> data) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetColorTable(target, format, type, out data.GetPinnableReference());
 }