コード例 #1
0
 public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr *offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <UIntPtr> sizes)
 {
     // SpanOverloader
     thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference());
 }
コード例 #2
0
 public static unsafe void BindBuffersBase(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> buffers)
 {
     // SpanOverloader
     thisApi.BindBuffersBase(target, first, count, in buffers.GetPinnableReference());
 }
コード例 #3
0
 public static unsafe void BindTextures(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> textures)
 {
     // SpanOverloader
     thisApi.BindTextures(first, count, in textures.GetPinnableReference());
 }
コード例 #4
0
 public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <IntPtr> offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> strides)
 {
     // SpanOverloader
     thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference());
 }
コード例 #5
0
 public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer *buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <nint> offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint *sizes)
 {
     // SpanOverloader
     thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes);
 }