public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan <nint> mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint *event_wait_list, [Flow(FlowDirection.Out)] Span <nint> @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()));
 }
 public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint *mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan <nint> event_wait_list, [Flow(FlowDirection.Out)] nint * @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event));
 }
 public static unsafe nint CreateFromGlrenderbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromGlrenderbuffer(context, flags, renderbuffer, out errcode_ret.GetPinnableReference()));
 }
 public static unsafe nint CreateFromGltexture3D(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromGltexture3D(context, flags, target, miplevel, texture, out errcode_ret.GetPinnableReference()));
 }
 public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span <uint> gl_object_type, [Flow(FlowDirection.Out)] Span <uint> gl_object_name)
 {
     // SpanOverloader
     return(thisApi.GetGlobjectInfo(memobj, out gl_object_type.GetPinnableReference(), out gl_object_name.GetPinnableReference()));
 }
 public static unsafe int GetGltextureInfo <T0>(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span <T0> param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetGltextureInfo(memobj, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()));
 }
 public static unsafe int GetGlcontextInfo <T0>(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan <nint> properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span <T0> param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()));
 }
 public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan <nint> properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void *param_value, [Flow(FlowDirection.Out)] nuint *param_value_size_ret)
 {
     // SpanOverloader
     return(thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret));
 }
Example #9
0
 public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr *mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr *event_wait_list, [Flow(FlowDirection.Out)] Span <IntPtr> @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()));
 }
Example #10
0
 public static unsafe IntPtr CreateFromGlbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromGlbuffer(context, flags, bufobj, out errcode_ret.GetPinnableReference()));
 }
Example #11
0
 public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void *param_value, [Flow(FlowDirection.Out)] Span <UIntPtr> param_value_size_ret)
 {
     // SpanOverloader
     return(thisApi.GetGltextureInfo(memobj, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()));
 }