Exemplo n.º 1
0
 public static unsafe void ReadnPixels <T0>(this ExtRobustness thisApi, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <T0> data) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ReadnPixels(x, y, width, height, format, type, bufSize, out data.GetPinnableReference());
 }
Exemplo n.º 2
0
 public static unsafe void GetnUniform(this ExtRobustness thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetnUniform(program, location, bufSize, out @params.GetPinnableReference());
 }