public static unsafe IntPtr CreateBufferWithProperties <T0>(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span <T0> host_ptr, [Flow(FlowDirection.Out)] Span <int> errcode_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()));
 }
Esempio n. 2
0
 public unsafe void *SharedMemAlloc([Flow(FlowDirection.In)] int context, [Flow(FlowDirection.In)] int device, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] uint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int *errcode_ret)
 {
     // IntPtrOverloader
     return(SharedMemAlloc(new IntPtr(context), new IntPtr(device), properties, new UIntPtr(size), alignment, errcode_ret));
 }
Esempio n. 3
0
 public abstract unsafe void *HostMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int *errcode_ret);
Esempio n. 4
0
 public abstract unsafe void *MapTexture2D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] uint access, [Count(Count = 1), Flow(FlowDirection.Out)] int *stride, [Count(Count = 1), Flow(FlowDirection.Out)] INTEL *layout);
Esempio n. 5
0
 public static unsafe void *MapTexture2D(this IntelMapTexture thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] uint access, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> stride, [Count(Count = 1), Flow(FlowDirection.Out)] INTEL *layout)
 {
     // SpanOverloader
     return(thisApi.MapTexture2D(texture, level, access, out stride.GetPinnableReference(), layout));
 }
 public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret);
 public unsafe partial nint CreateBufferWithProperties <T0>([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged;
Esempio n. 8
0
 public unsafe partial void *MapTexture2D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] uint access, [Count(Count = 1), Flow(FlowDirection.Out)] out int stride, [Count(Count = 1), Flow(FlowDirection.Out)] INTEL *layout);
Esempio n. 9
0
 public unsafe partial IntPtr CreateBufferWithProperties <T0>([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret) where T0 : unmanaged;
Esempio n. 10
0
 public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret);
 public static unsafe void *SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.SharedMemAlloc(context, device, properties, size, alignment, out errcode_ret.GetPinnableReference()));
 }
 public unsafe partial void *DeviceMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret);