Ejemplo n.º 1
0
 public static unsafe void GetBufferParameter(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPNameARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetBufferParameter(target, pname, out @params.GetPinnableReference());
 }
Ejemplo n.º 2
0
 public static unsafe void GenBuffers(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.Out)] Span <Buffer> buffers)
 {
     // SpanOverloader
     thisApi.GenBuffers(n, out buffers.GetPinnableReference());
 }
Ejemplo n.º 3
0
 public static unsafe void DeleteBuffers(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] ReadOnlySpan <Buffer> buffers)
 {
     // SpanOverloader
     thisApi.DeleteBuffers(n, in buffers.GetPinnableReference());
 }
Ejemplo n.º 4
0
 public static unsafe void BufferSubData <T0>(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan <T0> data) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference());
 }
Ejemplo n.º 5
0
 public static unsafe void GetBufferSubData <T0>(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span <T0> data) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference());
 }
Ejemplo n.º 6
0
 public static unsafe void BufferData <T0>(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan <T0> data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.BufferData(target, size, in data.GetPinnableReference(), usage);
 }