-
-
Notifications
You must be signed in to change notification settings - Fork 454
Expand file tree
/
Copy pathLoaderLayers.gen.cs
More file actions
132 lines (96 loc) · 18.3 KB
/
LoaderLayers.gen.cs
File metadata and controls
132 lines (96 loc) · 18.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attributes;
using Silk.NET.Core.Contexts;
using Silk.NET.Core.Loader;
using Silk.NET.OpenCL;
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute;
#pragma warning disable 1591
namespace Silk.NET.OpenCL.Extensions.LOADER
{
[Extension("LOADER_layers")]
public unsafe partial class LoaderLayers : NativeExtension<CL>
{
public const string ExtensionName = "LOADER_layers";
[NativeApi(EntryPoint = "clDeinitLayer", Convention = CallingConvention.Winapi)]
public partial int DeinitLayer();
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] LayerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret);
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] LayerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret);
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] LayerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public partial int GetLayerInfo<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] LayerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
[Obsolete("The \"ungrouped\" enums (LOADER) are deprecated in favour of the \"grouped\" enums (LayerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret);
[Obsolete("The \"ungrouped\" enums (LOADER) are deprecated in favour of the \"grouped\" enums (LayerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret);
[Obsolete("The \"ungrouped\" enums (LOADER) are deprecated in favour of the \"grouped\" enums (LayerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public unsafe partial int GetLayerInfo<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
[Obsolete("The \"ungrouped\" enums (LOADER) are deprecated in favour of the \"grouped\" enums (LayerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
[NativeApi(EntryPoint = "clGetLayerInfo", Convention = CallingConvention.Winapi)]
public partial int GetLayerInfo<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret);
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret);
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret);
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret);
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayer", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayer<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties);
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void** layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* properties) where T0 : unmanaged;
[NativeApi(EntryPoint = "clInitLayerWithProperties", Convention = CallingConvention.Winapi)]
public unsafe partial int InitLayerWithProperties<T0>([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly T0 target_dispatch, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_entries_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly void* layer_dispatch_ret, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ref readonly ulong properties) where T0 : unmanaged;
public LoaderLayers(INativeContext ctx)
: base(ctx)
{
}
}
}