diff --git a/Silk.NET.sln b/Silk.NET.sln index fde5fc0fcf..c87c7ab0f5 100644 --- a/Silk.NET.sln +++ b/Silk.NET.sln @@ -614,6 +614,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Assimp.Tests", "sr EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Core.Tests", "src\Core\Silk.NET.Core.Tests\Silk.NET.Core.Tests.csproj", "{4D871493-0B88-477A-99A1-3E05561CFAD9}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.EXTX1", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.EXTX1\Silk.NET.OpenXR.Extensions.EXTX1.csproj", "{0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.SONY", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.SONY\Silk.NET.OpenXR.Extensions.SONY.csproj", "{E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.MTK", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.MTK\Silk.NET.Vulkan.Extensions.MTK.csproj", "{B843850A-7D12-4AEB-8FD1-8FDB60535D34}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.OHOS", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.OHOS\Silk.NET.Vulkan.Extensions.OHOS.csproj", "{7CD02E61-FCF1-414F-B69A-079F78686D65}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -3755,6 +3763,54 @@ Global {4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x64.Build.0 = Release|Any CPU {4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.ActiveCfg = Release|Any CPU {4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.Build.0 = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x64.ActiveCfg = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x64.Build.0 = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x86.ActiveCfg = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x86.Build.0 = Debug|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|Any CPU.Build.0 = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x64.ActiveCfg = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x64.Build.0 = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x86.ActiveCfg = Release|Any CPU + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x86.Build.0 = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x64.ActiveCfg = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x64.Build.0 = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x86.ActiveCfg = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x86.Build.0 = Debug|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|Any CPU.Build.0 = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x64.ActiveCfg = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x64.Build.0 = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x86.ActiveCfg = Release|Any CPU + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x86.Build.0 = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x64.ActiveCfg = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x64.Build.0 = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x86.ActiveCfg = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x86.Build.0 = Debug|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|Any CPU.Build.0 = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x64.ActiveCfg = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x64.Build.0 = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x86.ActiveCfg = Release|Any CPU + {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x86.Build.0 = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x64.ActiveCfg = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x64.Build.0 = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x86.ActiveCfg = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x86.Build.0 = Debug|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|Any CPU.Build.0 = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x64.ActiveCfg = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x64.Build.0 = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x86.ActiveCfg = Release|Any CPU + {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -4054,6 +4110,10 @@ Global {01B6FFA0-5B37-44EA-ABDF-7BABD05874C5} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0} {12D0A556-7DDF-4902-8911-1DA3F6331149} = {6EADA376-E83F-40B7-9539-71DD17AEF7A4} {4D871493-0B88-477A-99A1-3E05561CFAD9} = {0651C5EF-50AA-4598-8D9C-8F210ADD8490} + {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0} + {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0} + {B843850A-7D12-4AEB-8FD1-8FDB60535D34} = {49BC383A-D7E6-4013-93C7-371479B984CC} + {7CD02E61-FCF1-414F-B69A-079F78686D65} = {49BC383A-D7E6-4013-93C7-371479B984CC} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {F5273D7F-3334-48DF-94E3-41AE6816CD4D} diff --git a/build/cache/cl.json.gz b/build/cache/cl.json.gz index eb4f20306d..0b98b7e076 100644 Binary files a/build/cache/cl.json.gz and b/build/cache/cl.json.gz differ diff --git a/build/cache/dstorage.json.gz b/build/cache/dstorage.json.gz index 2c173f35f0..e196c6934b 100644 Binary files a/build/cache/dstorage.json.gz and b/build/cache/dstorage.json.gz differ diff --git a/build/cache/gl.json.gz b/build/cache/gl.json.gz index 14237e6282..802fbcd47e 100644 Binary files a/build/cache/gl.json.gz and b/build/cache/gl.json.gz differ diff --git a/build/cache/glcore.json.gz b/build/cache/glcore.json.gz index 8695acb519..b968ee78bd 100644 Binary files a/build/cache/glcore.json.gz and b/build/cache/glcore.json.gz differ diff --git a/build/cache/gles2.json.gz b/build/cache/gles2.json.gz index 61ee86e26b..5e75b437d6 100644 Binary files a/build/cache/gles2.json.gz and b/build/cache/gles2.json.gz differ diff --git a/build/cache/openxr.json.gz b/build/cache/openxr.json.gz index bc1c441c04..55a5c30ebf 100644 Binary files a/build/cache/openxr.json.gz and b/build/cache/openxr.json.gz differ diff --git a/build/cache/vulkan.json.gz b/build/cache/vulkan.json.gz index 5770e7e445..713d5fc39d 100644 Binary files a/build/cache/vulkan.json.gz and b/build/cache/vulkan.json.gz differ diff --git a/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs index d9c1db0317..23458d0366 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs @@ -21,7 +21,7 @@ public unsafe partial class DStorage : NativeAPI public const int FacilityGame = unchecked((int) 0x924); [NativeName("Type", "int")] [NativeName("Name", "DSTORAGE_SDK_VERSION")] - public const int SdkVersion = unchecked((int) 0xCB); + public const int SdkVersion = unchecked((int) 0x12C); [NativeName("Type", "int")] [NativeName("Name", "DSTORAGE_MIN_QUEUE_CAPACITY")] public const int MinQueueCapacity = unchecked((int) 0x80); @@ -33,67 +33,67 @@ public unsafe partial class DStorage : NativeAPI public const int RequestMaxName = unchecked((int) 0x40); /// To be documented. - [NativeName("Src", "Line 1296, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1386, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageSetConfiguration", Convention = CallingConvention.StdCall)] public unsafe partial int SetConfiguration([Flow(Silk.NET.Core.Native.FlowDirection.In)] Configuration* configuration); /// To be documented. - [NativeName("Src", "Line 1296, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1386, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageSetConfiguration", Convention = CallingConvention.StdCall)] public partial int SetConfiguration([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Configuration configuration); /// To be documented. - [NativeName("Src", "Line 1306, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1396, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageSetConfiguration1", Convention = CallingConvention.StdCall)] public unsafe partial int SetConfiguration1([Flow(Silk.NET.Core.Native.FlowDirection.In)] Configuration1* configuration); /// To be documented. - [NativeName("Src", "Line 1306, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1396, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageSetConfiguration1", Convention = CallingConvention.StdCall)] public partial int SetConfiguration1([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Configuration1 configuration); /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)] public unsafe partial int GetFactory(Guid* riid, void** ppv); /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)] public unsafe partial int GetFactory(Guid* riid, ref void* ppv); /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)] public unsafe partial int GetFactory(ref Guid riid, void** ppv); /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)] public unsafe partial int GetFactory(ref Guid riid, ref void* ppv); /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)] public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, Guid* riid, void** ppv); /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)] public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, Guid* riid, ref void* ppv); /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)] public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, ref Guid riid, void** ppv); /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] [NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)] public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, ref Guid riid, ref void* ppv); /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] public unsafe int GetFactory(out ComPtr ppv) where TI0 : unmanaged, IComVtbl { // ComPtrOverloader @@ -102,7 +102,7 @@ public unsafe int GetFactory(out ComPtr ppv) where TI0 : unmanaged, IC } /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] public unsafe int CreateCompressionCodec(CompressionFormat format, uint numThreads, out ComPtr ppv) where TI0 : unmanaged, IComVtbl { // ComPtrOverloader @@ -111,7 +111,7 @@ public unsafe int CreateCompressionCodec(CompressionFormat format, uint num } /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] public unsafe ComPtr GetFactory() where TI0 : unmanaged, IComVtbl { // NonKhrReturnTypeOverloader @@ -120,7 +120,7 @@ public unsafe ComPtr GetFactory() where TI0 : unmanaged, IComVtbl } /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] public unsafe ComPtr CreateCompressionCodec(CompressionFormat format, uint numThreads) where TI0 : unmanaged, IComVtbl { // NonKhrReturnTypeOverloader diff --git a/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs index a917698957..2b663a8467 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.DirectStorage public static class DStorageOverloads { /// To be documented. - [NativeName("Src", "Line 1296, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1386, Column 16 in dstorage.h")] public static unsafe int SetConfiguration(this DStorage thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan configuration) { // SpanOverloader @@ -25,7 +25,7 @@ public static unsafe int SetConfiguration(this DStorage thisApi, [Flow(Silk.NET. } /// To be documented. - [NativeName("Src", "Line 1306, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1396, Column 16 in dstorage.h")] public static unsafe int SetConfiguration1(this DStorage thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan configuration) { // SpanOverloader @@ -33,7 +33,7 @@ public static unsafe int SetConfiguration1(this DStorage thisApi, [Flow(Silk.NET } /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] public static unsafe int GetFactory(this DStorage thisApi, Span riid, void** ppv) { // SpanOverloader @@ -41,7 +41,7 @@ public static unsafe int GetFactory(this DStorage thisApi, Span riid, void } /// To be documented. - [NativeName("Src", "Line 1316, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1406, Column 16 in dstorage.h")] public static unsafe int GetFactory(this DStorage thisApi, Span riid, ref void* ppv) { // SpanOverloader @@ -49,7 +49,7 @@ public static unsafe int GetFactory(this DStorage thisApi, Span riid, ref } /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] public static unsafe int CreateCompressionCodec(this DStorage thisApi, CompressionFormat format, uint numThreads, Span riid, void** ppv) { // SpanOverloader @@ -57,7 +57,7 @@ public static unsafe int CreateCompressionCodec(this DStorage thisApi, Compressi } /// To be documented. - [NativeName("Src", "Line 1331, Column 16 in dstorage.h")] + [NativeName("Src", "Line 1421, Column 16 in dstorage.h")] public static unsafe int CreateCompressionCodec(this DStorage thisApi, CompressionFormat format, uint numThreads, Span riid, ref void* ppv) { // SpanOverloader diff --git a/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs new file mode 100644 index 0000000000..0a81404180 --- /dev/null +++ b/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DirectStorage +{ + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAGS")] + public enum EnqueueRequestFlags : uint + { + [Obsolete("Deprecated in favour of \"None\"")] + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_NONE")] + EnqueueRequestFlagNone = 0x0, + [Obsolete("Deprecated in favour of \"FenceWaitBeforeGpuWork\"")] + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_GPU_WORK")] + EnqueueRequestFlagFenceWaitBeforeGpuWork = 0x1, + [Obsolete("Deprecated in favour of \"FenceWaitBeforeSourceAccess\"")] + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_SOURCE_ACCESS")] + EnqueueRequestFlagFenceWaitBeforeSourceAccess = 0x2, + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_NONE")] + None = 0x0, + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_GPU_WORK")] + FenceWaitBeforeGpuWork = 0x1, + [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_SOURCE_ACCESS")] + FenceWaitBeforeSourceAccess = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs index b9d2f96b41..173150e066 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs @@ -27,6 +27,9 @@ public enum RequestDestinationType : ulong [Obsolete("Deprecated in favour of \"Tiles\"")] [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_TILES")] RequestDestinationTiles = 0x4, + [Obsolete("Deprecated in favour of \"MultipleSubresourcesRange\"")] + [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")] + RequestDestinationMultipleSubresourcesRange = 0x5, [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MEMORY")] Memory = 0x0, [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_BUFFER")] @@ -37,5 +40,7 @@ public enum RequestDestinationType : ulong MultipleSubresources = 0x3, [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_TILES")] Tiles = 0x4, + [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")] + MultipleSubresourcesRange = 0x5, } } diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs new file mode 100644 index 0000000000..1ed1b59ad2 --- /dev/null +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs @@ -0,0 +1,382 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.DirectStorage; + +public unsafe static class DStorageQueue3VtblExtensions +{ + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, Guid* riid, void** ppvObject) + { + var @this = thisVtbl.Handle; + int ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, Guid* riid, ref void* ppvObject) + { + var @this = thisVtbl.Handle; + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, ref Guid riid, void** ppvObject) + { + var @this = thisVtbl.Handle; + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, ref Guid riid, ref void* ppvObject) + { + var @this = thisVtbl.Handle; + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public static uint AddRef(this ComPtr thisVtbl) + { + var @this = thisVtbl.Handle; + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public static uint Release(this ComPtr thisVtbl) + { + var @this = thisVtbl.Handle; + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public static unsafe void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* request) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, request); + } + + /// To be documented. + public static void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request request) + { + var @this = thisVtbl.Handle; + fixed (Request* requestPtr = &request) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, requestPtr); + } + } + + /// To be documented. + public static unsafe void EnqueueStatus(this ComPtr thisVtbl, IDStorageStatusArray* statusArray, uint index) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArray, index); + } + + /// To be documented. + public static void EnqueueStatus(this ComPtr thisVtbl, ref IDStorageStatusArray statusArray, uint index) + { + var @this = thisVtbl.Handle; + fixed (IDStorageStatusArray* statusArrayPtr = &statusArray) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArrayPtr, index); + } + } + + /// To be documented. + public static unsafe void EnqueueSignal(this ComPtr thisVtbl, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fence, value); + } + + /// To be documented. + public static void EnqueueSignal(this ComPtr thisVtbl, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value) + { + var @this = thisVtbl.Handle; + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fencePtr, value); + } + } + + /// To be documented. + public static void Submit(this ComPtr thisVtbl) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[6])(@this); + } + + /// To be documented. + public static void CancelRequestsWithTag(this ComPtr thisVtbl, ulong mask, ulong value) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[7])(@this, mask, value); + } + + /// To be documented. + public static void Close(this ComPtr thisVtbl) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[8])(@this); + } + + /// To be documented. + public static unsafe void* GetErrorEvent(this ComPtr thisVtbl) + { + var @this = thisVtbl.Handle; + void* ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[9])(@this); + return ret; + } + + /// To be documented. + public static unsafe void RetrieveErrorRecord(this ComPtr thisVtbl, ErrorRecord* record) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, record); + } + + /// To be documented. + public static void RetrieveErrorRecord(this ComPtr thisVtbl, ref ErrorRecord record) + { + var @this = thisVtbl.Handle; + fixed (ErrorRecord* recordPtr = &record) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, recordPtr); + } + } + + /// To be documented. + public static unsafe void Query(this ComPtr thisVtbl, QueueInfo* info) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, info); + } + + /// To be documented. + public static void Query(this ComPtr thisVtbl, ref QueueInfo info) + { + var @this = thisVtbl.Handle; + fixed (QueueInfo* infoPtr = &info) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, infoPtr); + } + } + + /// To be documented. + public static unsafe void EnqueueSetEvent(this ComPtr thisVtbl, void* handle) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handle); + } + + /// To be documented. + public static void EnqueueSetEvent(this ComPtr thisVtbl, ref T0 handle) where T0 : unmanaged + { + var @this = thisVtbl.Handle; + fixed (void* handlePtr = &handle) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handlePtr); + } + } + + /// To be documented. + public static CompressionSupport GetCompressionSupport(this ComPtr thisVtbl, CompressionFormat format) + { + var @this = thisVtbl.Handle; + CompressionSupport ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[13])(@this, format); + return ret; + } + + /// To be documented. + public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fence, value, flag); + } + + /// To be documented. + public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fencePtr, value, flag); + } + } + + /// To be documented. + public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + fixed (Request* requestsPtr = &requests) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fence, value, flag); + } + } + + /// To be documented. + public static void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + fixed (Request* requestsPtr = &requests) + { + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fencePtr, value, flag); + } + } + } + + /// To be documented. + public static int QueryInterface(this ComPtr thisVtbl, out ComPtr ppvObject) where TI0 : unmanaged, IComVtbl + { + var @this = thisVtbl.Handle; + // ComPtrOverloader + ppvObject = default; + return @this->QueryInterface(SilkMarshal.GuidPtrOf(), (void**) ppvObject.GetAddressOf()); + } + + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, Span riid, void** ppvObject) + { + var @this = thisVtbl.Handle; + // SpanOverloader + return @this->QueryInterface(ref riid.GetPinnableReference(), ppvObject); + } + + /// To be documented. + public static unsafe int QueryInterface(this ComPtr thisVtbl, Span riid, ref void* ppvObject) + { + var @this = thisVtbl.Handle; + // SpanOverloader + return @this->QueryInterface(ref riid.GetPinnableReference(), ref ppvObject); + } + + /// To be documented. + public static void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan request) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueRequest(in request.GetPinnableReference()); + } + + /// To be documented. + public static void EnqueueStatus(this ComPtr thisVtbl, ComPtr statusArray, uint index) where TI0 : unmanaged, IComVtbl, IComVtbl + { + var @this = thisVtbl.Handle; + // ComPtrOverloader + @this->EnqueueStatus((IDStorageStatusArray*) statusArray.Handle, index); + } + + /// To be documented. + public static void EnqueueStatus(this ComPtr thisVtbl, Span statusArray, uint index) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueStatus(ref statusArray.GetPinnableReference(), index); + } + + /// To be documented. + public static void EnqueueSignal(this ComPtr thisVtbl, Span fence, ulong value) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueSignal(ref fence.GetPinnableReference(), value); + } + + /// To be documented. + public static void RetrieveErrorRecord(this ComPtr thisVtbl, Span record) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->RetrieveErrorRecord(ref record.GetPinnableReference()); + } + + /// To be documented. + public static void Query(this ComPtr thisVtbl, Span info) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->Query(ref info.GetPinnableReference()); + } + + /// To be documented. + public static void EnqueueSetEvent(this ComPtr thisVtbl, Span handle) where T0 : unmanaged + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueSetEvent(ref handle.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Span fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueRequests(requests, numRequests, ref fence.GetPinnableReference(), value, flag); + } + + /// To be documented. + public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueRequests(in requests.GetPinnableReference(), numRequests, fence, value, flag); + } + + /// To be documented. + public static void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan requests, uint numRequests, Span fence, ulong value, EnqueueRequestFlags flag) + { + var @this = thisVtbl.Handle; + // SpanOverloader + @this->EnqueueRequests(in requests.GetPinnableReference(), numRequests, ref fence.GetPinnableReference(), value, flag); + } + + /// To be documented. + public static ComPtr QueryInterface(this ComPtr thisVtbl) where TI0 : unmanaged, IComVtbl + { + var @this = thisVtbl.Handle; + // NonKhrReturnTypeOverloader + SilkMarshal.ThrowHResult(@this->QueryInterface(out ComPtr silkRet)); + return silkRet; + } + +} diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs index 07b414990d..8d3105a693 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs @@ -26,7 +26,8 @@ public Destination DestinationBuffer? buffer = null, DestinationTextureRegion? texture = null, DestinationMultipleSubresources? multipleSubresources = null, - DestinationTiles? tiles = null + DestinationTiles? tiles = null, + DestinationMultipleSubresourcesRange? multipleSubresourcesRange = null ) : this() { if (memory is not null) @@ -53,6 +54,11 @@ public Destination { Tiles = tiles.Value; } + + if (multipleSubresourcesRange is not null) + { + MultipleSubresourcesRange = multipleSubresourcesRange.Value; + } } @@ -85,5 +91,11 @@ public Destination [NativeName("Type.Name", "DSTORAGE_DESTINATION_TILES")] [NativeName("Name", "Tiles")] public DestinationTiles Tiles; + + [FieldOffset(0)] + [NativeName("Type", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")] + [NativeName("Type.Name", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")] + [NativeName("Name", "MultipleSubresourcesRange")] + public DestinationMultipleSubresourcesRange MultipleSubresourcesRange; } } diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs new file mode 100644 index 0000000000..2b99191a9b --- /dev/null +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.DirectStorage +{ + [NativeName("Name", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")] + public unsafe partial struct DestinationMultipleSubresourcesRange + { + public DestinationMultipleSubresourcesRange + ( + Silk.NET.Direct3D12.ID3D12Resource* resource = null, + uint? firstSubresource = null, + uint? numSubresources = null + ) : this() + { + if (resource is not null) + { + Resource = resource; + } + + if (firstSubresource is not null) + { + FirstSubresource = firstSubresource.Value; + } + + if (numSubresources is not null) + { + NumSubresources = numSubresources.Value; + } + } + + + [NativeName("Type", "ID3D12Resource *")] + [NativeName("Type.Name", "ID3D12Resource *")] + [NativeName("Name", "Resource")] + public Silk.NET.Direct3D12.ID3D12Resource* Resource; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FirstSubresource")] + public uint FirstSubresource; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumSubresources")] + public uint NumSubresources; + } +} diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs index d5cb87a8a1..019d7673c8 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs @@ -78,7 +78,7 @@ public ErrorFirstFailure public CommandType CommandType; [NativeName("Type", "")] - [NativeName("Type.Name", "__AnonymousRecord_dstorage_L556_C5")] + [NativeName("Type.Name", "__AnonymousRecord_dstorage_L618_C5")] [NativeName("Name", "anonymous1")] public ErrorFirstFailureUnion Anonymous; #if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs index ae0ef284a9..7b3e2d0c47 100644 --- a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.DirectStorage { [StructLayout(LayoutKind.Explicit)] - [NativeName("Name", "__AnonymousRecord_dstorage_L556_C5")] + [NativeName("Name", "__AnonymousRecord_dstorage_L618_C5")] public unsafe partial struct ErrorFirstFailureUnion { public ErrorFirstFailureUnion diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs new file mode 100644 index 0000000000..4904bb26fd --- /dev/null +++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs @@ -0,0 +1,330 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.DirectStorage +{ + [Guid("deb54c52-eca8-46b3-82a7-031b72262653")] + [NativeName("Name", "IDStorageQueue3")] + public unsafe partial struct IDStorageQueue3 : IComVtbl, IComVtbl, IComVtbl, IComVtbl, IComVtbl + { + public static readonly Guid Guid = new("deb54c52-eca8-46b3-82a7-031b72262653"); + + void*** IComVtbl.AsVtblPtr() + => (void***) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + + public static implicit operator IDStorageQueue2(IDStorageQueue3 val) + => Unsafe.As(ref val); + + public static implicit operator IDStorageQueue1(IDStorageQueue3 val) + => Unsafe.As(ref val); + + public static implicit operator IDStorageQueue(IDStorageQueue3 val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDStorageQueue3 val) + => Unsafe.As(ref val); + + public IDStorageQueue3 + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe void EnqueueRequest([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* request) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, request); + } + + /// To be documented. + public readonly void EnqueueRequest([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request request) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Request* requestPtr = &request) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, requestPtr); + } + } + + /// To be documented. + public readonly unsafe void EnqueueStatus(IDStorageStatusArray* statusArray, uint index) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArray, index); + } + + /// To be documented. + public readonly void EnqueueStatus(ref IDStorageStatusArray statusArray, uint index) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (IDStorageStatusArray* statusArrayPtr = &statusArray) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArrayPtr, index); + } + } + + /// To be documented. + public readonly unsafe void EnqueueSignal(Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fence, value); + } + + /// To be documented. + public readonly void EnqueueSignal(ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fencePtr, value); + } + } + + /// To be documented. + public readonly void Submit() + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[6])(@this); + } + + /// To be documented. + public readonly void CancelRequestsWithTag(ulong mask, ulong value) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[7])(@this, mask, value); + } + + /// To be documented. + public readonly void Close() + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[8])(@this); + } + + /// To be documented. + public readonly unsafe void* GetErrorEvent() + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + void* ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[9])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe void RetrieveErrorRecord(ErrorRecord* record) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, record); + } + + /// To be documented. + public readonly void RetrieveErrorRecord(ref ErrorRecord record) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (ErrorRecord* recordPtr = &record) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, recordPtr); + } + } + + /// To be documented. + public readonly unsafe void Query(QueueInfo* info) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, info); + } + + /// To be documented. + public readonly void Query(ref QueueInfo info) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (QueueInfo* infoPtr = &info) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, infoPtr); + } + } + + /// To be documented. + public readonly unsafe void EnqueueSetEvent(void* handle) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handle); + } + + /// To be documented. + public readonly void EnqueueSetEvent(ref T0 handle) where T0 : unmanaged + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (void* handlePtr = &handle) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handlePtr); + } + } + + /// To be documented. + public readonly CompressionSupport GetCompressionSupport(CompressionFormat format) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + CompressionSupport ret = default; + ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[13])(@this, format); + return ret; + } + + /// To be documented. + public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fence, value, flag); + } + + /// To be documented. + public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fencePtr, value, flag); + } + } + + /// To be documented. + public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Request* requestsPtr = &requests) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fence, value, flag); + } + } + + /// To be documented. + public readonly void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag) + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Request* requestsPtr = &requests) + { + fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence) + { + ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fencePtr, value, flag); + } + } + } + + /// To be documented. + public readonly int QueryInterface(out ComPtr ppvObject) where TI0 : unmanaged, IComVtbl + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + // ComPtrOverloader + ppvObject = default; + return @this->QueryInterface(SilkMarshal.GuidPtrOf(), (void**) ppvObject.GetAddressOf()); + } + + /// To be documented. + public readonly void EnqueueStatus(ComPtr statusArray, uint index) where TI0 : unmanaged, IComVtbl, IComVtbl + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + // ComPtrOverloader + @this->EnqueueStatus((IDStorageStatusArray*) statusArray.Handle, index); + } + + /// To be documented. + public readonly ComPtr QueryInterface() where TI0 : unmanaged, IComVtbl + { + var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + // NonKhrReturnTypeOverloader + SilkMarshal.ThrowHResult(@this->QueryInterface(out ComPtr silkRet)); + return silkRet; + } + + } +} diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll index 2547a0ef75..a14cbab23e 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll index c78230ba9f..0b39520ed5 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll index f089658762..c5930cf7fe 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll index d69ce4db92..10b16f7c63 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll index b8288ebb84..a725c7815c 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll index b866722a5a..57dde6b76f 100644 Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll differ diff --git a/src/Native/Silk.NET.DirectStorage.Native/version.txt b/src/Native/Silk.NET.DirectStorage.Native/version.txt index e2cac26c1a..589268e6fe 100644 --- a/src/Native/Silk.NET.DirectStorage.Native/version.txt +++ b/src/Native/Silk.NET.DirectStorage.Native/version.txt @@ -1 +1 @@ -1.2.3 \ No newline at end of file +1.3.0 \ No newline at end of file diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs index 04cb630aee..d699408aef 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs @@ -119,6 +119,18 @@ public enum EXT : int UnsignedIntRaw12Ext = 0x10E4, [NativeName("Name", "CL_UNORM_INT_2_101010_EXT")] UnormInt2101010Ext = 0x10E5, + [NativeName("Name", "CL_UNSIGNED_INT10X6_EXT")] + UnsignedInt10X6Ext = 0x10E6, + [NativeName("Name", "CL_UNSIGNED_INT12X4_EXT")] + UnsignedInt12X4Ext = 0x10E7, + [NativeName("Name", "CL_UNSIGNED_INT14X2_EXT")] + UnsignedInt14X2Ext = 0x10E8, + [NativeName("Name", "CL_UNORM_INT10X6_EXT")] + UnormInt10X6Ext = 0x10E1, + [NativeName("Name", "CL_UNORM_INT12X4_EXT")] + UnormInt12X4Ext = 0x10E9, + [NativeName("Name", "CL_UNORM_INT14X2_EXT")] + UnormInt14X2Ext = 0x10EA, [NativeName("Name", "CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")] MigrateMemObjectExt = 0x4040, [NativeName("Name", "CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")] @@ -165,5 +177,21 @@ public enum EXT : int InvalidPartitionCountExt = unchecked((int) 0xFFFFFFFFFFFFFBDE), [NativeName("Name", "CL_INVALID_PARTITION_NAME_EXT")] InvalidPartitionNameExt = unchecked((int) 0xFFFFFFFFFFFFFBDD), + [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + DevicePtrsExt = 0x5002, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + KernelExecInfoDevicePtrsExt = 0x5002, + [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")] + ImmutableExt = 0x40, + [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")] + MemImmutableExt = 0x40, + [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")] + DeviceAddressExt = 0x5001, + [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")] + MemDeviceAddressExt = 0x5001, + [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + DevicePrivateAddressExt = 0x5000, + [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + MemDevicePrivateAddressExt = 0x5000, } } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs new file mode 100644 index 0000000000..64804ff9cd --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs @@ -0,0 +1,32 @@ +// 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.EXT +{ + [Extension("EXT_buffer_device_address")] + public unsafe partial class ExtBufferDeviceAddress : NativeExtension + { + public const string ExtensionName = "EXT_buffer_device_address"; + [NativeApi(EntryPoint = "clSetKernelArgDevicePointerEXT", Convention = CallingConvention.Winapi)] + public partial int SetKernelArgDevicePointer([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint kernel, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint arg_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong arg_value); + + public ExtBufferDeviceAddress(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs new file mode 100644 index 0000000000..e5dbfbb43e --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs @@ -0,0 +1,23 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.IMG +{ + [System.Flags] + [NativeName("Name", "cl_context_safety_properties_img")] + public enum ContextSafetyProperties : ulong + { + [NativeName("Name", "")] + None = 0, + [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")] + WorkgroupProtection = 0x1, + [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")] + EnhancedEventExecutionStatus = 0x2, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs index 4969b4a5cb..b7bdc9bcb9 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs @@ -10,10 +10,17 @@ namespace Silk.NET.OpenCL.Extensions.IMG { [Obsolete("The \"ungrouped\" enums (CLEnum, KHR, etc...) are deprecated in favour of the \"grouped\" enums (ErrorCodes, DeviceType, etc...). 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. ")] - [Flags] [NativeName("Name", "CLenum")] public enum IMG : int { + [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")] + WorkgroupProtection = 0x1, + [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")] + ContextWorkgroupProtectionImg = 0x1, + [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")] + EnhancedEventExecutionStatus = 0x2, + [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")] + ContextEnhancedEventExecutionStatusImg = 0x2, [NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")] RelaxRequirements = 0x1, [NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")] @@ -62,14 +69,40 @@ public enum IMG : int GenerateMipmapImg = 0x40D6, [NativeName("Name", "CL_COMMAND_GENERATE_MIPMAP_IMG")] CommandGenerateMipmapImg = 0x40D6, + [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + SafetyPropertiesImg = 0x40D9, + [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + ContextSafetyPropertiesImg = 0x40D9, [NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")] MemoryCapabilitiesImg = 0x40D8, [NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")] DeviceMemoryCapabilitiesImg = 0x40D8, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + WorkgroupProtectionSvmCapabilitiesImg = 0x40DA, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionSvmCapabilitiesImg = 0x40DA, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + WorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB, + [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + SafetyMemSizeImg = 0x40DC, + [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + DeviceSafetyMemSizeImg = 0x40DC, [NativeName("Name", "CL_GRALLOC_RESOURCE_NOT_ACQUIRED_IMG")] GrallocResourceNotAcquiredImg = 0x40D4, [NativeName("Name", "CL_INVALID_GRALLOC_OBJECT_IMG")] InvalidGrallocObjectImg = 0x40D5, + [NativeName("Name", "CL_ECC_RECOVERED_IMG")] + EccRecoveredImg = 0x40DD, + [NativeName("Name", "CL_PAGE_FAULT_IMG")] + PageFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB99), + [NativeName("Name", "CL_SAFETY_FAULT_IMG")] + SafetyFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB98), + [NativeName("Name", "CL_GENERAL_FAULT_IMG")] + GeneralFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB97), + [NativeName("Name", "CL_ECC_UNRECOVERED_IMG")] + EccUnrecoveredImg = unchecked((int) 0xFFFFFFFFFFFFFB96), [NativeName("Name", "CL_CANCELLED_IMG")] CancelledImg = unchecked((int) 0xFFFFFFFFFFFFFB9A), [NativeName("Name", "CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG")] @@ -88,5 +121,13 @@ public enum IMG : int AllocFlagsImg = 0x40D7, [NativeName("Name", "CL_MEM_ALLOC_FLAGS_IMG")] MemAllocFlagsImg = 0x40D7, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")] + ExternalMemoryDmaBufVirtualAddressImg = 0x4220, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")] + SvmAllocExternalMemoryDmaBufVirtualAddressImg = 0x4220, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")] + ExternalMemoryDmaBufImg = 0x4221, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")] + SvmAllocExternalMemoryDmaBufImg = 0x4221, } } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs index 8078a490d0..f68c71c6ba 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs @@ -16,7 +16,7 @@ public enum CommandBufferState : int Recording = 0x0, [NativeName("Name", "CL_COMMAND_BUFFER_STATE_EXECUTABLE_KHR")] Executable = 0x1, - [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")] - Pending = 0x2, + [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")] + Finalized = 0x2, } } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs index 8f3031ee32..afb487262f 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs @@ -21,8 +21,6 @@ public enum DeviceCommandBufferCapabilities : int DeviceSideEnqueue = 0x2, [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR")] SimultaneousUse = 0x4, - [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")] - OutOfOrder = 0x8, [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")] MultipleQueue = 0x10, } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs index 38ae53e4de..f13f713912 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs @@ -22,5 +22,7 @@ public enum ExternalMemoryHandleType : int OpaqueWin32Kmt = 0x2062, [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR")] OpaqueWin32Name = 0x2069, + [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")] + AndroidHardwareBuffer = 0x2070, } } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs index aa21146657..23ccf79b9e 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs @@ -12,6 +12,8 @@ namespace Silk.NET.OpenCL.Extensions.KHR [NativeName("Name", "cl_external_semaphore_handle_type_khr")] public enum ExternalSemaphoreHandleType : int { + [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")] + D3D12Fence = 0x2059, [NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")] OpaqueFD = 0x2055, [NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")] diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs index 8dd71a5c17..08e600a73c 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs @@ -65,10 +65,10 @@ public enum KHR : int Executable = 0x1, [NativeName("Name", "CL_COMMAND_BUFFER_STATE_EXECUTABLE_KHR")] CommandBufferStateExecutableKhr = 0x1, - [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")] - Pending = 0x2, - [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")] - CommandBufferStatePendingKhr = 0x2, + [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")] + Finalized = 0x2, + [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")] + CommandBufferStateFinalizedKhr = 0x2, [NativeName("Name", "CL_STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG_KHR")] StructureTypeMutableDispatchConfig = 0x0, [NativeName("Name", "CL_STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG_KHR")] @@ -127,10 +127,6 @@ public enum KHR : int CommandBufferCapabilityDeviceSideEnqueueKhr = 0x2, [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR")] CommandBufferCapabilitySimultaneousUseKhr = 0x4, - [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")] - OutOfOrder = 0x8, - [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")] - CommandBufferCapabilityOutOfOrderKhr = 0x8, [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")] MultipleQueue = 0x10, [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")] @@ -179,6 +175,14 @@ public enum KHR : int OpaqueWin32Name = 0x2069, [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR")] ExternalMemoryHandleOpaqueWin32NameKhr = 0x2069, + [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")] + AndroidHardwareBuffer = 0x2070, + [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")] + ExternalMemoryHandleAndroidHardwareBufferKhr = 0x2070, + [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")] + D3D12Fence = 0x2059, + [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")] + SemaphoreHandleD3D12FenceKhr = 0x2059, [NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")] SemaphoreHandleOpaqueFDKhr = 0x2055, [NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")] @@ -377,6 +381,124 @@ public enum KHR : int Binary = 0x1, [NativeName("Name", "CL_SEMAPHORE_TYPE_BINARY_KHR")] SemaphoreTypeBinaryKhr = 0x1, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")] + HostNoread = 0x1, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")] + SvmAllocAccessHostNoreadKhr = 0x1, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")] + HostNowrite = 0x2, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")] + SvmAllocAccessHostNowriteKhr = 0x2, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")] + DeviceNoread = 0x100, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")] + SvmAllocAccessDeviceNoreadKhr = 0x100, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")] + DeviceNowrite = 0x200, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")] + SvmAllocAccessDeviceNowriteKhr = 0x200, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")] + ExternalMemoryDmaBufVirtualAddressImg = 0x4220, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")] + SvmAllocExternalMemoryDmaBufVirtualAddressImg = 0x4220, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")] + ExternalMemoryDmaBufImg = 0x4221, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")] + SvmAllocExternalMemoryDmaBufImg = 0x4221, + [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")] + AssociatedDeviceHandle = 0x2078, + [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")] + SvmAllocAssociatedDeviceHandleKhr = 0x2078, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")] + AccessFlags = 0x2079, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")] + SvmAllocAccessFlagsKhr = 0x2079, + [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")] + Alignment = 0x207A, + [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")] + SvmAllocAlignmentKhr = 0x207A, + [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")] + SingleAddressSpace = 0x1, + [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")] + SvmCapabilitySingleAddressSpaceKhr = 0x1, + [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")] + SystemAllocated = 0x2, + [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")] + SvmCapabilitySystemAllocatedKhr = 0x2, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")] + DeviceOwned = 0x4, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")] + SvmCapabilityDeviceOwnedKhr = 0x4, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")] + DeviceUnassociated = 0x8, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")] + SvmCapabilityDeviceUnassociatedKhr = 0x8, + [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")] + ContextAccess = 0x10, + [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")] + SvmCapabilityContextAccessKhr = 0x10, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")] + HostOwned = 0x20, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")] + SvmCapabilityHostOwnedKhr = 0x20, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")] + HostRead = 0x40, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")] + SvmCapabilityHostReadKhr = 0x40, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")] + HostWrite = 0x80, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")] + SvmCapabilityHostWriteKhr = 0x80, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")] + HostMap = 0x100, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")] + SvmCapabilityHostMapKhr = 0x100, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")] + DeviceRead = 0x200, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")] + SvmCapabilityDeviceReadKhr = 0x200, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")] + DeviceWrite = 0x400, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")] + SvmCapabilityDeviceWriteKhr = 0x400, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")] + DeviceAtomicAccess = 0x800, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")] + SvmCapabilityDeviceAtomicAccessKhr = 0x800, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")] + ConcurrentAccess = 0x1000, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")] + SvmCapabilityConcurrentAccessKhr = 0x1000, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")] + ConcurrentAtomicAccess = 0x2000, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")] + SvmCapabilityConcurrentAtomicAccessKhr = 0x2000, + [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")] + IndirectAccess = 0x4000, + [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")] + SvmCapabilityIndirectAccessKhr = 0x4000, + [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")] + TypeIndex = 0x2088, + [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")] + SvmInfoTypeIndexKhr = 0x2088, + [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")] + Capabilities = 0x2089, + [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")] + SvmInfoCapabilitiesKhr = 0x2089, + [NativeName("Name", "CL_SVM_INFO_PROPERTIES_KHR")] + SvmInfoPropertiesKhr = 0x208A, + [NativeName("Name", "CL_SVM_INFO_ACCESS_FLAGS_KHR")] + SvmInfoAccessFlagsKhr = 0x208B, + [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")] + BasePtr = 0x419B, + [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")] + SvmInfoBasePtrKhr = 0x419B, + [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")] + Size = 0x419C, + [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")] + SvmInfoSizeKhr = 0x419C, + [NativeName("Name", "CL_SVM_INFO_ASSOCIATED_DEVICE_HANDLE_KHR")] + SvmInfoAssociatedDeviceHandleKhr = 0x419D, [NativeName("Name", "CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR")] AcquireD3D10ObjectsKhr = 0x4017, [NativeName("Name", "CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR")] @@ -547,6 +669,10 @@ public enum KHR : int CommandBufferCapabilitiesKhr = 0x12A9, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR")] DeviceCommandBufferCapabilitiesKhr = 0x12A9, + [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")] + CommandBufferSupportedQueuePropertiesKhr = 0x129A, + [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")] + DeviceCommandBufferSupportedQueuePropertiesKhr = 0x129A, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")] CommandBufferRequiredQueuePropertiesKhr = 0x12AA, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")] @@ -567,6 +693,22 @@ public enum KHR : int KernelClockCapabilitiesKhr = 0x1076, [NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")] DeviceKernelClockCapabilitiesKhr = 0x1076, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + SpirvExtendedInstructionSetsKhr = 0x12B9, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + DeviceSpirvExtendedInstructionSetsKhr = 0x12B9, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + SpirvExtensionsKhr = 0x12BA, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + DeviceSpirvExtensionsKhr = 0x12BA, + [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + SpirvCapabilitiesKhr = 0x12BB, + [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + DeviceSpirvCapabilitiesKhr = 0x12BB, + [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")] + SvmTypeCapabilitiesKhr = 0x1077, + [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")] + DeviceSvmTypeCapabilitiesKhr = 0x1077, [NativeName("Name", "CL_INVALID_D3D10_DEVICE_KHR")] InvalidD3D10DeviceKhr = unchecked((int) 0xFFFFFFFFFFFFFC16), [NativeName("Name", "CL_INVALID_D3D10_RESOURCE_KHR")] @@ -623,6 +765,10 @@ public enum KHR : int DX9MediaPlaneKhr = 0x202A, [NativeName("Name", "CL_IMAGE_DX9_MEDIA_PLANE_KHR")] ImageDX9MediaPlaneKhr = 0x202A, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")] + SvmIndirectAccessKhr = 0x11BB, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")] + KernelExecInfoSvmIndirectAccessKhr = 0x11BB, [NativeName("Name", "CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR")] MaxSubGroupSizeForNdrangeKhr = 0x2033, [NativeName("Name", "CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR")] @@ -669,6 +815,8 @@ public enum KHR : int PlatformExternalMemoryImportHandleTypesKhr = 0x2044, [NativeName("Name", "CL_PLATFORM_COMMAND_BUFFER_CAPABILITIES_KHR")] PlatformCommandBufferCapabilitiesKhr = 0x908, + [NativeName("Name", "CL_PLATFORM_SVM_TYPE_CAPABILITIES_KHR")] + PlatformSvmTypeCapabilitiesKhr = 0x909, [NativeName("Name", "CL_PROGRAM_IL_KHR")] ILKhr = 0x1169, [NativeName("Name", "CL_PROGRAM_IL_KHR")] diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs new file mode 100644 index 0000000000..930fb34cee --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs @@ -0,0 +1,27 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [System.Flags] + [NativeName("Name", "cl_svm_alloc_access_flags_khr")] + public enum SvmAllocAccessFlags : ulong + { + [NativeName("Name", "")] + None = 0, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")] + HostNoread = 0x1, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")] + HostNowrite = 0x2, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")] + DeviceNoread = 0x100, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")] + DeviceNowrite = 0x200, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs new file mode 100644 index 0000000000..cf74eedbaa --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [NativeName("Name", "cl_svm_alloc_properties_khr")] + public enum SvmAllocProperties : ulong + { + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")] + ExternalMemoryDmaBufVirtualAddressImg = 0x4220, + [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")] + ExternalMemoryDmaBufImg = 0x4221, + [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")] + AssociatedDeviceHandle = 0x2078, + [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")] + AccessFlags = 0x2079, + [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")] + Alignment = 0x207A, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs new file mode 100644 index 0000000000..ee790d9f32 --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs @@ -0,0 +1,49 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [System.Flags] + [NativeName("Name", "cl_svm_capabilities_khr")] + public enum SvmCapabilities : ulong + { + [NativeName("Name", "")] + None = 0, + [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")] + SingleAddressSpace = 0x1, + [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")] + SystemAllocated = 0x2, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")] + DeviceOwned = 0x4, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")] + DeviceUnassociated = 0x8, + [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")] + ContextAccess = 0x10, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")] + HostOwned = 0x20, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")] + HostRead = 0x40, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")] + HostWrite = 0x80, + [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")] + HostMap = 0x100, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")] + DeviceRead = 0x200, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")] + DeviceWrite = 0x400, + [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")] + DeviceAtomicAccess = 0x800, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")] + ConcurrentAccess = 0x1000, + [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")] + ConcurrentAtomicAccess = 0x2000, + [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")] + IndirectAccess = 0x4000, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs new file mode 100644 index 0000000000..e3f0a7a3af --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs @@ -0,0 +1,19 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [System.Flags] + [NativeName("Name", "cl_svm_free_flags_khr")] + public enum SvmFreeFlags : ulong + { + [NativeName("Name", "")] + None = 0, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs new file mode 100644 index 0000000000..b623bac03a --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs @@ -0,0 +1,16 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [NativeName("Name", "cl_svm_free_properties_khr")] + public enum SvmFreeProperties : ulong + { + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs new file mode 100644 index 0000000000..8e89af2cfb --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs @@ -0,0 +1,30 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + [NativeName("Name", "cl_svm_pointer_info_khr")] + public enum SvmPointerInfo : int + { + [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")] + TypeIndex = 0x2088, + [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")] + Capabilities = 0x2089, + [NativeName("Name", "CL_SVM_INFO_PROPERTIES_KHR")] + Properties = 0x208A, + [NativeName("Name", "CL_SVM_INFO_ACCESS_FLAGS_KHR")] + AccessFlags = 0x208B, + [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")] + BasePtr = 0x419B, + [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")] + Size = 0x419C, + [NativeName("Name", "CL_SVM_INFO_ASSOCIATED_DEVICE_HANDLE_KHR")] + AssociatedDeviceHandle = 0x419D, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs index 9190f3d631..7e3caa3877 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs @@ -20,6 +20,15 @@ namespace Silk.NET.OpenCL.Extensions.KHR public unsafe partial class KhrIcd : NativeExtension { public const string ExtensionName = "KHR_icd"; + [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* func_name); + + [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in byte func_name); + + [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string func_name); + [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR", Convention = CallingConvention.Winapi)] public unsafe partial int IcdGetPlatformIDs([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nint* platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_platforms); @@ -32,6 +41,12 @@ public unsafe partial class KhrIcd : NativeExtension [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR", Convention = CallingConvention.Winapi)] public partial int IcdGetPlatformIDs([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nint platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_platforms); + [NativeApi(EntryPoint = "clIcdSetPlatformDispatchDataKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int IcdSetPlatformDispatchData([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* dispatch_data); + + [NativeApi(EntryPoint = "clIcdSetPlatformDispatchDataKHR", Convention = CallingConvention.Winapi)] + public partial int IcdSetPlatformDispatchData([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 dispatch_data) where T0 : unmanaged; + public KhrIcd(INativeContext ctx) : base(ctx) { diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs index 4e4cd51af1..3f41b68cfd 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs @@ -16,6 +16,12 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrIcdOverloads { + public static unsafe void* IcdGetFunctionAddressForPlatform(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan func_name) + { + // SpanOverloader + return thisApi.IcdGetFunctionAddressForPlatform(platform, in func_name.GetPinnableReference()); + } + public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nint* platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span num_platforms) { // SpanOverloader @@ -34,6 +40,12 @@ public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(Silk.NET.C return thisApi.IcdGetPlatformIDs(num_entries, out platforms.GetPinnableReference(), out num_platforms.GetPinnableReference()); } + public static unsafe int IcdSetPlatformDispatchData(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span dispatch_data) where T0 : unmanaged + { + // SpanOverloader + return thisApi.IcdSetPlatformDispatchData(platform, out dispatch_data.GetPinnableReference()); + } + } } diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs new file mode 100644 index 0000000000..d43969c85b --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs @@ -0,0 +1,327 @@ +// 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.KHR +{ + [Extension("KHR_unified_svm")] + public unsafe partial class KhrUnifiedSvm : NativeExtension + { + public const string ExtensionName = "KHR_unified_svm"; + [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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) where T0 : unmanaged; + + [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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) where T0 : unmanaged; + + [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + + [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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 (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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 (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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 (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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 (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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 = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)] + public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index); + + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret); + + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret); + + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret); + + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret); + + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr); + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)] + public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + + public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size) + { + // NonKhrReturnTypeOverloader + SvmallocWithProperties(context, properties, svm_type_index, size, out int silkRet); + return silkRet; + } + + public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size) + { + // NonKhrReturnTypeOverloader + SvmallocWithProperties(context, in properties, svm_type_index, size, out int silkRet); + return silkRet; + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size) + { + // NonKhrReturnTypeOverloader + SvmallocWithProperties(context, properties, svm_type_index, size, out int silkRet); + return silkRet; + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size) + { + // NonKhrReturnTypeOverloader + SvmallocWithProperties(context, in properties, svm_type_index, size, out int silkRet); + return silkRet; + } + + public KhrUnifiedSvm(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs new file mode 100644 index 0000000000..f1aadaad5b --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs @@ -0,0 +1,397 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.KHR +{ + public static class KhrUnifiedSvmOverloads + { + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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)] Span param_value_size_ret) + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo 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)] Span param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); + } + + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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)] Span param_value_size_ret) + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR 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)] Span param_value_size_ret) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). 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)] + public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); + } + + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). 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. ", true)] + public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index) + { + // SpanOverloader + return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference()); + } + + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, properties, svm_type_index, size, out errcode_ret.GetPinnableReference()); + } + + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, in properties.GetPinnableReference(), svm_type_index, size, errcode_ret); + } + + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, in properties.GetPinnableReference(), svm_type_index, size, out errcode_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, properties, svm_type_index, size, out errcode_ret.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, in properties.GetPinnableReference(), svm_type_index, size, errcode_ret); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). 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. ", true)] + public static unsafe void* SvmallocWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span errcode_ret) + { + // SpanOverloader + return thisApi.SvmallocWithProperties(context, in properties.GetPinnableReference(), svm_type_index, size, out errcode_ret.GetPinnableReference()); + } + + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, properties, flags, out ptr.GetPinnableReference()); + } + + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr) + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, ptr); + } + + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, properties, flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr) + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, ptr); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, properties, flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr) + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, ptr); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, properties, flags, out ptr.GetPinnableReference()); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr) + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, ptr); + } + + [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). 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. ", true)] + public static unsafe int SvmfreeWithProperties(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span ptr) where T0 : unmanaged + { + // SpanOverloader + return thisApi.SvmfreeWithProperties(context, in properties.GetPinnableReference(), flags, out ptr.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/PerfHint.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/PerfHint.gen.cs new file mode 100644 index 0000000000..3459c5c43b --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/PerfHint.gen.cs @@ -0,0 +1,22 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenCL.Extensions.QCOM +{ + [NativeName("Name", "cl_perf_hint_qcom")] + public enum PerfHint : int + { + [NativeName("Name", "CL_PERF_HINT_HIGH_QCOM")] + High = 0x40C3, + [NativeName("Name", "CL_PERF_HINT_NORMAL_QCOM")] + Normal = 0x40C4, + [NativeName("Name", "CL_PERF_HINT_LOW_QCOM")] + Low = 0x40C5, + } +} diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/QCOM.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/QCOM.gen.cs index 72830554c0..1538b0a02f 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/QCOM.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/Enums/QCOM.gen.cs @@ -49,6 +49,22 @@ public enum QCOM : int SliceAlignment = 0x40A3, [NativeName("Name", "CL_IMAGE_SLICE_ALIGNMENT_QCOM")] ImageSliceAlignmentQCom = 0x40A3, + [NativeName("Name", "CL_PERF_HINT_HIGH_QCOM")] + High = 0x40C3, + [NativeName("Name", "CL_PERF_HINT_HIGH_QCOM")] + PerfHintHighQCom = 0x40C3, + [NativeName("Name", "CL_PERF_HINT_NORMAL_QCOM")] + Normal = 0x40C4, + [NativeName("Name", "CL_PERF_HINT_NORMAL_QCOM")] + PerfHintNormalQCom = 0x40C4, + [NativeName("Name", "CL_PERF_HINT_LOW_QCOM")] + Low = 0x40C5, + [NativeName("Name", "CL_PERF_HINT_LOW_QCOM")] + PerfHintLowQCom = 0x40C5, + [NativeName("Name", "CL_CONTEXT_PERF_HINT_QCOM")] + PerfHintQCom = 0x40C2, + [NativeName("Name", "CL_CONTEXT_PERF_HINT_QCOM")] + ContextPerfHintQCom = 0x40C2, [NativeName("Name", "CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM")] ExtMemPaddingInBytesQCom = 0x40A0, [NativeName("Name", "CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM")] diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComPerfHint.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComPerfHint.gen.cs new file mode 100644 index 0000000000..8ca6fbe2d1 --- /dev/null +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComPerfHint.gen.cs @@ -0,0 +1,36 @@ +// 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.QCOM +{ + [Extension("QCOM_perf_hint")] + public unsafe partial class QComPerfHint : NativeExtension + { + public const string ExtensionName = "QCOM_perf_hint"; + [NativeApi(EntryPoint = "clSetPerfHintQCOM", Convention = CallingConvention.Winapi)] + public partial int SetPerfHint([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] PerfHint perf_hint); + + [Obsolete("The \"ungrouped\" enums (QCOM) are deprecated in favour of the \"grouped\" enums (PerfHint). 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 = "clSetPerfHintQCOM", Convention = CallingConvention.Winapi)] + public partial int SetPerfHint([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] QCOM perf_hint); + + public QComPerfHint(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs index ba4a99f9d6..d6c03d4467 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs @@ -153,6 +153,18 @@ public enum CLEnum : int UnsignedIntRaw12Ext = 0x10E4, [NativeName("Name", "CL_UNORM_INT_2_101010_EXT")] UnormInt2101010Ext = 0x10E5, + [NativeName("Name", "CL_UNSIGNED_INT10X6_EXT")] + UnsignedInt10X6Ext = 0x10E6, + [NativeName("Name", "CL_UNSIGNED_INT12X4_EXT")] + UnsignedInt12X4Ext = 0x10E7, + [NativeName("Name", "CL_UNSIGNED_INT14X2_EXT")] + UnsignedInt14X2Ext = 0x10E8, + [NativeName("Name", "CL_UNORM_INT10X6_EXT")] + UnormInt10X6Ext = 0x10E1, + [NativeName("Name", "CL_UNORM_INT12X4_EXT")] + UnormInt12X4Ext = 0x10E9, + [NativeName("Name", "CL_UNORM_INT14X2_EXT")] + UnormInt14X2Ext = 0x10EA, [NativeName("Name", "CL_COMPLETE")] Complete = 0x0, [NativeName("Name", "CL_RUNNING")] @@ -509,6 +521,10 @@ public enum CLEnum : int DxvaDeviceIntel = 0x4073, [NativeName("Name", "CL_CONTEXT_DXVA_DEVICE_INTEL")] ContextDxvaDeviceIntel = 0x4073, + [NativeName("Name", "CL_CONTEXT_PERF_HINT_QCOM")] + PerfHintQCom = 0x40C2, + [NativeName("Name", "CL_CONTEXT_PERF_HINT_QCOM")] + ContextPerfHintQCom = 0x40C2, [NativeName("Name", "CL_CONTEXT_PLATFORM")] Platform = 0x1084, [NativeName("Name", "CL_CONTEXT_PLATFORM")] @@ -533,6 +549,10 @@ public enum CLEnum : int ShowDiagnosticsIntel = 0x4106, [NativeName("Name", "CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL")] ContextShowDiagnosticsIntel = 0x4106, + [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + SafetyPropertiesImg = 0x40D9, + [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + ContextSafetyPropertiesImg = 0x40D9, [NativeName("Name", "CL_DEVICE_AFFINITY_DOMAIN_NUMA")] Numa = 0x1, [NativeName("Name", "CL_DEVICE_AFFINITY_DOMAIN_NUMA")] @@ -1356,6 +1376,18 @@ public enum CLEnum : int MemoryCapabilitiesImg = 0x40D8, [NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")] DeviceMemoryCapabilitiesImg = 0x40D8, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + WorkgroupProtectionSvmCapabilitiesImg = 0x40DA, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionSvmCapabilitiesImg = 0x40DA, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + WorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB, + [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + SafetyMemSizeImg = 0x40DC, + [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + DeviceSafetyMemSizeImg = 0x40DC, [NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")] ControlledTerminationCapabilitiesArm = 0x41EE, [NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")] @@ -1432,6 +1464,10 @@ public enum CLEnum : int CommandBufferCapabilitiesKhr = 0x12A9, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR")] DeviceCommandBufferCapabilitiesKhr = 0x12A9, + [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")] + CommandBufferSupportedQueuePropertiesKhr = 0x129A, + [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")] + DeviceCommandBufferSupportedQueuePropertiesKhr = 0x129A, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")] CommandBufferRequiredQueuePropertiesKhr = 0x12AA, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")] @@ -1468,6 +1504,22 @@ public enum CLEnum : int KernelClockCapabilitiesKhr = 0x1076, [NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")] DeviceKernelClockCapabilitiesKhr = 0x1076, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + SpirvExtendedInstructionSetsKhr = 0x12B9, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + DeviceSpirvExtendedInstructionSetsKhr = 0x12B9, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + SpirvExtensionsKhr = 0x12BA, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + DeviceSpirvExtensionsKhr = 0x12BA, + [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + SpirvCapabilitiesKhr = 0x12BB, + [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + DeviceSpirvCapabilitiesKhr = 0x12BB, + [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")] + SvmTypeCapabilitiesKhr = 0x1077, + [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")] + DeviceSvmTypeCapabilitiesKhr = 0x1077, [NativeName("Name", "CL_LOCAL")] Local = 0x1, [NativeName("Name", "CL_GLOBAL")] @@ -1720,6 +1772,16 @@ public enum CLEnum : int DX9ResourceNotAcquiredIntel = unchecked((int) 0xFFFFFFFFFFFFFC0B), [NativeName("Name", "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR")] InvalidGLSharegroupReferenceKhr = unchecked((int) 0xFFFFFFFFFFFFFC18), + [NativeName("Name", "CL_ECC_RECOVERED_IMG")] + EccRecoveredImg = 0x40DD, + [NativeName("Name", "CL_PAGE_FAULT_IMG")] + PageFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB99), + [NativeName("Name", "CL_SAFETY_FAULT_IMG")] + SafetyFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB98), + [NativeName("Name", "CL_GENERAL_FAULT_IMG")] + GeneralFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB97), + [NativeName("Name", "CL_ECC_UNRECOVERED_IMG")] + EccUnrecoveredImg = unchecked((int) 0xFFFFFFFFFFFFFB96), [NativeName("Name", "CL_COMMAND_TERMINATED_ITSELF_WITH_FAILURE_ARM")] CommandTerminatedItselfWithFailureArm = unchecked((int) 0xFFFFFFFFFFFFFBAC), [NativeName("Name", "CL_INVALID_SEMAPHORE_KHR")] @@ -2038,6 +2100,14 @@ public enum CLEnum : int ComputeUnitMaxQueuedBatchesArm = 0x41F1, [NativeName("Name", "CL_KERNEL_EXEC_INFO_COMPUTE_UNIT_MAX_QUEUED_BATCHES_ARM")] KernelExecInfoComputeUnitMaxQueuedBatchesArm = 0x41F1, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + DevicePtrsExt = 0x5002, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + KernelExecInfoDevicePtrsExt = 0x5002, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")] + SvmIndirectAccessKhr = 0x11BB, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")] + KernelExecInfoSvmIndirectAccessKhr = 0x11BB, [NativeName("Name", "CL_KERNEL_FUNCTION_NAME")] FunctionName = 0x1190, [NativeName("Name", "CL_KERNEL_NUM_ARGS")] @@ -2168,6 +2238,10 @@ public enum CLEnum : int ProtectedAllocArm = unchecked((int) 0x1000000000), [NativeName("Name", "CL_MEM_PROTECTED_ALLOC_ARM")] MemProtectedAllocArm = unchecked((int) 0x1000000000), + [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")] + ImmutableExt = 0x40, + [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")] + MemImmutableExt = 0x40, [NativeName("Name", "CL_MEM_FLAGS")] Flags = 0x1101, [NativeName("Name", "CL_MEM_HOST_PTR")] @@ -2220,6 +2294,10 @@ public enum CLEnum : int DX9SharedHandleIntel = 0x4074, [NativeName("Name", "CL_MEM_DX9_SHARED_HANDLE_INTEL")] MemDX9SharedHandleIntel = 0x4074, + [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")] + DeviceAddressExt = 0x5001, + [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")] + MemDeviceAddressExt = 0x5001, [NativeName("Name", "CL_MIGRATE_MEM_OBJECT_HOST")] Host = 0x1, [NativeName("Name", "CL_MIGRATE_MEM_OBJECT_HOST")] @@ -2258,6 +2336,10 @@ public enum CLEnum : int DeviceHandleListKhr = 0x2051, [NativeName("Name", "CL_MEM_DEVICE_HANDLE_LIST_KHR")] MemDeviceHandleListKhr = 0x2051, + [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + DevicePrivateAddressExt = 0x5000, + [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + MemDevicePrivateAddressExt = 0x5000, [NativeName("Name", "CL_MEM_LOCALLY_UNCACHED_RESOURCE_INTEL")] LocallyUncachedResourceIntel = 0x4218, [NativeName("Name", "CL_MEM_LOCALLY_UNCACHED_RESOURCE_INTEL")] @@ -2300,6 +2382,8 @@ public enum CLEnum : int PlatformExternalMemoryImportHandleTypesKhr = 0x2044, [NativeName("Name", "CL_PLATFORM_COMMAND_BUFFER_CAPABILITIES_KHR")] PlatformCommandBufferCapabilitiesKhr = 0x908, + [NativeName("Name", "CL_PLATFORM_SVM_TYPE_CAPABILITIES_KHR")] + PlatformSvmTypeCapabilitiesKhr = 0x909, [NativeName("Name", "CL_PROFILING_COMMAND_SUBMIT")] Submit = 0x1281, [NativeName("Name", "CL_PROFILING_COMMAND_START")] diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/ChannelType.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/ChannelType.gen.cs index 5e2b3b4b97..f338ecb79f 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/ChannelType.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/ChannelType.gen.cs @@ -52,5 +52,17 @@ public enum ChannelType : int UnsignedIntRaw12Ext = 0x10E4, [NativeName("Name", "CL_UNORM_INT_2_101010_EXT")] UnormInt2101010Ext = 0x10E5, + [NativeName("Name", "CL_UNSIGNED_INT10X6_EXT")] + UnsignedInt10X6Ext = 0x10E6, + [NativeName("Name", "CL_UNSIGNED_INT12X4_EXT")] + UnsignedInt12X4Ext = 0x10E7, + [NativeName("Name", "CL_UNSIGNED_INT14X2_EXT")] + UnsignedInt14X2Ext = 0x10E8, + [NativeName("Name", "CL_UNORM_INT10X6_EXT")] + UnormInt10X6Ext = 0x10E1, + [NativeName("Name", "CL_UNORM_INT12X4_EXT")] + UnormInt12X4Ext = 0x10E9, + [NativeName("Name", "CL_UNORM_INT14X2_EXT")] + UnormInt14X2Ext = 0x10EA, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/ContextInfo.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/ContextInfo.gen.cs index d7457782e8..3bd4492405 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/ContextInfo.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/ContextInfo.gen.cs @@ -42,5 +42,7 @@ public enum ContextInfo : int D3D9EXDeviceIntel = 0x4072, [NativeName("Name", "CL_CONTEXT_DXVA_DEVICE_INTEL")] DxvaDeviceIntel = 0x4073, + [NativeName("Name", "CL_CONTEXT_PERF_HINT_QCOM")] + PerfHintQCom = 0x40C2, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/ContextProperties.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/ContextProperties.gen.cs index e9111f5294..198f6cae70 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/ContextProperties.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/ContextProperties.gen.cs @@ -26,5 +26,7 @@ public enum ContextProperties : ulong PrintfBuffersizeArm = 0x40B1, [NativeName("Name", "CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL")] ShowDiagnosticsIntel = 0x4106, + [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + SafetyPropertiesImg = 0x40D9, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs index 505fce8b45..85a7c7f136 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs @@ -380,6 +380,12 @@ public enum DeviceInfo : int BuiltInKernelsWithVersionKhr = 0x1062, [NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")] MemoryCapabilitiesImg = 0x40D8, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + WorkgroupProtectionSvmCapabilitiesImg = 0x40DA, + [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + WorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB, + [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + SafetyMemSizeImg = 0x40DC, [NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")] ControlledTerminationCapabilitiesArm = 0x41EE, [NativeName("Name", "CL_DEVICE_QUEUE_FAMILY_PROPERTIES_INTEL")] @@ -418,6 +424,8 @@ public enum DeviceInfo : int ExternalMemoryImportAssumeLinearImagesHandleTypesKhr = 0x2052, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR")] CommandBufferCapabilitiesKhr = 0x12A9, + [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")] + CommandBufferSupportedQueuePropertiesKhr = 0x129A, [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")] CommandBufferRequiredQueuePropertiesKhr = 0x12AA, [NativeName("Name", "CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT")] @@ -436,5 +444,13 @@ public enum DeviceInfo : int CommandBufferSyncDevicesKhr = 0x12AC, [NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")] KernelClockCapabilitiesKhr = 0x1076, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + SpirvExtendedInstructionSetsKhr = 0x12B9, + [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + SpirvExtensionsKhr = 0x12BA, + [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + SpirvCapabilitiesKhr = 0x12BB, + [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")] + SvmTypeCapabilitiesKhr = 0x1077, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/ErrorCodes.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/ErrorCodes.gen.cs index 40f5cfe39b..77251630ca 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/ErrorCodes.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/ErrorCodes.gen.cs @@ -206,6 +206,16 @@ public enum ErrorCodes : int DX9ResourceNotAcquiredIntel = unchecked((int) 0xFFFFFFFFFFFFFC0B), [NativeName("Name", "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR")] InvalidGLSharegroupReferenceKhr = unchecked((int) 0xFFFFFFFFFFFFFC18), + [NativeName("Name", "CL_ECC_RECOVERED_IMG")] + EccRecoveredImg = 0x40DD, + [NativeName("Name", "CL_PAGE_FAULT_IMG")] + PageFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB99), + [NativeName("Name", "CL_SAFETY_FAULT_IMG")] + SafetyFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB98), + [NativeName("Name", "CL_GENERAL_FAULT_IMG")] + GeneralFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB97), + [NativeName("Name", "CL_ECC_UNRECOVERED_IMG")] + EccUnrecoveredImg = unchecked((int) 0xFFFFFFFFFFFFFB96), [NativeName("Name", "CL_COMMAND_TERMINATED_ITSELF_WITH_FAILURE_ARM")] CommandTerminatedItselfWithFailureArm = unchecked((int) 0xFFFFFFFFFFFFFBAC), [NativeName("Name", "CL_INVALID_SEMAPHORE_KHR")] diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/KernelExecInfo.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/KernelExecInfo.gen.cs index 7f94371648..ff8ad7ffa6 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/KernelExecInfo.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/KernelExecInfo.gen.cs @@ -32,5 +32,9 @@ public enum KernelExecInfo : int WarpCountLimitArm = 0x41E8, [NativeName("Name", "CL_KERNEL_EXEC_INFO_COMPUTE_UNIT_MAX_QUEUED_BATCHES_ARM")] ComputeUnitMaxQueuedBatchesArm = 0x41F1, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + DevicePtrsExt = 0x5002, + [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")] + SvmIndirectAccessKhr = 0x11BB, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/MemFlags.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/MemFlags.gen.cs index ff71b0598a..383b356880 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/MemFlags.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/MemFlags.gen.cs @@ -55,5 +55,7 @@ public enum MemFlags : ulong ForceHostMemoryIntel = 0x100000, [NativeName("Name", "CL_MEM_PROTECTED_ALLOC_ARM")] ProtectedAllocArm = 0x1000000000, + [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")] + ImmutableExt = 0x40, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/MemInfo.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/MemInfo.gen.cs index cc45fb3996..c8350080d3 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/MemInfo.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/MemInfo.gen.cs @@ -50,5 +50,7 @@ public enum MemInfo : int DX9ResourceIntel = 0x4027, [NativeName("Name", "CL_MEM_DX9_SHARED_HANDLE_INTEL")] DX9SharedHandleIntel = 0x4074, + [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")] + DeviceAddressExt = 0x5001, } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/MemProperties.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/MemProperties.gen.cs index 4e2c249268..7ab342cbc0 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/MemProperties.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/MemProperties.gen.cs @@ -16,6 +16,8 @@ public enum MemProperties : ulong AllocFlagsImg = 0x40D7, [NativeName("Name", "CL_MEM_DEVICE_HANDLE_LIST_KHR")] DeviceHandleListKhr = 0x2051, + [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + DevicePrivateAddressExt = 0x5000, [NativeName("Name", "CL_MEM_LOCALLY_UNCACHED_RESOURCE_INTEL")] LocallyUncachedResourceIntel = 0x4218, [NativeName("Name", "CL_MEM_DEVICE_ID_INTEL")] diff --git a/src/OpenCL/Silk.NET.OpenCL/Enums/PlatformInfo.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Enums/PlatformInfo.gen.cs index 9da1956189..f1c3cf7553 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Enums/PlatformInfo.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Enums/PlatformInfo.gen.cs @@ -44,5 +44,7 @@ public enum PlatformInfo : int ExternalMemoryImportHandleTypesKhr = 0x2044, [NativeName("Name", "CL_PLATFORM_COMMAND_BUFFER_CAPABILITIES_KHR")] CommandBufferCapabilitiesKhr = 0x908, + [NativeName("Name", "CL_PLATFORM_SVM_TYPE_CAPABILITIES_KHR")] + SvmTypeCapabilitiesKhr = 0x909, } } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs index 194c398cff..363e2f3b9f 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs @@ -684,10 +684,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); @@ -1367,7 +1367,7 @@ public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection. NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); } - public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // ImplicitCountSpanOverloader NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs index 126354c23e..82f276e31e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs @@ -598,7 +598,7 @@ public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs index 69a9f16800..d0ad7459e2 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs @@ -3678,10 +3678,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] EXT usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorageEXT", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs index dc15286ee5..f834ce8ec6 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs @@ -3076,7 +3076,7 @@ public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs index a617a12056..f55f069962 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs @@ -684,10 +684,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); @@ -1367,7 +1367,7 @@ public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection. NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); } - public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // ImplicitCountSpanOverloader NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs index a5a6670780..7ee9bd67cd 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs @@ -598,7 +598,7 @@ public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs index f72c803663..1c665d7dd6 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs @@ -3678,10 +3678,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] EXT usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorageEXT", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs index 7e682a518d..fce1774943 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs @@ -3076,7 +3076,7 @@ public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.MESA/Enums/MESA.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.MESA/Enums/MESA.gen.cs index c9890c4f6c..86f01cd0d2 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.MESA/Enums/MESA.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.MESA/Enums/MESA.gen.cs @@ -22,6 +22,8 @@ public enum MESA : int PackInvertMesa = 0x8758, [NativeName("Name", "GL_PROGRAM_BINARY_FORMAT_MESA")] ProgramBinaryFormatMesa = 0x875F, + [NativeName("Name", "GL_CONST_BW_TILING_MESA")] + ConstBWTilingMesa = 0x8BBE, [NativeName("Name", "GL_TILE_RASTER_ORDER_FIXED_MESA")] TileRasterOrderFixedMesa = 0x8BB8, [NativeName("Name", "GL_TILE_RASTER_ORDER_INCREASING_X_MESA")] diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebug.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebug.gen.cs index 82df2ad4de..05b19e985f 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebug.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebug.gen.cs @@ -2451,22 +2451,22 @@ public unsafe partial class KhrDebug : NativeExtension public partial uint GetDebugMessageLog([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint count, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Parameter = "count"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DebugSource sources, [Count(Parameter = "count"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DebugType types, [Count(Parameter = "count"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint ids, [Count(Parameter = "count"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DebugSeverity severities, [Count(Parameter = "count"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint lengths, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] out string messageLog); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label); + public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out byte label); + public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out byte label); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] out string label); + public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] out string label); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label); + public unsafe partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out byte label); + public partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out byte label); [NativeApi(EntryPoint = "glGetObjectLabelKHR", Convention = CallingConvention.Winapi)] - public partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] out string label); + public partial void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] out string label); [NativeApi(EntryPoint = "glGetObjectPtrLabelKHR", Convention = CallingConvention.Winapi)] public unsafe partial void GetObjectPtrLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label); @@ -7127,25 +7127,25 @@ public unsafe uint GetDebugMessageLog([Count(Parameter = "count"), Flow(Silk.NET return GetDebugMessageLog((uint) lengths.Length, (uint) messageLog.Length, out sources.GetPinnableReference(), out types.GetPinnableReference(), out ids.GetPinnableReference(), out severities.GetPinnableReference(), out lengths.GetPinnableReference(), out messageLog.GetPinnableReference()); } - public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // ImplicitCountSpanOverloader GetObjectLabel(identifier, name, (uint) label.Length, length, out label.GetPinnableReference()); } - public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // ImplicitCountSpanOverloader GetObjectLabel(identifier, name, (uint) label.Length, length, out label.GetPinnableReference()); } - public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // ImplicitCountSpanOverloader GetObjectLabel(identifier, name, (uint) label.Length, out length, out label.GetPinnableReference()); } - public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public unsafe void GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // ImplicitCountSpanOverloader GetObjectLabel(identifier, name, (uint) label.Length, out length, out label.GetPinnableReference()); @@ -7207,14 +7207,14 @@ public unsafe void GetObjectPtrLabel([Flow(Silk.NET.Core.Native.FlowDirectio return ret; } - public unsafe byte GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length) + public unsafe byte GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length) { // NonKhrReturnTypeOverloader GetObjectLabel(identifier, name, bufSize, length, out byte silkRet); return silkRet; } - public unsafe byte GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length) + public unsafe byte GetObjectLabel([Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint length) { // NonKhrReturnTypeOverloader GetObjectLabel(identifier, name, bufSize, out length, out byte silkRet); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebugOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebugOverloads.gen.cs index 82f62d866a..6389b98a33 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebugOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/KhrDebugOverloads.gen.cs @@ -4678,31 +4678,31 @@ public static unsafe uint GetDebugMessageLog(this KhrDebug thisApi, [Flow(Silk.N return thisApi.GetDebugMessageLog(count, bufSize, out sources.GetPinnableReference(), out types.GetPinnableReference(), out ids.GetPinnableReference(), out severities.GetPinnableReference(), out lengths.GetPinnableReference(), out messageLog.GetPinnableReference()); } - public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // SpanOverloader thisApi.GetObjectLabel(identifier, name, bufSize, length, out label.GetPinnableReference()); } - public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // SpanOverloader thisApi.GetObjectLabel(identifier, name, bufSize, length, out label.GetPinnableReference()); } - public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label) + public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] byte* label) { // SpanOverloader thisApi.GetObjectLabel(identifier, name, bufSize, out length.GetPinnableReference(), label); } - public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // SpanOverloader thisApi.GetObjectLabel(identifier, name, bufSize, out length.GetPinnableReference(), out label.GetPinnableReference()); } - public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) + public static unsafe void GetObjectLabel(this KhrDebug thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR identifier, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span length, [Count(Parameter = "bufSize"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span label) { // SpanOverloader thisApi.GetObjectLabel(identifier, name, bufSize, out length.GetPinnableReference(), out label.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.MESA/Enums/MESA.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.MESA/Enums/MESA.gen.cs index 0cce4fb4be..85497b3260 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.MESA/Enums/MESA.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.MESA/Enums/MESA.gen.cs @@ -26,5 +26,7 @@ public enum MESA : int ProgramBinaryFormatMesa = 0x875F, [NativeName("Name", "GL_SAMPLER_BINDING")] SamplerBinding = 0x8919, + [NativeName("Name", "GL_CONST_BW_TILING_MESA")] + ConstBWTilingMesa = 0x8BBE, } } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVTextureBarrier.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVTextureBarrier.gen.cs new file mode 100644 index 0000000000..4f67c35b09 --- /dev/null +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVTextureBarrier.gen.cs @@ -0,0 +1,32 @@ +// 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.OpenGLES; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenGLES.Extensions.NV +{ + [Extension("NV_texture_barrier")] + public unsafe partial class NVTextureBarrier : NativeExtension + { + public const string ExtensionName = "NV_texture_barrier"; + [NativeApi(EntryPoint = "glTextureBarrierNV", Convention = CallingConvention.Winapi)] + public partial void TextureBarrier(); + + public NVTextureBarrier(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImageExternal.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImageExternal.gen.cs new file mode 100644 index 0000000000..de1563bfac --- /dev/null +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImageExternal.gen.cs @@ -0,0 +1,32 @@ +// 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.OpenGLES; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenGLES.Extensions.OES +{ + [Extension("OES_EGL_image_external")] + public unsafe partial class OesEglImageExternal : NativeExtension + { + public const string ExtensionName = "OES_EGL_image_external"; + [NativeApi(EntryPoint = "glEGLImageTargetTexture2DOES", Convention = CallingConvention.Winapi)] + public partial void EglimageTargetTexture2D([Flow(Silk.NET.Core.Native.FlowDirection.In)] OES target, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint image); + + public OesEglImageExternal(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/Enums/VertexBufferObjectUsage.gen.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/Enums/VertexBufferObjectUsage.gen.cs deleted file mode 100644 index 7f10c3f0f3..0000000000 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/Enums/VertexBufferObjectUsage.gen.cs +++ /dev/null @@ -1,34 +0,0 @@ -// 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 Silk.NET.Core.Attributes; - -#pragma warning disable 1591 - -namespace Silk.NET.OpenGL.Legacy -{ - [NativeName("Name", "VertexBufferObjectUsage")] - public enum VertexBufferObjectUsage : int - { - [NativeName("Name", "GL_STREAM_DRAW")] - StreamDraw = 0x88E0, - [NativeName("Name", "GL_STREAM_READ")] - StreamRead = 0x88E1, - [NativeName("Name", "GL_STREAM_COPY")] - StreamCopy = 0x88E2, - [NativeName("Name", "GL_STATIC_DRAW")] - StaticDraw = 0x88E4, - [NativeName("Name", "GL_STATIC_READ")] - StaticRead = 0x88E5, - [NativeName("Name", "GL_STATIC_COPY")] - StaticCopy = 0x88E6, - [NativeName("Name", "GL_DYNAMIC_DRAW")] - DynamicDraw = 0x88E8, - [NativeName("Name", "GL_DYNAMIC_READ")] - DynamicRead = 0x88E9, - [NativeName("Name", "GL_DYNAMIC_COPY")] - DynamicCopy = 0x88EA, - } -} diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs index 187575162b..4925000d30 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs @@ -1392,10 +1392,10 @@ public unsafe partial class GL : NativeAPI public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); @@ -15463,7 +15463,7 @@ public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection. NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); } - public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // ImplicitCountSpanOverloader NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs index a64a1d6129..05bb1a19fa 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs @@ -1456,7 +1456,7 @@ public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Co thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Silk.NET.OpenGL/Enums/VertexBufferObjectUsage.gen.cs b/src/OpenGL/Silk.NET.OpenGL/Enums/VertexBufferObjectUsage.gen.cs deleted file mode 100644 index a082382f12..0000000000 --- a/src/OpenGL/Silk.NET.OpenGL/Enums/VertexBufferObjectUsage.gen.cs +++ /dev/null @@ -1,34 +0,0 @@ -// 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 Silk.NET.Core.Attributes; - -#pragma warning disable 1591 - -namespace Silk.NET.OpenGL -{ - [NativeName("Name", "VertexBufferObjectUsage")] - public enum VertexBufferObjectUsage : int - { - [NativeName("Name", "GL_STREAM_DRAW")] - StreamDraw = 0x88E0, - [NativeName("Name", "GL_STREAM_READ")] - StreamRead = 0x88E1, - [NativeName("Name", "GL_STREAM_COPY")] - StreamCopy = 0x88E2, - [NativeName("Name", "GL_STATIC_DRAW")] - StaticDraw = 0x88E4, - [NativeName("Name", "GL_STATIC_READ")] - StaticRead = 0x88E5, - [NativeName("Name", "GL_STATIC_COPY")] - StaticCopy = 0x88E6, - [NativeName("Name", "GL_DYNAMIC_DRAW")] - DynamicDraw = 0x88E8, - [NativeName("Name", "GL_DYNAMIC_READ")] - DynamicRead = 0x88E9, - [NativeName("Name", "GL_DYNAMIC_COPY")] - DynamicCopy = 0x88EA, - } -} diff --git a/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs b/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs index 0e2439e062..c9b21ba31c 100644 --- a/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs @@ -1392,10 +1392,10 @@ public unsafe partial class GL : NativeAPI public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glNamedBufferData", Convention = CallingConvention.Winapi)] - public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage", Convention = CallingConvention.Winapi)] public unsafe partial void NamedBufferStorage([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint flags); @@ -12147,7 +12147,7 @@ public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection. NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); } - public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public unsafe void NamedBufferData([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // ImplicitCountSpanOverloader NamedBufferData(buffer, (nuint) ((data.Length) * Unsafe.SizeOf()), in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs b/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs index 3337dc06a8..ee8fcb4dc2 100644 --- a/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs @@ -1456,7 +1456,7 @@ public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Co thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); diff --git a/src/OpenGL/Silk.NET.OpenGLES/Enums/VertexBufferObjectUsage.gen.cs b/src/OpenGL/Silk.NET.OpenGLES/Enums/VertexBufferObjectUsage.gen.cs deleted file mode 100644 index 031463d308..0000000000 --- a/src/OpenGL/Silk.NET.OpenGLES/Enums/VertexBufferObjectUsage.gen.cs +++ /dev/null @@ -1,34 +0,0 @@ -// 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 Silk.NET.Core.Attributes; - -#pragma warning disable 1591 - -namespace Silk.NET.OpenGLES -{ - [NativeName("Name", "VertexBufferObjectUsage")] - public enum VertexBufferObjectUsage : int - { - [NativeName("Name", "GL_STREAM_DRAW")] - StreamDraw = 0x88E0, - [NativeName("Name", "GL_STREAM_READ")] - StreamRead = 0x88E1, - [NativeName("Name", "GL_STREAM_COPY")] - StreamCopy = 0x88E2, - [NativeName("Name", "GL_STATIC_DRAW")] - StaticDraw = 0x88E4, - [NativeName("Name", "GL_STATIC_READ")] - StaticRead = 0x88E5, - [NativeName("Name", "GL_STATIC_COPY")] - StaticCopy = 0x88E6, - [NativeName("Name", "GL_DYNAMIC_DRAW")] - DynamicDraw = 0x88E8, - [NativeName("Name", "GL_DYNAMIC_READ")] - DynamicRead = 0x88E9, - [NativeName("Name", "GL_DYNAMIC_COPY")] - DynamicCopy = 0x88EA, - } -} diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExport.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExport.gen.cs new file mode 100644 index 0000000000..8553b12d0b --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExport.gen.cs @@ -0,0 +1,49 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_anchor_sharing_export")] + public unsafe partial class AndroidAnchorSharingExport : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_anchor_sharing_export"; + /// To be documented. + [NativeApi(EntryPoint = "xrShareAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareAnchor([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSharingInfoANDROID* sharingInfo, [Count(Count = 0)] AnchorSharingTokenANDROID* anchorToken); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareAnchor([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSharingInfoANDROID* sharingInfo, [Count(Count = 0)] ref AnchorSharingTokenANDROID anchorToken); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareAnchor([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSharingInfoANDROID sharingInfo, [Count(Count = 0)] AnchorSharingTokenANDROID* anchorToken); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareAnchorANDROID", Convention = CallingConvention.Winapi)] + public partial Result ShareAnchor([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSharingInfoANDROID sharingInfo, [Count(Count = 0)] ref AnchorSharingTokenANDROID anchorToken); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnshareAnchorANDROID", Convention = CallingConvention.Winapi)] + public partial Result UnshareAnchor([Count(Count = 0)] Session session, [Count(Count = 0)] Space anchor); + + public AndroidAnchorSharingExport(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExportOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExportOverloads.gen.cs new file mode 100644 index 0000000000..dc9baf7ebc --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidAnchorSharingExportOverloads.gen.cs @@ -0,0 +1,42 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidAnchorSharingExportOverloads + { + /// To be documented. + public static unsafe Result ShareAnchor(this AndroidAnchorSharingExport thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSharingInfoANDROID* sharingInfo, [Count(Count = 0)] Span anchorToken) + { + // SpanOverloader + return thisApi.ShareAnchor(session, sharingInfo, ref anchorToken.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result ShareAnchor(this AndroidAnchorSharingExport thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan sharingInfo, [Count(Count = 0)] AnchorSharingTokenANDROID* anchorToken) + { + // SpanOverloader + return thisApi.ShareAnchor(session, in sharingInfo.GetPinnableReference(), anchorToken); + } + + /// To be documented. + public static unsafe Result ShareAnchor(this AndroidAnchorSharingExport thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan sharingInfo, [Count(Count = 0)] Span anchorToken) + { + // SpanOverloader + return thisApi.ShareAnchor(session, in sharingInfo.GetPinnableReference(), ref anchorToken.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistence.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistence.gen.cs new file mode 100644 index 0000000000..90d2479db0 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistence.gen.cs @@ -0,0 +1,165 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_device_anchor_persistence")] + public unsafe partial class AndroidDeviceAnchorPersistence : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_device_anchor_persistence"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateDeviceAnchorPersistenceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDeviceAnchorPersistence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceAnchorPersistenceCreateInfoANDROID* createInfo, [Count(Count = 0)] DeviceAnchorPersistenceANDROID* outHandle); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateDeviceAnchorPersistenceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDeviceAnchorPersistence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceAnchorPersistenceCreateInfoANDROID* createInfo, [Count(Count = 0)] ref DeviceAnchorPersistenceANDROID outHandle); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateDeviceAnchorPersistenceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDeviceAnchorPersistence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceAnchorPersistenceCreateInfoANDROID createInfo, [Count(Count = 0)] DeviceAnchorPersistenceANDROID* outHandle); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateDeviceAnchorPersistenceANDROID", Convention = CallingConvention.Winapi)] + public partial Result CreateDeviceAnchorPersistence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceAnchorPersistenceCreateInfoANDROID createInfo, [Count(Count = 0)] ref DeviceAnchorPersistenceANDROID outHandle); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreatePersistedAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreatePersistedAnchorSpace([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] Space* anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreatePersistedAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreatePersistedAnchorSpace([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] ref Space anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreatePersistedAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreatePersistedAnchorSpace([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PersistedAnchorSpaceCreateInfoANDROID createInfo, [Count(Count = 0)] Space* anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreatePersistedAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public partial Result CreatePersistedAnchorSpace([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PersistedAnchorSpaceCreateInfoANDROID createInfo, [Count(Count = 0)] ref Space anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyDeviceAnchorPersistenceANDROID", Convention = CallingConvention.Winapi)] + public partial Result DestroyDeviceAnchorPersistence([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumeratePersistedAnchorsANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] uint* anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] UuidEXT* anchorIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumeratePersistedAnchorsANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] uint* anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] ref UuidEXT anchorIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumeratePersistedAnchorsANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] ref uint anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] UuidEXT* anchorIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumeratePersistedAnchorsANDROID", Convention = CallingConvention.Winapi)] + public partial Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] ref uint anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] ref UuidEXT anchorIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedPersistenceAnchorTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedPersistenceAnchorTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedPersistenceAnchorTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedPersistenceAnchorTypesANDROID", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorPersistStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAnchorPersistState([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] UuidEXT* anchorId, [Count(Count = 0)] AnchorPersistStateANDROID* persistState); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorPersistStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAnchorPersistState([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] UuidEXT* anchorId, [Count(Count = 0)] ref AnchorPersistStateANDROID persistState); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorPersistStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAnchorPersistState([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in UuidEXT anchorId, [Count(Count = 0)] AnchorPersistStateANDROID* persistState); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorPersistStateANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetAnchorPersistState([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in UuidEXT anchorId, [Count(Count = 0)] ref AnchorPersistStateANDROID persistState); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceInfoANDROID* persistedInfo, [Count(Count = 0)] UuidEXT* anchorIdOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceInfoANDROID* persistedInfo, [Count(Count = 0)] ref UuidEXT anchorIdOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PersistedAnchorSpaceInfoANDROID persistedInfo, [Count(Count = 0)] UuidEXT* anchorIdOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public partial Result PersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PersistedAnchorSpaceInfoANDROID persistedInfo, [Count(Count = 0)] ref UuidEXT anchorIdOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] UuidEXT* anchorId); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistAnchorANDROID", Convention = CallingConvention.Winapi)] + public partial Result UnpersistAnchor([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in UuidEXT anchorId); + + /// To be documented. + public unsafe Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint* anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] Span anchorIds) + { + // ImplicitCountSpanOverloader + return EnumeratePersistedAnchors(handle, (uint) anchorIds.Length, anchorIdCountOutput, ref anchorIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumeratePersistedAnchors([Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] ref uint anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] Span anchorIds) + { + // ImplicitCountSpanOverloader + return EnumeratePersistedAnchors(handle, (uint) anchorIds.Length, ref anchorIdCountOutput, ref anchorIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedPersistenceAnchorTypes(instance, systemId, (uint) trackableTypes.Length, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSupportedPersistenceAnchorTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedPersistenceAnchorTypes(instance, systemId, (uint) trackableTypes.Length, ref trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + public AndroidDeviceAnchorPersistence(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistenceOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistenceOverloads.gen.cs new file mode 100644 index 0000000000..c32875a2b1 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidDeviceAnchorPersistenceOverloads.gen.cs @@ -0,0 +1,154 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidDeviceAnchorPersistenceOverloads + { + /// To be documented. + public static unsafe Result CreateDeviceAnchorPersistence(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceAnchorPersistenceCreateInfoANDROID* createInfo, [Count(Count = 0)] Span outHandle) + { + // SpanOverloader + return thisApi.CreateDeviceAnchorPersistence(session, createInfo, ref outHandle.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDeviceAnchorPersistence(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] DeviceAnchorPersistenceANDROID* outHandle) + { + // SpanOverloader + return thisApi.CreateDeviceAnchorPersistence(session, in createInfo.GetPinnableReference(), outHandle); + } + + /// To be documented. + public static unsafe Result CreateDeviceAnchorPersistence(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span outHandle) + { + // SpanOverloader + return thisApi.CreateDeviceAnchorPersistence(session, in createInfo.GetPinnableReference(), ref outHandle.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreatePersistedAnchorSpace(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] Span anchorOutput) + { + // SpanOverloader + return thisApi.CreatePersistedAnchorSpace(handle, createInfo, ref anchorOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreatePersistedAnchorSpace(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Space* anchorOutput) + { + // SpanOverloader + return thisApi.CreatePersistedAnchorSpace(handle, in createInfo.GetPinnableReference(), anchorOutput); + } + + /// To be documented. + public static unsafe Result CreatePersistedAnchorSpace(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span anchorOutput) + { + // SpanOverloader + return thisApi.CreatePersistedAnchorSpace(handle, in createInfo.GetPinnableReference(), ref anchorOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumeratePersistedAnchors(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] uint* anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] Span anchorIds) + { + // SpanOverloader + return thisApi.EnumeratePersistedAnchors(handle, anchorIdCapacityInput, anchorIdCountOutput, ref anchorIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumeratePersistedAnchors(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] Span anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] UuidEXT* anchorIds) + { + // SpanOverloader + return thisApi.EnumeratePersistedAnchors(handle, anchorIdCapacityInput, ref anchorIdCountOutput.GetPinnableReference(), anchorIds); + } + + /// To be documented. + public static unsafe Result EnumeratePersistedAnchors(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0)] uint anchorIdCapacityInput, [Count(Count = 0)] Span anchorIdCountOutput, [Count(Parameter = "anchorIdCapacityInput")] Span anchorIds) + { + // SpanOverloader + return thisApi.EnumeratePersistedAnchors(handle, anchorIdCapacityInput, ref anchorIdCountOutput.GetPinnableReference(), ref anchorIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedPersistenceAnchorTypes(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedPersistenceAnchorTypes(instance, systemId, trackableTypeCapacityInput, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedPersistenceAnchorTypes(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedPersistenceAnchorTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), trackableTypes); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedPersistenceAnchorTypes(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedPersistenceAnchorTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetAnchorPersistState(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] UuidEXT* anchorId, [Count(Count = 0)] Span persistState) + { + // SpanOverloader + return thisApi.GetAnchorPersistState(handle, anchorId, ref persistState.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetAnchorPersistState(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan anchorId, [Count(Count = 0)] AnchorPersistStateANDROID* persistState) + { + // SpanOverloader + return thisApi.GetAnchorPersistState(handle, in anchorId.GetPinnableReference(), persistState); + } + + /// To be documented. + public static unsafe Result GetAnchorPersistState(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan anchorId, [Count(Count = 0)] Span persistState) + { + // SpanOverloader + return thisApi.GetAnchorPersistState(handle, in anchorId.GetPinnableReference(), ref persistState.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistAnchor(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PersistedAnchorSpaceInfoANDROID* persistedInfo, [Count(Count = 0)] Span anchorIdOutput) + { + // SpanOverloader + return thisApi.PersistAnchor(handle, persistedInfo, ref anchorIdOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistAnchor(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan persistedInfo, [Count(Count = 0)] UuidEXT* anchorIdOutput) + { + // SpanOverloader + return thisApi.PersistAnchor(handle, in persistedInfo.GetPinnableReference(), anchorIdOutput); + } + + /// To be documented. + public static unsafe Result PersistAnchor(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan persistedInfo, [Count(Count = 0)] Span anchorIdOutput) + { + // SpanOverloader + return thisApi.PersistAnchor(handle, in persistedInfo.GetPinnableReference(), ref anchorIdOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistAnchor(this AndroidDeviceAnchorPersistence thisApi, [Count(Count = 0)] DeviceAnchorPersistenceANDROID handle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan anchorId) + { + // SpanOverloader + return thisApi.UnpersistAnchor(handle, in anchorId.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraState.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraState.gen.cs new file mode 100644 index 0000000000..73d05aff65 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraState.gen.cs @@ -0,0 +1,45 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_passthrough_camera_state")] + public unsafe partial class AndroidPassthroughCameraState : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_passthrough_camera_state"; + /// To be documented. + [NativeApi(EntryPoint = "xrGetPassthroughCameraStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPassthroughCameraState([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PassthroughCameraStateGetInfoANDROID* getInfo, [Count(Count = 0)] PassthroughCameraStateANDROID* cameraStateOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetPassthroughCameraStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPassthroughCameraState([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PassthroughCameraStateGetInfoANDROID* getInfo, [Count(Count = 0)] ref PassthroughCameraStateANDROID cameraStateOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetPassthroughCameraStateANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPassthroughCameraState([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PassthroughCameraStateGetInfoANDROID getInfo, [Count(Count = 0)] PassthroughCameraStateANDROID* cameraStateOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetPassthroughCameraStateANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetPassthroughCameraState([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PassthroughCameraStateGetInfoANDROID getInfo, [Count(Count = 0)] ref PassthroughCameraStateANDROID cameraStateOutput); + + public AndroidPassthroughCameraState(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraStateOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraStateOverloads.gen.cs new file mode 100644 index 0000000000..19af8eaae4 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidPassthroughCameraStateOverloads.gen.cs @@ -0,0 +1,42 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidPassthroughCameraStateOverloads + { + /// To be documented. + public static unsafe Result GetPassthroughCameraState(this AndroidPassthroughCameraState thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PassthroughCameraStateGetInfoANDROID* getInfo, [Count(Count = 0)] Span cameraStateOutput) + { + // SpanOverloader + return thisApi.GetPassthroughCameraState(session, getInfo, ref cameraStateOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetPassthroughCameraState(this AndroidPassthroughCameraState thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] PassthroughCameraStateANDROID* cameraStateOutput) + { + // SpanOverloader + return thisApi.GetPassthroughCameraState(session, in getInfo.GetPinnableReference(), cameraStateOutput); + } + + /// To be documented. + public static unsafe Result GetPassthroughCameraState(this AndroidPassthroughCameraState thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span cameraStateOutput) + { + // SpanOverloader + return thisApi.GetPassthroughCameraState(session, in getInfo.GetPinnableReference(), ref cameraStateOutput.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycast.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycast.gen.cs new file mode 100644 index 0000000000..67ee8c8bb5 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycast.gen.cs @@ -0,0 +1,75 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_raycast")] + public unsafe partial class AndroidRaycast : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_raycast"; + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRaycastSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRaycastSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRaycastSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRaycastSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public partial Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrRaycastANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result Raycast([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RaycastInfoANDROID* rayInfo, [Count(Count = 0)] RaycastHitResultsANDROID* results); + + /// To be documented. + [NativeApi(EntryPoint = "xrRaycastANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result Raycast([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RaycastInfoANDROID* rayInfo, [Count(Count = 0)] ref RaycastHitResultsANDROID results); + + /// To be documented. + [NativeApi(EntryPoint = "xrRaycastANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result Raycast([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RaycastInfoANDROID rayInfo, [Count(Count = 0)] RaycastHitResultsANDROID* results); + + /// To be documented. + [NativeApi(EntryPoint = "xrRaycastANDROID", Convention = CallingConvention.Winapi)] + public partial Result Raycast([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RaycastInfoANDROID rayInfo, [Count(Count = 0)] ref RaycastHitResultsANDROID results); + + /// To be documented. + public unsafe Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateRaycastSupportedTrackableTypes(instance, systemId, (uint) trackableTypes.Length, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateRaycastSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateRaycastSupportedTrackableTypes(instance, systemId, (uint) trackableTypes.Length, ref trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + public AndroidRaycast(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycastOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycastOverloads.gen.cs new file mode 100644 index 0000000000..5cde5bc6bb --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidRaycastOverloads.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidRaycastOverloads + { + /// To be documented. + public static unsafe Result EnumerateRaycastSupportedTrackableTypes(this AndroidRaycast thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateRaycastSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateRaycastSupportedTrackableTypes(this AndroidRaycast thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateRaycastSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), trackableTypes); + } + + /// To be documented. + public static unsafe Result EnumerateRaycastSupportedTrackableTypes(this AndroidRaycast thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateRaycastSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result Raycast(this AndroidRaycast thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RaycastInfoANDROID* rayInfo, [Count(Count = 0)] Span results) + { + // SpanOverloader + return thisApi.Raycast(session, rayInfo, ref results.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result Raycast(this AndroidRaycast thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan rayInfo, [Count(Count = 0)] RaycastHitResultsANDROID* results) + { + // SpanOverloader + return thisApi.Raycast(session, in rayInfo.GetPinnableReference(), results); + } + + /// To be documented. + public static unsafe Result Raycast(this AndroidRaycast thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan rayInfo, [Count(Count = 0)] Span results) + { + // SpanOverloader + return thisApi.Raycast(session, in rayInfo.GetPinnableReference(), ref results.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackables.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackables.gen.cs new file mode 100644 index 0000000000..1eb55bb2f2 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackables.gen.cs @@ -0,0 +1,171 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_trackables")] + public unsafe partial class AndroidTrackables : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_trackables"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] Space* anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] ref Space anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSpaceCreateInfoANDROID createInfo, [Count(Count = 0)] Space* anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceANDROID", Convention = CallingConvention.Winapi)] + public partial Result CreateAnchorSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSpaceCreateInfoANDROID createInfo, [Count(Count = 0)] ref Space anchorOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateTrackableTrackerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTrackableTracker([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableTrackerCreateInfoANDROID* createInfo, [Count(Count = 0)] TrackableTrackerANDROID* trackableTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateTrackableTrackerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTrackableTracker([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableTrackerCreateInfoANDROID* createInfo, [Count(Count = 0)] ref TrackableTrackerANDROID trackableTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateTrackableTrackerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTrackableTracker([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableTrackerCreateInfoANDROID createInfo, [Count(Count = 0)] TrackableTrackerANDROID* trackableTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateTrackableTrackerANDROID", Convention = CallingConvention.Winapi)] + public partial Result CreateTrackableTracker([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableTrackerCreateInfoANDROID createInfo, [Count(Count = 0)] ref TrackableTrackerANDROID trackableTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyTrackableTrackerANDROID", Convention = CallingConvention.Winapi)] + public partial Result DestroyTrackableTracker([Count(Count = 0)] TrackableTrackerANDROID trackableTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedAnchorTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedAnchorTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedAnchorTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedAnchorTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSupportedTrackableTypesANDROID", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] ref TrackableTypeANDROID trackableTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAllTrackablesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] uint* trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] ulong* trackables); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAllTrackablesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] uint* trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] ref ulong trackables); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAllTrackablesANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] ref uint trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] ulong* trackables); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAllTrackablesANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] ref uint trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] ref ulong trackables); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackablePlaneANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackablePlane([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] TrackablePlaneANDROID* planeOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackablePlaneANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackablePlane([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] ref TrackablePlaneANDROID planeOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackablePlaneANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackablePlane([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] TrackablePlaneANDROID* planeOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackablePlaneANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetTrackablePlane([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] ref TrackablePlaneANDROID planeOutput); + + /// To be documented. + public unsafe Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedAnchorTrackableTypes(instance, systemId, (uint) trackableTypes.Length, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSupportedAnchorTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedAnchorTrackableTypes(instance, systemId, (uint) trackableTypes.Length, ref trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedTrackableTypes(instance, systemId, (uint) trackableTypes.Length, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSupportedTrackableTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSupportedTrackableTypes(instance, systemId, (uint) trackableTypes.Length, ref trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint* trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] Span trackables) + { + // ImplicitCountSpanOverloader + return GetAllTrackables(trackableTracker, (uint) trackables.Length, trackableCountOutput, ref trackables.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetAllTrackables([Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] ref uint trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] Span trackables) + { + // ImplicitCountSpanOverloader + return GetAllTrackables(trackableTracker, (uint) trackables.Length, ref trackableCountOutput, ref trackables.GetPinnableReference()); + } + + public AndroidTrackables(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarker.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarker.gen.cs new file mode 100644 index 0000000000..b0d82aafe7 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarker.gen.cs @@ -0,0 +1,45 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_trackables_marker")] + public unsafe partial class AndroidTrackablesMarker : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_trackables_marker"; + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableMarkerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableMarker([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] TrackableMarkerANDROID* markerOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableMarkerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableMarker([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] ref TrackableMarkerANDROID markerOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableMarkerANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableMarker([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] TrackableMarkerANDROID* markerOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableMarkerANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetTrackableMarker([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] ref TrackableMarkerANDROID markerOutput); + + public AndroidTrackablesMarker(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarkerOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarkerOverloads.gen.cs new file mode 100644 index 0000000000..46e22a7eab --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesMarkerOverloads.gen.cs @@ -0,0 +1,42 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidTrackablesMarkerOverloads + { + /// To be documented. + public static unsafe Result GetTrackableMarker(this AndroidTrackablesMarker thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] Span markerOutput) + { + // SpanOverloader + return thisApi.GetTrackableMarker(tracker, getInfo, ref markerOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTrackableMarker(this AndroidTrackablesMarker thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] TrackableMarkerANDROID* markerOutput) + { + // SpanOverloader + return thisApi.GetTrackableMarker(tracker, in getInfo.GetPinnableReference(), markerOutput); + } + + /// To be documented. + public static unsafe Result GetTrackableMarker(this AndroidTrackablesMarker thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span markerOutput) + { + // SpanOverloader + return thisApi.GetTrackableMarker(tracker, in getInfo.GetPinnableReference(), ref markerOutput.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObject.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObject.gen.cs new file mode 100644 index 0000000000..826bd7bc9e --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObject.gen.cs @@ -0,0 +1,45 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + [Extension("XR_ANDROID_trackables_object")] + public unsafe partial class AndroidTrackablesObject : NativeExtension + { + public const string ExtensionName = "XR_ANDROID_trackables_object"; + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableObjectANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableObject([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] TrackableObjectANDROID* objectOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableObjectANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableObject([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] ref TrackableObjectANDROID objectOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableObjectANDROID", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTrackableObject([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] TrackableObjectANDROID* objectOutput); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetTrackableObjectANDROID", Convention = CallingConvention.Winapi)] + public partial Result GetTrackableObject([Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TrackableGetInfoANDROID getInfo, [Count(Count = 0)] ref TrackableObjectANDROID objectOutput); + + public AndroidTrackablesObject(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObjectOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObjectOverloads.gen.cs new file mode 100644 index 0000000000..dd529f9add --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesObjectOverloads.gen.cs @@ -0,0 +1,42 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidTrackablesObjectOverloads + { + /// To be documented. + public static unsafe Result GetTrackableObject(this AndroidTrackablesObject thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] Span objectOutput) + { + // SpanOverloader + return thisApi.GetTrackableObject(tracker, getInfo, ref objectOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTrackableObject(this AndroidTrackablesObject thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] TrackableObjectANDROID* objectOutput) + { + // SpanOverloader + return thisApi.GetTrackableObject(tracker, in getInfo.GetPinnableReference(), objectOutput); + } + + /// To be documented. + public static unsafe Result GetTrackableObject(this AndroidTrackablesObject thisApi, [Count(Count = 0)] TrackableTrackerANDROID tracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span objectOutput) + { + // SpanOverloader + return thisApi.GetTrackableObject(tracker, in getInfo.GetPinnableReference(), ref objectOutput.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesOverloads.gen.cs new file mode 100644 index 0000000000..d14853ef1b --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ANDROID/AndroidTrackablesOverloads.gen.cs @@ -0,0 +1,147 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ANDROID +{ + public static class AndroidTrackablesOverloads + { + /// To be documented. + public static unsafe Result CreateAnchorSpace(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoANDROID* createInfo, [Count(Count = 0)] Span anchorOutput) + { + // SpanOverloader + return thisApi.CreateAnchorSpace(session, createInfo, ref anchorOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateAnchorSpace(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Space* anchorOutput) + { + // SpanOverloader + return thisApi.CreateAnchorSpace(session, in createInfo.GetPinnableReference(), anchorOutput); + } + + /// To be documented. + public static unsafe Result CreateAnchorSpace(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span anchorOutput) + { + // SpanOverloader + return thisApi.CreateAnchorSpace(session, in createInfo.GetPinnableReference(), ref anchorOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTrackableTracker(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableTrackerCreateInfoANDROID* createInfo, [Count(Count = 0)] Span trackableTracker) + { + // SpanOverloader + return thisApi.CreateTrackableTracker(session, createInfo, ref trackableTracker.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTrackableTracker(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] TrackableTrackerANDROID* trackableTracker) + { + // SpanOverloader + return thisApi.CreateTrackableTracker(session, in createInfo.GetPinnableReference(), trackableTracker); + } + + /// To be documented. + public static unsafe Result CreateTrackableTracker(this AndroidTrackables thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span trackableTracker) + { + // SpanOverloader + return thisApi.CreateTrackableTracker(session, in createInfo.GetPinnableReference(), ref trackableTracker.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedAnchorTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedAnchorTrackableTypes(instance, systemId, trackableTypeCapacityInput, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedAnchorTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedAnchorTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), trackableTypes); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedAnchorTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedAnchorTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] uint* trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, trackableTypeCountOutput, ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] TrackableTypeANDROID* trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), trackableTypes); + } + + /// To be documented. + public static unsafe Result EnumerateSupportedTrackableTypes(this AndroidTrackables thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint trackableTypeCapacityInput, [Count(Count = 0)] Span trackableTypeCountOutput, [Count(Parameter = "trackableTypeCapacityInput")] Span trackableTypes) + { + // SpanOverloader + return thisApi.EnumerateSupportedTrackableTypes(instance, systemId, trackableTypeCapacityInput, ref trackableTypeCountOutput.GetPinnableReference(), ref trackableTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetAllTrackables(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] uint* trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] Span trackables) + { + // SpanOverloader + return thisApi.GetAllTrackables(trackableTracker, trackableCapacityInput, trackableCountOutput, ref trackables.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetAllTrackables(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] Span trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] ulong* trackables) + { + // SpanOverloader + return thisApi.GetAllTrackables(trackableTracker, trackableCapacityInput, ref trackableCountOutput.GetPinnableReference(), trackables); + } + + /// To be documented. + public static unsafe Result GetAllTrackables(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0)] uint trackableCapacityInput, [Count(Count = 0)] Span trackableCountOutput, [Count(Parameter = "trackableCapacityInput")] Span trackables) + { + // SpanOverloader + return thisApi.GetAllTrackables(trackableTracker, trackableCapacityInput, ref trackableCountOutput.GetPinnableReference(), ref trackables.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTrackablePlane(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TrackableGetInfoANDROID* getInfo, [Count(Count = 0)] Span planeOutput) + { + // SpanOverloader + return thisApi.GetTrackablePlane(trackableTracker, getInfo, ref planeOutput.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTrackablePlane(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] TrackablePlaneANDROID* planeOutput) + { + // SpanOverloader + return thisApi.GetTrackablePlane(trackableTracker, in getInfo.GetPinnableReference(), planeOutput); + } + + /// To be documented. + public static unsafe Result GetTrackablePlane(this AndroidTrackables thisApi, [Count(Count = 0)] TrackableTrackerANDROID trackableTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span planeOutput) + { + // SpanOverloader + return thisApi.GetTrackablePlane(trackableTracker, in getInfo.GetPinnableReference(), ref planeOutput.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTracking.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTracking.gen.cs new file mode 100644 index 0000000000..a849554f47 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTracking.gen.cs @@ -0,0 +1,65 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + [Extension("XR_BD_body_tracking")] + public unsafe partial class BDBodyTracking : NativeExtension + { + public const string ExtensionName = "XR_BD_body_tracking"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateBodyTrackerBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateBodyTrackerBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyTrackerCreateInfoBD* createInfo, [Count(Count = 0)] BodyTrackerBD* bodyTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateBodyTrackerBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateBodyTrackerBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyTrackerCreateInfoBD* createInfo, [Count(Count = 0)] ref BodyTrackerBD bodyTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateBodyTrackerBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateBodyTrackerBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BodyTrackerCreateInfoBD createInfo, [Count(Count = 0)] BodyTrackerBD* bodyTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateBodyTrackerBD", Convention = CallingConvention.Winapi)] + public partial Result CreateBodyTrackerBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BodyTrackerCreateInfoBD createInfo, [Count(Count = 0)] ref BodyTrackerBD bodyTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyBodyTrackerBD", Convention = CallingConvention.Winapi)] + public partial Result DestroyBodyTrackerBD([Count(Count = 0)] BodyTrackerBD bodyTracker); + + /// To be documented. + [NativeApi(EntryPoint = "xrLocateBodyJointsBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result LocateBodyJointsBD([Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyJointsLocateInfoBD* locateInfo, [Count(Count = 0)] BodyJointLocationsBD* locations); + + /// To be documented. + [NativeApi(EntryPoint = "xrLocateBodyJointsBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result LocateBodyJointsBD([Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyJointsLocateInfoBD* locateInfo, [Count(Count = 0)] ref BodyJointLocationsBD locations); + + /// To be documented. + [NativeApi(EntryPoint = "xrLocateBodyJointsBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result LocateBodyJointsBD([Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BodyJointsLocateInfoBD locateInfo, [Count(Count = 0)] BodyJointLocationsBD* locations); + + /// To be documented. + [NativeApi(EntryPoint = "xrLocateBodyJointsBD", Convention = CallingConvention.Winapi)] + public partial Result LocateBodyJointsBD([Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BodyJointsLocateInfoBD locateInfo, [Count(Count = 0)] ref BodyJointLocationsBD locations); + + public BDBodyTracking(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTrackingOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTrackingOverloads.gen.cs new file mode 100644 index 0000000000..e703424f00 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDBodyTrackingOverloads.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + public static class BDBodyTrackingOverloads + { + /// To be documented. + public static unsafe Result CreateBodyTrackerBD(this BDBodyTracking thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyTrackerCreateInfoBD* createInfo, [Count(Count = 0)] Span bodyTracker) + { + // SpanOverloader + return thisApi.CreateBodyTrackerBD(session, createInfo, ref bodyTracker.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateBodyTrackerBD(this BDBodyTracking thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] BodyTrackerBD* bodyTracker) + { + // SpanOverloader + return thisApi.CreateBodyTrackerBD(session, in createInfo.GetPinnableReference(), bodyTracker); + } + + /// To be documented. + public static unsafe Result CreateBodyTrackerBD(this BDBodyTracking thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span bodyTracker) + { + // SpanOverloader + return thisApi.CreateBodyTrackerBD(session, in createInfo.GetPinnableReference(), ref bodyTracker.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result LocateBodyJointsBD(this BDBodyTracking thisApi, [Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BodyJointsLocateInfoBD* locateInfo, [Count(Count = 0)] Span locations) + { + // SpanOverloader + return thisApi.LocateBodyJointsBD(bodyTracker, locateInfo, ref locations.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result LocateBodyJointsBD(this BDBodyTracking thisApi, [Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan locateInfo, [Count(Count = 0)] BodyJointLocationsBD* locations) + { + // SpanOverloader + return thisApi.LocateBodyJointsBD(bodyTracker, in locateInfo.GetPinnableReference(), locations); + } + + /// To be documented. + public static unsafe Result LocateBodyJointsBD(this BDBodyTracking thisApi, [Count(Count = 0)] BodyTrackerBD bodyTracker, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan locateInfo, [Count(Count = 0)] Span locations) + { + // SpanOverloader + return thisApi.LocateBodyJointsBD(bodyTracker, in locateInfo.GetPinnableReference(), ref locations.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchor.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchor.gen.cs new file mode 100644 index 0000000000..eb34df371f --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchor.gen.cs @@ -0,0 +1,101 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + [Extension("XR_BD_spatial_anchor")] + public unsafe partial class BDSpatialAnchor : NativeExtension + { + public const string ExtensionName = "XR_BD_spatial_anchor"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] SpatialAnchorCreateCompletionBD* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref SpatialAnchorCreateCompletionBD completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorPersistInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorPersistInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorPersistInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result PersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorPersistInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result PersistSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorUnpersistInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorUnpersistInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorUnpersistInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result UnpersistSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorUnpersistInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result UnpersistSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + public BDSpatialAnchor(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorOverloads.gen.cs new file mode 100644 index 0000000000..a7571e7c49 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorOverloads.gen.cs @@ -0,0 +1,105 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + public static class BDSpatialAnchorOverloads + { + /// To be documented. + public static unsafe Result CreateSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialAnchorAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.CreateSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchorCompleteBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CreateSpatialAnchorCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorPersistInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.PersistSpatialAnchorAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.PersistSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result PersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.PersistSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistSpatialAnchorCompleteBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.PersistSpatialAnchorCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorUnpersistInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.UnpersistSpatialAnchorAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.UnpersistSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialAnchorAsyncBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.UnpersistSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialAnchorCompleteBD(this BDSpatialAnchor thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.UnpersistSpatialAnchorCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharing.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharing.gen.cs new file mode 100644 index 0000000000..e70f1d396a --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharing.gen.cs @@ -0,0 +1,77 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + [Extension("XR_BD_spatial_anchor_sharing")] + public unsafe partial class BDSpatialAnchorSharing : NativeExtension + { + public const string ExtensionName = "XR_BD_spatial_anchor_sharing"; + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result DownloadSharedSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedSpatialAnchorDownloadInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result DownloadSharedSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedSpatialAnchorDownloadInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result DownloadSharedSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SharedSpatialAnchorDownloadInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result DownloadSharedSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SharedSpatialAnchorDownloadInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result DownloadSharedSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrDownloadSharedSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result DownloadSharedSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorShareInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorShareInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorShareInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result ShareSpatialAnchorAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorShareInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result ShareSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrShareSpatialAnchorCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result ShareSpatialAnchorCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + public BDSpatialAnchorSharing(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharingOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharingOverloads.gen.cs new file mode 100644 index 0000000000..e06190696e --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialAnchorSharingOverloads.gen.cs @@ -0,0 +1,77 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + public static class BDSpatialAnchorSharingOverloads + { + /// To be documented. + public static unsafe Result DownloadSharedSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedSpatialAnchorDownloadInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.DownloadSharedSpatialAnchorAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result DownloadSharedSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.DownloadSharedSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result DownloadSharedSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.DownloadSharedSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result DownloadSharedSpatialAnchorCompleteBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.DownloadSharedSpatialAnchorCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result ShareSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorShareInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.ShareSpatialAnchorAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result ShareSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.ShareSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result ShareSpatialAnchorAsyncBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.ShareSpatialAnchorAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result ShareSpatialAnchorCompleteBD(this BDSpatialAnchorSharing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.ShareSpatialAnchorCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialScene.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialScene.gen.cs new file mode 100644 index 0000000000..3aa999c169 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialScene.gen.cs @@ -0,0 +1,53 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + [Extension("XR_BD_spatial_scene")] + public unsafe partial class BDSpatialScene : NativeExtension + { + public const string ExtensionName = "XR_BD_spatial_scene"; + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CaptureSceneAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SceneCaptureInfoBD* info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CaptureSceneAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SceneCaptureInfoBD* info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CaptureSceneAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SceneCaptureInfoBD info, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result CaptureSceneAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SceneCaptureInfoBD info, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CaptureSceneCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCaptureSceneCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result CaptureSceneCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + public BDSpatialScene(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSceneOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSceneOverloads.gen.cs new file mode 100644 index 0000000000..7dde87b9a9 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSceneOverloads.gen.cs @@ -0,0 +1,49 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + public static class BDSpatialSceneOverloads + { + /// To be documented. + public static unsafe Result CaptureSceneAsyncBD(this BDSpatialScene thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SceneCaptureInfoBD* info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CaptureSceneAsyncBD(provider, info, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CaptureSceneAsyncBD(this BDSpatialScene thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.CaptureSceneAsyncBD(provider, in info.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result CaptureSceneAsyncBD(this BDSpatialScene thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CaptureSceneAsyncBD(provider, in info.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CaptureSceneCompleteBD(this BDSpatialScene thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CaptureSceneCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensing.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensing.gen.cs new file mode 100644 index 0000000000..0bb7548049 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensing.gen.cs @@ -0,0 +1,227 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + [Extension("XR_BD_spatial_sensing")] + public unsafe partial class BDSpatialSensing : NativeExtension + { + public const string ExtensionName = "XR_BD_spatial_sensing"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpaceBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoBD* createInfo, [Count(Count = 0)] Space* space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpaceBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoBD* createInfo, [Count(Count = 0)] ref Space space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateAnchorSpaceBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSpaceCreateInfoBD createInfo, [Count(Count = 0)] Space* space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateAnchorSpaceBD", Convention = CallingConvention.Winapi)] + public partial Result CreateAnchorSpaceBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AnchorSpaceCreateInfoBD createInfo, [Count(Count = 0)] ref Space space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSenseDataProviderBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSenseDataProviderBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderCreateInfoBD* createInfo, [Count(Count = 0)] SenseDataProviderBD* provider); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSenseDataProviderBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSenseDataProviderBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderCreateInfoBD* createInfo, [Count(Count = 0)] ref SenseDataProviderBD provider); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSenseDataProviderBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSenseDataProviderBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataProviderCreateInfoBD createInfo, [Count(Count = 0)] SenseDataProviderBD* provider); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSenseDataProviderBD", Convention = CallingConvention.Winapi)] + public partial Result CreateSenseDataProviderBD([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataProviderCreateInfoBD createInfo, [Count(Count = 0)] ref SenseDataProviderBD provider); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityAnchorBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityAnchorBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityAnchorCreateInfoBD* createInfo, [Count(Count = 0)] AnchorBD* anchor); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityAnchorBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityAnchorBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityAnchorCreateInfoBD* createInfo, [Count(Count = 0)] ref AnchorBD anchor); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityAnchorBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityAnchorBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityAnchorCreateInfoBD createInfo, [Count(Count = 0)] AnchorBD* anchor); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityAnchorBD", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialEntityAnchorBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityAnchorCreateInfoBD createInfo, [Count(Count = 0)] ref AnchorBD anchor); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyAnchorBD", Convention = CallingConvention.Winapi)] + public partial Result DestroyAnchorBD([Count(Count = 0)] AnchorBD anchor); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySenseDataProviderBD", Convention = CallingConvention.Winapi)] + public partial Result DestroySenseDataProviderBD([Count(Count = 0)] SenseDataProviderBD provider); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySenseDataSnapshotBD", Convention = CallingConvention.Winapi)] + public partial Result DestroySenseDataSnapshotBD([Count(Count = 0)] SenseDataSnapshotBD snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialEntityComponentTypesBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] uint* componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] SpatialEntityComponentTypeBD* componentTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialEntityComponentTypesBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] uint* componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] ref SpatialEntityComponentTypeBD componentTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialEntityComponentTypesBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] ref uint componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] SpatialEntityComponentTypeBD* componentTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialEntityComponentTypesBD", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] ref uint componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] ref SpatialEntityComponentTypeBD componentTypes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorUuidBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetAnchorUuidBD([Count(Count = 0)] AnchorBD anchor, [Count(Count = 0)] UuidEXT* uuid); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetAnchorUuidBD", Convention = CallingConvention.Winapi)] + public partial Result GetAnchorUuidBD([Count(Count = 0)] AnchorBD anchor, [Count(Count = 0)] ref UuidEXT uuid); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetQueriedSenseDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetQueriedSenseDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] QueriedSenseDataGetInfoBD* getInfo, [Count(Count = 0)] QueriedSenseDataBD* queriedSenseData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetQueriedSenseDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetQueriedSenseDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] QueriedSenseDataGetInfoBD* getInfo, [Count(Count = 0)] ref QueriedSenseDataBD queriedSenseData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetQueriedSenseDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetQueriedSenseDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ref QueriedSenseDataGetInfoBD getInfo, [Count(Count = 0)] QueriedSenseDataBD* queriedSenseData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetQueriedSenseDataBD", Convention = CallingConvention.Winapi)] + public partial Result GetQueriedSenseDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ref QueriedSenseDataGetInfoBD getInfo, [Count(Count = 0)] ref QueriedSenseDataBD queriedSenseData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSenseDataProviderStateBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSenseDataProviderStateBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] SenseDataProviderStateBD* state); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSenseDataProviderStateBD", Convention = CallingConvention.Winapi)] + public partial Result GetSenseDataProviderStateBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] ref SenseDataProviderStateBD state); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityComponentDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialEntityComponentDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityComponentGetInfoBD* getInfo, [Count(Count = 0)] SpatialEntityComponentDataBaseHeaderBD* componentData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityComponentDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialEntityComponentDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityComponentGetInfoBD* getInfo, [Count(Count = 0)] ref SpatialEntityComponentDataBaseHeaderBD componentData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityComponentDataBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialEntityComponentDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityComponentGetInfoBD getInfo, [Count(Count = 0)] SpatialEntityComponentDataBaseHeaderBD* componentData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityComponentDataBD", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialEntityComponentDataBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityComponentGetInfoBD getInfo, [Count(Count = 0)] ref SpatialEntityComponentDataBaseHeaderBD componentData); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityUuidBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialEntityUuidBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] UuidEXT* uuid); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialEntityUuidBD", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialEntityUuidBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] ref UuidEXT uuid); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySenseDataAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataQueryInfoBD* queryInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySenseDataAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataQueryInfoBD* queryInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySenseDataAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataQueryInfoBD queryInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result QuerySenseDataAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataQueryInfoBD queryInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySenseDataCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] SenseDataQueryCompletionBD* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySenseDataCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result QuerySenseDataCompleteBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref SenseDataQueryCompletionBD completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result StartSenseDataProviderAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderStartInfoBD* startInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result StartSenseDataProviderAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderStartInfoBD* startInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderAsyncBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result StartSenseDataProviderAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataProviderStartInfoBD startInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderAsyncBD", Convention = CallingConvention.Winapi)] + public partial Result StartSenseDataProviderAsyncBD([Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SenseDataProviderStartInfoBD startInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderCompleteBD", Convention = CallingConvention.Winapi)] + public unsafe partial Result StartSenseDataProviderCompleteBD([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] FutureCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrStartSenseDataProviderCompleteBD", Convention = CallingConvention.Winapi)] + public partial Result StartSenseDataProviderCompleteBD([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref FutureCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrStopSenseDataProviderBD", Convention = CallingConvention.Winapi)] + public partial Result StopSenseDataProviderBD([Count(Count = 0)] SenseDataProviderBD provider); + + /// To be documented. + public unsafe Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint* componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] Span componentTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialEntityComponentTypesBD(snapshot, entityId, (uint) componentTypes.Length, componentTypeCountOutput, ref componentTypes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSpatialEntityComponentTypesBD([Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] ref uint componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] Span componentTypes) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialEntityComponentTypesBD(snapshot, entityId, (uint) componentTypes.Length, ref componentTypeCountOutput, ref componentTypes.GetPinnableReference()); + } + + public BDSpatialSensing(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensingOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensingOverloads.gen.cs new file mode 100644 index 0000000000..32042921bb --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.BD/BDSpatialSensingOverloads.gen.cs @@ -0,0 +1,224 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.BD +{ + public static class BDSpatialSensingOverloads + { + /// To be documented. + public static unsafe Result CreateAnchorSpaceBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AnchorSpaceCreateInfoBD* createInfo, [Count(Count = 0)] Span space) + { + // SpanOverloader + return thisApi.CreateAnchorSpaceBD(session, createInfo, ref space.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateAnchorSpaceBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Space* space) + { + // SpanOverloader + return thisApi.CreateAnchorSpaceBD(session, in createInfo.GetPinnableReference(), space); + } + + /// To be documented. + public static unsafe Result CreateAnchorSpaceBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span space) + { + // SpanOverloader + return thisApi.CreateAnchorSpaceBD(session, in createInfo.GetPinnableReference(), ref space.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSenseDataProviderBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderCreateInfoBD* createInfo, [Count(Count = 0)] Span provider) + { + // SpanOverloader + return thisApi.CreateSenseDataProviderBD(session, createInfo, ref provider.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSenseDataProviderBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] SenseDataProviderBD* provider) + { + // SpanOverloader + return thisApi.CreateSenseDataProviderBD(session, in createInfo.GetPinnableReference(), provider); + } + + /// To be documented. + public static unsafe Result CreateSenseDataProviderBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span provider) + { + // SpanOverloader + return thisApi.CreateSenseDataProviderBD(session, in createInfo.GetPinnableReference(), ref provider.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityAnchorBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityAnchorCreateInfoBD* createInfo, [Count(Count = 0)] Span anchor) + { + // SpanOverloader + return thisApi.CreateSpatialEntityAnchorBD(provider, createInfo, ref anchor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityAnchorBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] AnchorBD* anchor) + { + // SpanOverloader + return thisApi.CreateSpatialEntityAnchorBD(provider, in createInfo.GetPinnableReference(), anchor); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityAnchorBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span anchor) + { + // SpanOverloader + return thisApi.CreateSpatialEntityAnchorBD(provider, in createInfo.GetPinnableReference(), ref anchor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialEntityComponentTypesBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] uint* componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] Span componentTypes) + { + // SpanOverloader + return thisApi.EnumerateSpatialEntityComponentTypesBD(snapshot, entityId, componentTypeCapacityInput, componentTypeCountOutput, ref componentTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialEntityComponentTypesBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] Span componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] SpatialEntityComponentTypeBD* componentTypes) + { + // SpanOverloader + return thisApi.EnumerateSpatialEntityComponentTypesBD(snapshot, entityId, componentTypeCapacityInput, ref componentTypeCountOutput.GetPinnableReference(), componentTypes); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialEntityComponentTypesBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] uint componentTypeCapacityInput, [Count(Count = 0)] Span componentTypeCountOutput, [Count(Parameter = "componentTypeCapacityInput")] Span componentTypes) + { + // SpanOverloader + return thisApi.EnumerateSpatialEntityComponentTypesBD(snapshot, entityId, componentTypeCapacityInput, ref componentTypeCountOutput.GetPinnableReference(), ref componentTypes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetAnchorUuidBD(this BDSpatialSensing thisApi, [Count(Count = 0)] AnchorBD anchor, [Count(Count = 0)] Span uuid) + { + // SpanOverloader + return thisApi.GetAnchorUuidBD(anchor, ref uuid.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetQueriedSenseDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] QueriedSenseDataGetInfoBD* getInfo, [Count(Count = 0)] Span queriedSenseData) + { + // SpanOverloader + return thisApi.GetQueriedSenseDataBD(snapshot, getInfo, ref queriedSenseData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetQueriedSenseDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] Span getInfo, [Count(Count = 0)] QueriedSenseDataBD* queriedSenseData) + { + // SpanOverloader + return thisApi.GetQueriedSenseDataBD(snapshot, ref getInfo.GetPinnableReference(), queriedSenseData); + } + + /// To be documented. + public static unsafe Result GetQueriedSenseDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] Span getInfo, [Count(Count = 0)] Span queriedSenseData) + { + // SpanOverloader + return thisApi.GetQueriedSenseDataBD(snapshot, ref getInfo.GetPinnableReference(), ref queriedSenseData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSenseDataProviderStateBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] Span state) + { + // SpanOverloader + return thisApi.GetSenseDataProviderStateBD(provider, ref state.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialEntityComponentDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityComponentGetInfoBD* getInfo, [Count(Count = 0)] Span componentData) + { + // SpanOverloader + return thisApi.GetSpatialEntityComponentDataBD(snapshot, getInfo, ref componentData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialEntityComponentDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] SpatialEntityComponentDataBaseHeaderBD* componentData) + { + // SpanOverloader + return thisApi.GetSpatialEntityComponentDataBD(snapshot, in getInfo.GetPinnableReference(), componentData); + } + + /// To be documented. + public static unsafe Result GetSpatialEntityComponentDataBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span componentData) + { + // SpanOverloader + return thisApi.GetSpatialEntityComponentDataBD(snapshot, in getInfo.GetPinnableReference(), ref componentData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialEntityUuidBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataSnapshotBD snapshot, [Count(Count = 0)] ulong entityId, [Count(Count = 0)] Span uuid) + { + // SpanOverloader + return thisApi.GetSpatialEntityUuidBD(snapshot, entityId, ref uuid.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result QuerySenseDataAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataQueryInfoBD* queryInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.QuerySenseDataAsyncBD(provider, queryInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result QuerySenseDataAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan queryInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.QuerySenseDataAsyncBD(provider, in queryInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result QuerySenseDataAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan queryInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.QuerySenseDataAsyncBD(provider, in queryInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result QuerySenseDataCompleteBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.QuerySenseDataCompleteBD(provider, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result StartSenseDataProviderAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SenseDataProviderStartInfoBD* startInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.StartSenseDataProviderAsyncBD(provider, startInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result StartSenseDataProviderAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan startInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.StartSenseDataProviderAsyncBD(provider, in startInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result StartSenseDataProviderAsyncBD(this BDSpatialSensing thisApi, [Count(Count = 0)] SenseDataProviderBD provider, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan startInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.StartSenseDataProviderAsyncBD(provider, in startInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result StartSenseDataProviderCompleteBD(this BDSpatialSensing thisApi, [Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.StartSenseDataProviderCompleteBD(session, future, ref completion.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModel.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModel.gen.cs new file mode 100644 index 0000000000..a6305f47a4 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModel.gen.cs @@ -0,0 +1,165 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_interaction_render_model")] + public unsafe partial class ExtInteractionRenderModel : NativeExtension + { + public const string ExtensionName = "XR_EXT_interaction_render_model"; + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ref ulong renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ref ulong renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ref ulong renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateInteractionRenderModelIdsEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ref ulong renderModelIds); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] ref ulong paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] ref ulong paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] ref ulong paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateRenderModelSubactionPathsEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] ref ulong paths); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPoseTopLevelUserPathEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelPoseTopLevelUserPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelTopLevelUserPathGetInfoEXT* info, [Count(Count = 0)] ulong* topLevelUserPath); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPoseTopLevelUserPathEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelPoseTopLevelUserPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelTopLevelUserPathGetInfoEXT* info, [Count(Count = 0)] ref ulong topLevelUserPath); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPoseTopLevelUserPathEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelPoseTopLevelUserPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelTopLevelUserPathGetInfoEXT info, [Count(Count = 0)] ulong* topLevelUserPath); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPoseTopLevelUserPathEXT", Convention = CallingConvention.Winapi)] + public partial Result GetRenderModelPoseTopLevelUserPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelTopLevelUserPathGetInfoEXT info, [Count(Count = 0)] ref ulong topLevelUserPath); + + /// To be documented. + public unsafe Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // ImplicitCountSpanOverloader + return EnumerateInteractionRenderModelIds(session, getInfo, (uint) renderModelIds.Length, renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // ImplicitCountSpanOverloader + return EnumerateInteractionRenderModelIds(session, getInfo, (uint) renderModelIds.Length, ref renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // ImplicitCountSpanOverloader + return EnumerateInteractionRenderModelIds(session, in getInfo, (uint) renderModelIds.Length, renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateInteractionRenderModelIds([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelIdsEnumerateInfoEXT getInfo, [Count(Count = 0)] ref uint renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // ImplicitCountSpanOverloader + return EnumerateInteractionRenderModelIds(session, in getInfo, (uint) renderModelIds.Length, ref renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // ImplicitCountSpanOverloader + return EnumerateRenderModelSubactionPath(renderModel, info, (uint) paths.Length, pathCountOutput, ref paths.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // ImplicitCountSpanOverloader + return EnumerateRenderModelSubactionPath(renderModel, info, (uint) paths.Length, ref pathCountOutput, ref paths.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // ImplicitCountSpanOverloader + return EnumerateRenderModelSubactionPath(renderModel, in info, (uint) paths.Length, pathCountOutput, ref paths.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateRenderModelSubactionPath([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in InteractionRenderModelSubactionPathInfoEXT info, [Count(Count = 0)] ref uint pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // ImplicitCountSpanOverloader + return EnumerateRenderModelSubactionPath(renderModel, in info, (uint) paths.Length, ref pathCountOutput, ref paths.GetPinnableReference()); + } + + public ExtInteractionRenderModel(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModelOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModelOverloads.gen.cs new file mode 100644 index 0000000000..b75b0e15be --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtInteractionRenderModelOverloads.gen.cs @@ -0,0 +1,140 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtInteractionRenderModelOverloads + { + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, getInfo, renderModelIdCapacityInput, renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] Span renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, getInfo, renderModelIdCapacityInput, ref renderModelIdCountOutput.GetPinnableReference(), renderModelIds); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelIdsEnumerateInfoEXT* getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] Span renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, getInfo, renderModelIdCapacityInput, ref renderModelIdCountOutput.GetPinnableReference(), ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, in getInfo.GetPinnableReference(), renderModelIdCapacityInput, renderModelIdCountOutput, renderModelIds); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] uint* renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, in getInfo.GetPinnableReference(), renderModelIdCapacityInput, renderModelIdCountOutput, ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] Span renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] ulong* renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, in getInfo.GetPinnableReference(), renderModelIdCapacityInput, ref renderModelIdCountOutput.GetPinnableReference(), renderModelIds); + } + + /// To be documented. + public static unsafe Result EnumerateInteractionRenderModelIds(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] uint renderModelIdCapacityInput, [Count(Count = 0)] Span renderModelIdCountOutput, [Count(Parameter = "renderModelIdCapacityInput")] Span renderModelIds) + { + // SpanOverloader + return thisApi.EnumerateInteractionRenderModelIds(session, in getInfo.GetPinnableReference(), renderModelIdCapacityInput, ref renderModelIdCountOutput.GetPinnableReference(), ref renderModelIds.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, info, pathCapacityInput, pathCountOutput, ref paths.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] Span pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, info, pathCapacityInput, ref pathCountOutput.GetPinnableReference(), paths); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelSubactionPathInfoEXT* info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] Span pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, info, pathCapacityInput, ref pathCountOutput.GetPinnableReference(), ref paths.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, in info.GetPinnableReference(), pathCapacityInput, pathCountOutput, paths); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] uint* pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, in info.GetPinnableReference(), pathCapacityInput, pathCountOutput, ref paths.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] Span pathCountOutput, [Count(Parameter = "pathCapacityInput")] ulong* paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, in info.GetPinnableReference(), pathCapacityInput, ref pathCountOutput.GetPinnableReference(), paths); + } + + /// To be documented. + public static unsafe Result EnumerateRenderModelSubactionPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint pathCapacityInput, [Count(Count = 0)] Span pathCountOutput, [Count(Parameter = "pathCapacityInput")] Span paths) + { + // SpanOverloader + return thisApi.EnumerateRenderModelSubactionPath(renderModel, in info.GetPinnableReference(), pathCapacityInput, ref pathCountOutput.GetPinnableReference(), ref paths.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelPoseTopLevelUserPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] InteractionRenderModelTopLevelUserPathGetInfoEXT* info, [Count(Count = 0)] Span topLevelUserPath) + { + // SpanOverloader + return thisApi.GetRenderModelPoseTopLevelUserPath(renderModel, info, ref topLevelUserPath.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelPoseTopLevelUserPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] ulong* topLevelUserPath) + { + // SpanOverloader + return thisApi.GetRenderModelPoseTopLevelUserPath(renderModel, in info.GetPinnableReference(), topLevelUserPath); + } + + /// To be documented. + public static unsafe Result GetRenderModelPoseTopLevelUserPath(this ExtInteractionRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span topLevelUserPath) + { + // SpanOverloader + return thisApi.GetRenderModelPoseTopLevelUserPath(renderModel, in info.GetPinnableReference(), ref topLevelUserPath.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModel.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModel.gen.cs new file mode 100644 index 0000000000..d9bafada9b --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModel.gen.cs @@ -0,0 +1,149 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_render_model")] + public unsafe partial class ExtRenderModel : NativeExtension + { + public const string ExtensionName = "XR_EXT_render_model"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModel([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelCreateInfoEXT* createInfo, [Count(Count = 0)] RenderModelEXT* renderModel); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModel([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelCreateInfoEXT* createInfo, [Count(Count = 0)] ref RenderModelEXT renderModel); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModel([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelCreateInfoEXT createInfo, [Count(Count = 0)] RenderModelEXT* renderModel); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateRenderModel([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelCreateInfoEXT createInfo, [Count(Count = 0)] ref RenderModelEXT renderModel); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelAssetEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelAsset([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetCreateInfoEXT* createInfo, [Count(Count = 0)] RenderModelAssetEXT* asset); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelAssetEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelAsset([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetCreateInfoEXT* createInfo, [Count(Count = 0)] ref RenderModelAssetEXT asset); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelAssetEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelAsset([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetCreateInfoEXT createInfo, [Count(Count = 0)] RenderModelAssetEXT* asset); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelAssetEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateRenderModelAsset([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetCreateInfoEXT createInfo, [Count(Count = 0)] ref RenderModelAssetEXT asset); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelSpaceEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelSpaceCreateInfoEXT* createInfo, [Count(Count = 0)] Space* space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelSpaceEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelSpaceCreateInfoEXT* createInfo, [Count(Count = 0)] ref Space space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelSpaceEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateRenderModelSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelSpaceCreateInfoEXT createInfo, [Count(Count = 0)] Space* space); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateRenderModelSpaceEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateRenderModelSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelSpaceCreateInfoEXT createInfo, [Count(Count = 0)] ref Space space); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyRenderModelEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroyRenderModel([Count(Count = 0)] RenderModelEXT renderModel); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyRenderModelAssetEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroyRenderModelAsset([Count(Count = 0)] RenderModelAssetEXT asset); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetData([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetDataGetInfoEXT* getInfo, [Count(Count = 0)] RenderModelAssetDataEXT* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetData([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetDataGetInfoEXT* getInfo, [Count(Count = 0)] ref RenderModelAssetDataEXT buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetData([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetDataGetInfoEXT getInfo, [Count(Count = 0)] RenderModelAssetDataEXT* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetDataEXT", Convention = CallingConvention.Winapi)] + public partial Result GetRenderModelAssetData([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetDataGetInfoEXT getInfo, [Count(Count = 0)] ref RenderModelAssetDataEXT buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetProperties([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] RenderModelAssetPropertiesEXT* properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetProperties([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] ref RenderModelAssetPropertiesEXT properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelAssetProperties([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetPropertiesGetInfoEXT getInfo, [Count(Count = 0)] RenderModelAssetPropertiesEXT* properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelAssetPropertiesEXT", Convention = CallingConvention.Winapi)] + public partial Result GetRenderModelAssetProperties([Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelAssetPropertiesGetInfoEXT getInfo, [Count(Count = 0)] ref RenderModelAssetPropertiesEXT properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelProperties([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] RenderModelPropertiesEXT* properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelProperties([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] ref RenderModelPropertiesEXT properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelProperties([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelPropertiesGetInfoEXT getInfo, [Count(Count = 0)] RenderModelPropertiesEXT* properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelPropertiesEXT", Convention = CallingConvention.Winapi)] + public partial Result GetRenderModelProperties([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelPropertiesGetInfoEXT getInfo, [Count(Count = 0)] ref RenderModelPropertiesEXT properties); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelStateEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelState([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelStateGetInfoEXT* getInfo, [Count(Count = 0)] RenderModelStateEXT* state); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelStateEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelState([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelStateGetInfoEXT* getInfo, [Count(Count = 0)] ref RenderModelStateEXT state); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelStateEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetRenderModelState([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelStateGetInfoEXT getInfo, [Count(Count = 0)] RenderModelStateEXT* state); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetRenderModelStateEXT", Convention = CallingConvention.Winapi)] + public partial Result GetRenderModelState([Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderModelStateGetInfoEXT getInfo, [Count(Count = 0)] ref RenderModelStateEXT state); + + public ExtRenderModel(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModelOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModelOverloads.gen.cs new file mode 100644 index 0000000000..d4a7ce8d55 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtRenderModelOverloads.gen.cs @@ -0,0 +1,168 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtRenderModelOverloads + { + /// To be documented. + public static unsafe Result CreateRenderModel(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelCreateInfoEXT* createInfo, [Count(Count = 0)] Span renderModel) + { + // SpanOverloader + return thisApi.CreateRenderModel(session, createInfo, ref renderModel.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateRenderModel(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] RenderModelEXT* renderModel) + { + // SpanOverloader + return thisApi.CreateRenderModel(session, in createInfo.GetPinnableReference(), renderModel); + } + + /// To be documented. + public static unsafe Result CreateRenderModel(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span renderModel) + { + // SpanOverloader + return thisApi.CreateRenderModel(session, in createInfo.GetPinnableReference(), ref renderModel.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateRenderModelAsset(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetCreateInfoEXT* createInfo, [Count(Count = 0)] Span asset) + { + // SpanOverloader + return thisApi.CreateRenderModelAsset(session, createInfo, ref asset.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateRenderModelAsset(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] RenderModelAssetEXT* asset) + { + // SpanOverloader + return thisApi.CreateRenderModelAsset(session, in createInfo.GetPinnableReference(), asset); + } + + /// To be documented. + public static unsafe Result CreateRenderModelAsset(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span asset) + { + // SpanOverloader + return thisApi.CreateRenderModelAsset(session, in createInfo.GetPinnableReference(), ref asset.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateRenderModelSpace(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelSpaceCreateInfoEXT* createInfo, [Count(Count = 0)] Span space) + { + // SpanOverloader + return thisApi.CreateRenderModelSpace(session, createInfo, ref space.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateRenderModelSpace(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Space* space) + { + // SpanOverloader + return thisApi.CreateRenderModelSpace(session, in createInfo.GetPinnableReference(), space); + } + + /// To be documented. + public static unsafe Result CreateRenderModelSpace(this ExtRenderModel thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span space) + { + // SpanOverloader + return thisApi.CreateRenderModelSpace(session, in createInfo.GetPinnableReference(), ref space.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetData(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetDataGetInfoEXT* getInfo, [Count(Count = 0)] Span buffer) + { + // SpanOverloader + return thisApi.GetRenderModelAssetData(asset, getInfo, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetData(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] RenderModelAssetDataEXT* buffer) + { + // SpanOverloader + return thisApi.GetRenderModelAssetData(asset, in getInfo.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetData(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span buffer) + { + // SpanOverloader + return thisApi.GetRenderModelAssetData(asset, in getInfo.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelAssetPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] Span properties) + { + // SpanOverloader + return thisApi.GetRenderModelAssetProperties(asset, getInfo, ref properties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] RenderModelAssetPropertiesEXT* properties) + { + // SpanOverloader + return thisApi.GetRenderModelAssetProperties(asset, in getInfo.GetPinnableReference(), properties); + } + + /// To be documented. + public static unsafe Result GetRenderModelAssetProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelAssetEXT asset, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span properties) + { + // SpanOverloader + return thisApi.GetRenderModelAssetProperties(asset, in getInfo.GetPinnableReference(), ref properties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelPropertiesGetInfoEXT* getInfo, [Count(Count = 0)] Span properties) + { + // SpanOverloader + return thisApi.GetRenderModelProperties(renderModel, getInfo, ref properties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] RenderModelPropertiesEXT* properties) + { + // SpanOverloader + return thisApi.GetRenderModelProperties(renderModel, in getInfo.GetPinnableReference(), properties); + } + + /// To be documented. + public static unsafe Result GetRenderModelProperties(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span properties) + { + // SpanOverloader + return thisApi.GetRenderModelProperties(renderModel, in getInfo.GetPinnableReference(), ref properties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelState(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderModelStateGetInfoEXT* getInfo, [Count(Count = 0)] Span state) + { + // SpanOverloader + return thisApi.GetRenderModelState(renderModel, getInfo, ref state.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetRenderModelState(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] RenderModelStateEXT* state) + { + // SpanOverloader + return thisApi.GetRenderModelState(renderModel, in getInfo.GetPinnableReference(), state); + } + + /// To be documented. + public static unsafe Result GetRenderModelState(this ExtRenderModel thisApi, [Count(Count = 0)] RenderModelEXT renderModel, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan getInfo, [Count(Count = 0)] Span state) + { + // SpanOverloader + return thisApi.GetRenderModelState(renderModel, in getInfo.GetPinnableReference(), ref state.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchor.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchor.gen.cs new file mode 100644 index 0000000000..86cd56a885 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchor.gen.cs @@ -0,0 +1,61 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_spatial_anchor")] + public unsafe partial class ExtSpatialAnchor : NativeExtension + { + public const string ExtensionName = "XR_EXT_spatial_anchor"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] ref SpatialEntityEXT anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] ref ulong anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] ref ulong anchorEntityId, [Count(Count = 0)] ref SpatialEntityEXT anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoEXT createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoEXT createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] ref SpatialEntityEXT anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoEXT createInfo, [Count(Count = 0)] ref ulong anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialAnchorEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialAnchor([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialAnchorCreateInfoEXT createInfo, [Count(Count = 0)] ref ulong anchorEntityId, [Count(Count = 0)] ref SpatialEntityEXT anchorEntity); + + public ExtSpatialAnchor(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchorOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchorOverloads.gen.cs new file mode 100644 index 0000000000..78fa54a022 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialAnchorOverloads.gen.cs @@ -0,0 +1,70 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtSpatialAnchorOverloads + { + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] Span anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, createInfo, anchorEntityId, ref anchorEntity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] Span anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, createInfo, ref anchorEntityId.GetPinnableReference(), anchorEntity); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialAnchorCreateInfoEXT* createInfo, [Count(Count = 0)] Span anchorEntityId, [Count(Count = 0)] Span anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, createInfo, ref anchorEntityId.GetPinnableReference(), ref anchorEntity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, in createInfo.GetPinnableReference(), anchorEntityId, anchorEntity); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] ulong* anchorEntityId, [Count(Count = 0)] Span anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, in createInfo.GetPinnableReference(), anchorEntityId, ref anchorEntity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span anchorEntityId, [Count(Count = 0)] SpatialEntityEXT* anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, in createInfo.GetPinnableReference(), ref anchorEntityId.GetPinnableReference(), anchorEntity); + } + + /// To be documented. + public static unsafe Result CreateSpatialAnchor(this ExtSpatialAnchor thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span anchorEntityId, [Count(Count = 0)] Span anchorEntity) + { + // SpanOverloader + return thisApi.CreateSpatialAnchor(spatialContext, in createInfo.GetPinnableReference(), ref anchorEntityId.GetPinnableReference(), ref anchorEntity.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntity.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntity.gen.cs new file mode 100644 index 0000000000..e45ddcea8d --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntity.gen.cs @@ -0,0 +1,665 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_spatial_entity")] + public unsafe partial class ExtSpatialEntity : NativeExtension + { + public const string ExtensionName = "XR_EXT_spatial_entity"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialContextCreateInfoEXT* createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialContextCreateInfoEXT* createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialContextCreateInfoEXT createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextAsyncEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialContextCreateInfoEXT createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialContextComplete([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] CreateSpatialContextCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialContextCompleteEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialContextComplete([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref CreateSpatialContextCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotAsync([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialDiscoverySnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotAsync([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialDiscoverySnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotAsync([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialDiscoverySnapshotCreateInfoEXT createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotAsyncEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialDiscoverySnapshotAsync([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialDiscoverySnapshotCreateInfoEXT createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotComplete([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CreateSpatialDiscoverySnapshotCompletionInfoEXT* createSnapshotCompletionInfo, [Count(Count = 0)] CreateSpatialDiscoverySnapshotCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotComplete([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CreateSpatialDiscoverySnapshotCompletionInfoEXT* createSnapshotCompletionInfo, [Count(Count = 0)] ref CreateSpatialDiscoverySnapshotCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialDiscoverySnapshotComplete([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CreateSpatialDiscoverySnapshotCompletionInfoEXT createSnapshotCompletionInfo, [Count(Count = 0)] CreateSpatialDiscoverySnapshotCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialDiscoverySnapshotCompleteEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialDiscoverySnapshotComplete([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CreateSpatialDiscoverySnapshotCompletionInfoEXT createSnapshotCompletionInfo, [Count(Count = 0)] ref CreateSpatialDiscoverySnapshotCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityFromIdEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityFromId([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityFromIdCreateInfoEXT* createInfo, [Count(Count = 0)] SpatialEntityEXT* spatialEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityFromIdEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityFromId([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityFromIdCreateInfoEXT* createInfo, [Count(Count = 0)] ref SpatialEntityEXT spatialEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityFromIdEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialEntityFromId([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityFromIdCreateInfoEXT createInfo, [Count(Count = 0)] SpatialEntityEXT* spatialEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialEntityFromIdEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialEntityFromId([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityFromIdCreateInfoEXT createInfo, [Count(Count = 0)] ref SpatialEntityEXT spatialEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialUpdateSnapshotEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialUpdateSnapshot([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialUpdateSnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] SpatialSnapshotEXT* snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialUpdateSnapshotEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialUpdateSnapshot([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialUpdateSnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] ref SpatialSnapshotEXT snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialUpdateSnapshotEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialUpdateSnapshot([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialUpdateSnapshotCreateInfoEXT createInfo, [Count(Count = 0)] SpatialSnapshotEXT* snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialUpdateSnapshotEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialUpdateSnapshot([Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialUpdateSnapshotCreateInfoEXT createInfo, [Count(Count = 0)] ref SpatialSnapshotEXT snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySpatialContextEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroySpatialContext([Count(Count = 0)] SpatialContextEXT spatialContext); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySpatialEntityEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroySpatialEntity([Count(Count = 0)] SpatialEntityEXT spatialEntity); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySpatialSnapshotEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroySpatialSnapshot([Count(Count = 0)] SpatialSnapshotEXT snapshot); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilitiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] uint* capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] SpatialCapabilityEXT* capabilities); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilitiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] uint* capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] ref SpatialCapabilityEXT capabilities); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilitiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] ref uint capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] SpatialCapabilityEXT* capabilities); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilitiesEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] ref uint capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] ref SpatialCapabilityEXT capabilities); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityComponentTypesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilityComponentTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] SpatialCapabilityComponentTypesEXT* capabilityComponents); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityComponentTypesEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSpatialCapabilityComponentTypes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] ref SpatialCapabilityComponentTypesEXT capabilityComponents); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityFeaturesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] uint* capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] SpatialCapabilityFeatureEXT* capabilityFeatures); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityFeaturesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] uint* capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] ref SpatialCapabilityFeatureEXT capabilityFeatures); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityFeaturesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] ref uint capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] SpatialCapabilityFeatureEXT* capabilityFeatures); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialCapabilityFeaturesEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] ref uint capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] ref SpatialCapabilityFeatureEXT capabilityFeatures); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref float buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref float buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref float buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferFloatEXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref float buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferStringEXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref ushort buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref ushort buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref ushort buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint16EXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref ushort buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref uint buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref uint buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref uint buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint32EXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref uint buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferUint8EXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector2f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector2f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector2f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector2fEXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector2f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector3f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector3f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector3f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetSpatialBufferVector3fEXT", Convention = CallingConvention.Winapi)] + public partial Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ref Vector3f buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySpatialComponentDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySpatialComponentData([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialComponentDataQueryConditionEXT* queryCondition, [Count(Count = 0)] SpatialComponentDataQueryResultEXT* queryResult); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySpatialComponentDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySpatialComponentData([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialComponentDataQueryConditionEXT* queryCondition, [Count(Count = 0)] ref SpatialComponentDataQueryResultEXT queryResult); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySpatialComponentDataEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result QuerySpatialComponentData([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialComponentDataQueryConditionEXT queryCondition, [Count(Count = 0)] SpatialComponentDataQueryResultEXT* queryResult); + + /// To be documented. + [NativeApi(EntryPoint = "xrQuerySpatialComponentDataEXT", Convention = CallingConvention.Winapi)] + public partial Result QuerySpatialComponentData([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialComponentDataQueryConditionEXT queryCondition, [Count(Count = 0)] ref SpatialComponentDataQueryResultEXT queryResult); + + /// To be documented. + public unsafe Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] Span capabilities) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialCapabilities(instance, systemId, (uint) capabilities.Length, capabilityCountOutput, ref capabilities.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSpatialCapabilities([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] Span capabilities) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialCapabilities(instance, systemId, (uint) capabilities.Length, ref capabilityCountOutput, ref capabilities.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint* capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] Span capabilityFeatures) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialCapabilityFeatures(instance, systemId, capability, (uint) capabilityFeatures.Length, capabilityFeatureCountOutput, ref capabilityFeatures.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSpatialCapabilityFeatures([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] ref uint capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] Span capabilityFeatures) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialCapabilityFeatures(instance, systemId, capability, (uint) capabilityFeatures.Length, ref capabilityFeatureCountOutput, ref capabilityFeatures.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferFloat(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferFloat(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferFloat(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferFloat([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferFloat(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferString(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferString(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferString(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferString([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferString(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint16(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint16(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint16(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint16([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint16(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint32(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint32(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint32(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint32([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint32(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint8(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint8(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint8(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferUint8([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferUint8(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector2(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector2(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector2(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector2([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector2(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector3(snapshot, info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector3(snapshot, info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector3(snapshot, in info, (uint) buffer.Length, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetSpatialBufferVector3([Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialBufferGetInfoEXT info, [Count(Count = 0)] ref uint bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // ImplicitCountSpanOverloader + return GetSpatialBufferVector3(snapshot, in info, (uint) buffer.Length, ref bufferCountOutput, ref buffer.GetPinnableReference()); + } + + public ExtSpatialEntity(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntityOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntityOverloads.gen.cs new file mode 100644 index 0000000000..c0ad4a9667 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialEntityOverloads.gen.cs @@ -0,0 +1,588 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtSpatialEntityOverloads + { + /// To be documented. + public static unsafe Result CreateSpatialContextAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialContextCreateInfoEXT* createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialContextAsync(session, createInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialContextAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.CreateSpatialContextAsync(session, in createInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result CreateSpatialContextAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialContextAsync(session, in createInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialContextComplete(this ExtSpatialEntity thisApi, [Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CreateSpatialContextComplete(session, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialDiscoverySnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotAsync(spatialContext, createInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotAsync(spatialContext, in createInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotAsync(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotAsync(spatialContext, in createInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotComplete(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CreateSpatialDiscoverySnapshotCompletionInfoEXT* createSnapshotCompletionInfo, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotComplete(spatialContext, createSnapshotCompletionInfo, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotComplete(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createSnapshotCompletionInfo, [Count(Count = 0)] CreateSpatialDiscoverySnapshotCompletionEXT* completion) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotComplete(spatialContext, in createSnapshotCompletionInfo.GetPinnableReference(), completion); + } + + /// To be documented. + public static unsafe Result CreateSpatialDiscoverySnapshotComplete(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createSnapshotCompletionInfo, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CreateSpatialDiscoverySnapshotComplete(spatialContext, in createSnapshotCompletionInfo.GetPinnableReference(), ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityFromId(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityFromIdCreateInfoEXT* createInfo, [Count(Count = 0)] Span spatialEntity) + { + // SpanOverloader + return thisApi.CreateSpatialEntityFromId(spatialContext, createInfo, ref spatialEntity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityFromId(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] SpatialEntityEXT* spatialEntity) + { + // SpanOverloader + return thisApi.CreateSpatialEntityFromId(spatialContext, in createInfo.GetPinnableReference(), spatialEntity); + } + + /// To be documented. + public static unsafe Result CreateSpatialEntityFromId(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span spatialEntity) + { + // SpanOverloader + return thisApi.CreateSpatialEntityFromId(spatialContext, in createInfo.GetPinnableReference(), ref spatialEntity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialUpdateSnapshot(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialUpdateSnapshotCreateInfoEXT* createInfo, [Count(Count = 0)] Span snapshot) + { + // SpanOverloader + return thisApi.CreateSpatialUpdateSnapshot(spatialContext, createInfo, ref snapshot.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialUpdateSnapshot(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] SpatialSnapshotEXT* snapshot) + { + // SpanOverloader + return thisApi.CreateSpatialUpdateSnapshot(spatialContext, in createInfo.GetPinnableReference(), snapshot); + } + + /// To be documented. + public static unsafe Result CreateSpatialUpdateSnapshot(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialContextEXT spatialContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span snapshot) + { + // SpanOverloader + return thisApi.CreateSpatialUpdateSnapshot(spatialContext, in createInfo.GetPinnableReference(), ref snapshot.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilities(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] uint* capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] Span capabilities) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilities(instance, systemId, capabilityCapacityInput, capabilityCountOutput, ref capabilities.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilities(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] Span capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] SpatialCapabilityEXT* capabilities) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilities(instance, systemId, capabilityCapacityInput, ref capabilityCountOutput.GetPinnableReference(), capabilities); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilities(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint capabilityCapacityInput, [Count(Count = 0)] Span capabilityCountOutput, [Count(Parameter = "capabilityCapacityInput")] Span capabilities) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilities(instance, systemId, capabilityCapacityInput, ref capabilityCountOutput.GetPinnableReference(), ref capabilities.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilityComponentTypes(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] Span capabilityComponents) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilityComponentTypes(instance, systemId, capability, ref capabilityComponents.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilityFeatures(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] uint* capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] Span capabilityFeatures) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilityFeatures(instance, systemId, capability, capabilityFeatureCapacityInput, capabilityFeatureCountOutput, ref capabilityFeatures.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilityFeatures(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] Span capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] SpatialCapabilityFeatureEXT* capabilityFeatures) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilityFeatures(instance, systemId, capability, capabilityFeatureCapacityInput, ref capabilityFeatureCountOutput.GetPinnableReference(), capabilityFeatures); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialCapabilityFeatures(this ExtSpatialEntity thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] SpatialCapabilityEXT capability, [Count(Count = 0)] uint capabilityFeatureCapacityInput, [Count(Count = 0)] Span capabilityFeatureCountOutput, [Count(Parameter = "capabilityFeatureCapacityInput")] Span capabilityFeatures) + { + // SpanOverloader + return thisApi.EnumerateSpatialCapabilityFeatures(instance, systemId, capability, capabilityFeatureCapacityInput, ref capabilityFeatureCountOutput.GetPinnableReference(), ref capabilityFeatures.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] float* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferFloat(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferFloat(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferString(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferString(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] ushort* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint16(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint16(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] uint* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint32(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint32(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferUint8(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferUint8(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector2f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector2(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector2(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, info, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialBufferGetInfoEXT* info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, info, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, in info.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Vector3f* buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); + } + + /// To be documented. + public static unsafe Result GetSpatialBufferVector3(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span buffer) + { + // SpanOverloader + return thisApi.GetSpatialBufferVector3(snapshot, in info.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result QuerySpatialComponentData(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialComponentDataQueryConditionEXT* queryCondition, [Count(Count = 0)] Span queryResult) + { + // SpanOverloader + return thisApi.QuerySpatialComponentData(snapshot, queryCondition, ref queryResult.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result QuerySpatialComponentData(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan queryCondition, [Count(Count = 0)] SpatialComponentDataQueryResultEXT* queryResult) + { + // SpanOverloader + return thisApi.QuerySpatialComponentData(snapshot, in queryCondition.GetPinnableReference(), queryResult); + } + + /// To be documented. + public static unsafe Result QuerySpatialComponentData(this ExtSpatialEntity thisApi, [Count(Count = 0)] SpatialSnapshotEXT snapshot, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan queryCondition, [Count(Count = 0)] Span queryResult) + { + // SpanOverloader + return thisApi.QuerySpatialComponentData(snapshot, in queryCondition.GetPinnableReference(), ref queryResult.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistence.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistence.gen.cs new file mode 100644 index 0000000000..cab5f47f06 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistence.gen.cs @@ -0,0 +1,87 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_spatial_persistence")] + public unsafe partial class ExtSpatialPersistence : NativeExtension + { + public const string ExtensionName = "XR_EXT_spatial_persistence"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialPersistenceContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialPersistenceContextCreateInfoEXT* createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialPersistenceContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialPersistenceContextCreateInfoEXT* createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialPersistenceContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialPersistenceContextCreateInfoEXT createInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextAsyncEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialPersistenceContextAsync([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialPersistenceContextCreateInfoEXT createInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSpatialPersistenceContextComplete([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] CreateSpatialPersistenceContextCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateSpatialPersistenceContextCompleteEXT", Convention = CallingConvention.Winapi)] + public partial Result CreateSpatialPersistenceContextComplete([Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref CreateSpatialPersistenceContextCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroySpatialPersistenceContextEXT", Convention = CallingConvention.Winapi)] + public partial Result DestroySpatialPersistenceContext([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialPersistenceScopesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] uint* persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] SpatialPersistenceScopeEXT* persistenceScopes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialPersistenceScopesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] uint* persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] ref SpatialPersistenceScopeEXT persistenceScopes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialPersistenceScopesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] ref uint persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] SpatialPersistenceScopeEXT* persistenceScopes); + + /// To be documented. + [NativeApi(EntryPoint = "xrEnumerateSpatialPersistenceScopesEXT", Convention = CallingConvention.Winapi)] + public partial Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] ref uint persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] ref SpatialPersistenceScopeEXT persistenceScopes); + + /// To be documented. + public unsafe Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint* persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] Span persistenceScopes) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialPersistenceScopes(instance, systemId, (uint) persistenceScopes.Length, persistenceScopeCountOutput, ref persistenceScopes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result EnumerateSpatialPersistenceScopes([Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] ref uint persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] Span persistenceScopes) + { + // ImplicitCountSpanOverloader + return EnumerateSpatialPersistenceScopes(instance, systemId, (uint) persistenceScopes.Length, ref persistenceScopeCountOutput, ref persistenceScopes.GetPinnableReference()); + } + + public ExtSpatialPersistence(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperations.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperations.gen.cs new file mode 100644 index 0000000000..37737b407c --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperations.gen.cs @@ -0,0 +1,77 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + [Extension("XR_EXT_spatial_persistence_operations")] + public unsafe partial class ExtSpatialPersistenceOperations : NativeExtension + { + public const string ExtensionName = "XR_EXT_spatial_persistence_operations"; + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityPersistInfoEXT* persistInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityPersistInfoEXT* persistInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityPersistInfoEXT persistInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public partial Result PersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityPersistInfoEXT persistInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result PersistSpatialEntityComplete([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] PersistSpatialEntityCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrPersistSpatialEntityCompleteEXT", Convention = CallingConvention.Winapi)] + public partial Result PersistSpatialEntityComplete([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref PersistSpatialEntityCompletionEXT completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityUnpersistInfoEXT* unpersistInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityUnpersistInfoEXT* unpersistInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityUnpersistInfoEXT unpersistInfo, [Count(Count = 0)] FutureEXT* future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityAsyncEXT", Convention = CallingConvention.Winapi)] + public partial Result UnpersistSpatialEntityAsync([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SpatialEntityUnpersistInfoEXT unpersistInfo, [Count(Count = 0)] ref FutureEXT future); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityCompleteEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnpersistSpatialEntityComplete([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] UnpersistSpatialEntityCompletionEXT* completion); + + /// To be documented. + [NativeApi(EntryPoint = "xrUnpersistSpatialEntityCompleteEXT", Convention = CallingConvention.Winapi)] + public partial Result UnpersistSpatialEntityComplete([Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] ref UnpersistSpatialEntityCompletionEXT completion); + + public ExtSpatialPersistenceOperations(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperationsOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperationsOverloads.gen.cs new file mode 100644 index 0000000000..93e9cb5e39 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOperationsOverloads.gen.cs @@ -0,0 +1,77 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtSpatialPersistenceOperationsOverloads + { + /// To be documented. + public static unsafe Result PersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityPersistInfoEXT* persistInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.PersistSpatialEntityAsync(persistenceContext, persistInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan persistInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.PersistSpatialEntityAsync(persistenceContext, in persistInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result PersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan persistInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.PersistSpatialEntityAsync(persistenceContext, in persistInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result PersistSpatialEntityComplete(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.PersistSpatialEntityComplete(persistenceContext, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialEntityUnpersistInfoEXT* unpersistInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.UnpersistSpatialEntityAsync(persistenceContext, unpersistInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan unpersistInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.UnpersistSpatialEntityAsync(persistenceContext, in unpersistInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialEntityAsync(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan unpersistInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.UnpersistSpatialEntityAsync(persistenceContext, in unpersistInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnpersistSpatialEntityComplete(this ExtSpatialPersistenceOperations thisApi, [Count(Count = 0)] SpatialPersistenceContextEXT persistenceContext, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.UnpersistSpatialEntityComplete(persistenceContext, future, ref completion.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOverloads.gen.cs new file mode 100644 index 0000000000..ea1ada143a --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXT/ExtSpatialPersistenceOverloads.gen.cs @@ -0,0 +1,70 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.EXT +{ + public static class ExtSpatialPersistenceOverloads + { + /// To be documented. + public static unsafe Result CreateSpatialPersistenceContextAsync(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SpatialPersistenceContextCreateInfoEXT* createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialPersistenceContextAsync(session, createInfo, ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialPersistenceContextAsync(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] FutureEXT* future) + { + // SpanOverloader + return thisApi.CreateSpatialPersistenceContextAsync(session, in createInfo.GetPinnableReference(), future); + } + + /// To be documented. + public static unsafe Result CreateSpatialPersistenceContextAsync(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span future) + { + // SpanOverloader + return thisApi.CreateSpatialPersistenceContextAsync(session, in createInfo.GetPinnableReference(), ref future.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSpatialPersistenceContextComplete(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Session session, [Count(Count = 0)] FutureEXT future, [Count(Count = 0)] Span completion) + { + // SpanOverloader + return thisApi.CreateSpatialPersistenceContextComplete(session, future, ref completion.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialPersistenceScopes(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] uint* persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] Span persistenceScopes) + { + // SpanOverloader + return thisApi.EnumerateSpatialPersistenceScopes(instance, systemId, persistenceScopeCapacityInput, persistenceScopeCountOutput, ref persistenceScopes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialPersistenceScopes(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] Span persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] SpatialPersistenceScopeEXT* persistenceScopes) + { + // SpanOverloader + return thisApi.EnumerateSpatialPersistenceScopes(instance, systemId, persistenceScopeCapacityInput, ref persistenceScopeCountOutput.GetPinnableReference(), persistenceScopes); + } + + /// To be documented. + public static unsafe Result EnumerateSpatialPersistenceScopes(this ExtSpatialPersistence thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint persistenceScopeCapacityInput, [Count(Count = 0)] Span persistenceScopeCountOutput, [Count(Parameter = "persistenceScopeCapacityInput")] Span persistenceScopes) + { + // SpanOverloader + return thisApi.EnumerateSpatialPersistenceScopes(instance, systemId, persistenceScopeCapacityInput, ref persistenceScopeCountOutput.GetPinnableReference(), ref persistenceScopes.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXTX1/Silk.NET.OpenXR.Extensions.EXTX1.csproj b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXTX1/Silk.NET.OpenXR.Extensions.EXTX1.csproj new file mode 100644 index 0000000000..50c0b3add5 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.EXTX1/Silk.NET.OpenXR.Extensions.EXTX1.csproj @@ -0,0 +1,14 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + 10 + + + + + + + + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengths.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengths.gen.cs new file mode 100644 index 0000000000..31eb23c68f --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengths.gen.cs @@ -0,0 +1,41 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.KHR +{ + [Extension("XR_KHR_extended_struct_name_lengths")] + public unsafe partial class KhrExtendedStructNameLengths : NativeExtension + { + public const string ExtensionName = "XR_KHR_extended_struct_name_lengths"; + /// To be documented. + [NativeApi(EntryPoint = "xrStructureTypeToString2KHR", Convention = CallingConvention.Winapi)] + public unsafe partial Result StructureTypeToString2([Count(Count = 0)] Instance instance, [Count(Count = 0)] StructureType value, [Count(Computed = "XR_MAX_STRUCTURE_NAME_SIZE_EXTENDED_KHR")] byte* buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrStructureTypeToString2KHR", Convention = CallingConvention.Winapi)] + public partial Result StructureTypeToString2([Count(Count = 0)] Instance instance, [Count(Count = 0)] StructureType value, [Count(Computed = "XR_MAX_STRUCTURE_NAME_SIZE_EXTENDED_KHR")] ref byte buffer); + + /// To be documented. + [NativeApi(EntryPoint = "xrStructureTypeToString2KHR", Convention = CallingConvention.Winapi)] + public partial Result StructureTypeToString2([Count(Count = 0)] Instance instance, [Count(Count = 0)] StructureType value, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer); + + public KhrExtendedStructNameLengths(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengthsOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengthsOverloads.gen.cs new file mode 100644 index 0000000000..6dd5978ad3 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrExtendedStructNameLengthsOverloads.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.KHR +{ + public static class KhrExtendedStructNameLengthsOverloads + { + /// To be documented. + public static unsafe Result StructureTypeToString2(this KhrExtendedStructNameLengths thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] StructureType value, [Count(Computed = "XR_MAX_STRUCTURE_NAME_SIZE_EXTENDED_KHR")] Span buffer) + { + // SpanOverloader + return thisApi.StructureTypeToString2(instance, value, ref buffer.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpression.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpression.gen.cs new file mode 100644 index 0000000000..dcbfd57e44 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpression.gen.cs @@ -0,0 +1,79 @@ +// 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.OpenXR; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ML +{ + [Extension("XR_ML_facial_expression")] + public unsafe partial class MLFacialExpression : NativeExtension + { + public const string ExtensionName = "XR_ML_facial_expression"; + /// To be documented. + [NativeApi(EntryPoint = "xrCreateFacialExpressionClientML", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateFacialExpressionClientML([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionClientCreateInfoML* createInfo, [Count(Count = 0)] FacialExpressionClientML* facialExpressionClient); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateFacialExpressionClientML", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateFacialExpressionClientML([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionClientCreateInfoML* createInfo, [Count(Count = 0)] ref FacialExpressionClientML facialExpressionClient); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateFacialExpressionClientML", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateFacialExpressionClientML([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in FacialExpressionClientCreateInfoML createInfo, [Count(Count = 0)] FacialExpressionClientML* facialExpressionClient); + + /// To be documented. + [NativeApi(EntryPoint = "xrCreateFacialExpressionClientML", Convention = CallingConvention.Winapi)] + public partial Result CreateFacialExpressionClientML([Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in FacialExpressionClientCreateInfoML createInfo, [Count(Count = 0)] ref FacialExpressionClientML facialExpressionClient); + + /// To be documented. + [NativeApi(EntryPoint = "xrDestroyFacialExpressionClientML", Convention = CallingConvention.Winapi)] + public partial Result DestroyFacialExpressionClientML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetFacialExpressionBlendShapePropertiesML", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionBlendShapeGetInfoML* blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] FacialExpressionBlendShapePropertiesML* blendShapes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetFacialExpressionBlendShapePropertiesML", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionBlendShapeGetInfoML* blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] ref FacialExpressionBlendShapePropertiesML blendShapes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetFacialExpressionBlendShapePropertiesML", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in FacialExpressionBlendShapeGetInfoML blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] FacialExpressionBlendShapePropertiesML* blendShapes); + + /// To be documented. + [NativeApi(EntryPoint = "xrGetFacialExpressionBlendShapePropertiesML", Convention = CallingConvention.Winapi)] + public partial Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in FacialExpressionBlendShapeGetInfoML blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] ref FacialExpressionBlendShapePropertiesML blendShapes); + + /// To be documented. + public unsafe Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionBlendShapeGetInfoML* blendShapeGetInfo, [Count(Parameter = "blendShapeCount")] Span blendShapes) + { + // ImplicitCountSpanOverloader + return GetFacialExpressionBlendShapePropertiesML(facialExpressionClient, blendShapeGetInfo, (uint) blendShapes.Length, ref blendShapes.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result GetFacialExpressionBlendShapePropertiesML([Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in FacialExpressionBlendShapeGetInfoML blendShapeGetInfo, [Count(Parameter = "blendShapeCount")] Span blendShapes) + { + // ImplicitCountSpanOverloader + return GetFacialExpressionBlendShapePropertiesML(facialExpressionClient, in blendShapeGetInfo, (uint) blendShapes.Length, ref blendShapes.GetPinnableReference()); + } + + public MLFacialExpression(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpressionOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpressionOverloads.gen.cs new file mode 100644 index 0000000000..51b8b23ebb --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLFacialExpressionOverloads.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR.Extensions.ML +{ + public static class MLFacialExpressionOverloads + { + /// To be documented. + public static unsafe Result CreateFacialExpressionClientML(this MLFacialExpression thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionClientCreateInfoML* createInfo, [Count(Count = 0)] Span facialExpressionClient) + { + // SpanOverloader + return thisApi.CreateFacialExpressionClientML(session, createInfo, ref facialExpressionClient.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateFacialExpressionClientML(this MLFacialExpression thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] FacialExpressionClientML* facialExpressionClient) + { + // SpanOverloader + return thisApi.CreateFacialExpressionClientML(session, in createInfo.GetPinnableReference(), facialExpressionClient); + } + + /// To be documented. + public static unsafe Result CreateFacialExpressionClientML(this MLFacialExpression thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span facialExpressionClient) + { + // SpanOverloader + return thisApi.CreateFacialExpressionClientML(session, in createInfo.GetPinnableReference(), ref facialExpressionClient.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetFacialExpressionBlendShapePropertiesML(this MLFacialExpression thisApi, [Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] FacialExpressionBlendShapeGetInfoML* blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] Span blendShapes) + { + // SpanOverloader + return thisApi.GetFacialExpressionBlendShapePropertiesML(facialExpressionClient, blendShapeGetInfo, blendShapeCount, ref blendShapes.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetFacialExpressionBlendShapePropertiesML(this MLFacialExpression thisApi, [Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] FacialExpressionBlendShapePropertiesML* blendShapes) + { + // SpanOverloader + return thisApi.GetFacialExpressionBlendShapePropertiesML(facialExpressionClient, in blendShapeGetInfo.GetPinnableReference(), blendShapeCount, blendShapes); + } + + /// To be documented. + public static unsafe Result GetFacialExpressionBlendShapePropertiesML(this MLFacialExpression thisApi, [Count(Count = 0)] FacialExpressionClientML facialExpressionClient, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan blendShapeGetInfo, [Count(Count = 0)] uint blendShapeCount, [Count(Parameter = "blendShapeCount")] Span blendShapes) + { + // SpanOverloader + return thisApi.GetFacialExpressionBlendShapePropertiesML(facialExpressionClient, in blendShapeGetInfo.GetPinnableReference(), blendShapeCount, ref blendShapes.GetPinnableReference()); + } + + } +} + diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.SONY/Silk.NET.OpenXR.Extensions.SONY.csproj b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.SONY/Silk.NET.OpenXR.Extensions.SONY.csproj new file mode 100644 index 0000000000..50c0b3add5 --- /dev/null +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.SONY/Silk.NET.OpenXR.Extensions.SONY.csproj @@ -0,0 +1,14 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + 10 + + + + + + + + diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/AnchorPersistStateANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/AnchorPersistStateANDROID.gen.cs new file mode 100644 index 0000000000..70903dec5b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/AnchorPersistStateANDROID.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorPersistStateANDROID")] + public enum AnchorPersistStateANDROID : int + { + [Obsolete("Deprecated in favour of \"NotRequestedAndroid\"")] + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSIST_NOT_REQUESTED_ANDROID")] + AnchorPersistStatePersistNotRequestedAndroid = 0, + [Obsolete("Deprecated in favour of \"PendingAndroid\"")] + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSIST_PENDING_ANDROID")] + AnchorPersistStatePersistPendingAndroid = 1, + [Obsolete("Deprecated in favour of \"DAndroid\"")] + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSISTED_ANDROID")] + AnchorPersistStatePersistedAndroid = 2, + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSIST_NOT_REQUESTED_ANDROID")] + NotRequestedAndroid = 0, + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSIST_PENDING_ANDROID")] + PendingAndroid = 1, + [NativeName("Name", "XR_ANCHOR_PERSIST_STATE_PERSISTED_ANDROID")] + DAndroid = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointBD.gen.cs new file mode 100644 index 0000000000..9265876aab --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointBD.gen.cs @@ -0,0 +1,136 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyJointBD")] + public enum BodyJointBD : int + { + [Obsolete("Deprecated in favour of \"PelvisBD\"")] + [NativeName("Name", "XR_BODY_JOINT_PELVIS_BD")] + BodyJointPelvisBD = 0, + [Obsolete("Deprecated in favour of \"LeftHipBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_HIP_BD")] + BodyJointLeftHipBD = 1, + [Obsolete("Deprecated in favour of \"RightHipBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_HIP_BD")] + BodyJointRightHipBD = 2, + [Obsolete("Deprecated in favour of \"Spine1BD\"")] + [NativeName("Name", "XR_BODY_JOINT_SPINE1_BD")] + BodyJointSpine1BD = 3, + [Obsolete("Deprecated in favour of \"LeftKneeBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_KNEE_BD")] + BodyJointLeftKneeBD = 4, + [Obsolete("Deprecated in favour of \"RightKneeBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_KNEE_BD")] + BodyJointRightKneeBD = 5, + [Obsolete("Deprecated in favour of \"Spine2BD\"")] + [NativeName("Name", "XR_BODY_JOINT_SPINE2_BD")] + BodyJointSpine2BD = 6, + [Obsolete("Deprecated in favour of \"LeftAnkleBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_ANKLE_BD")] + BodyJointLeftAnkleBD = 7, + [Obsolete("Deprecated in favour of \"RightAnkleBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_ANKLE_BD")] + BodyJointRightAnkleBD = 8, + [Obsolete("Deprecated in favour of \"Spine3BD\"")] + [NativeName("Name", "XR_BODY_JOINT_SPINE3_BD")] + BodyJointSpine3BD = 9, + [Obsolete("Deprecated in favour of \"LeftFootBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_FOOT_BD")] + BodyJointLeftFootBD = 10, + [Obsolete("Deprecated in favour of \"RightFootBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_FOOT_BD")] + BodyJointRightFootBD = 11, + [Obsolete("Deprecated in favour of \"NeckBD\"")] + [NativeName("Name", "XR_BODY_JOINT_NECK_BD")] + BodyJointNeckBD = 12, + [Obsolete("Deprecated in favour of \"LeftCollarBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_COLLAR_BD")] + BodyJointLeftCollarBD = 13, + [Obsolete("Deprecated in favour of \"RightCollarBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_COLLAR_BD")] + BodyJointRightCollarBD = 14, + [Obsolete("Deprecated in favour of \"HeadBD\"")] + [NativeName("Name", "XR_BODY_JOINT_HEAD_BD")] + BodyJointHeadBD = 15, + [Obsolete("Deprecated in favour of \"LeftShoulderBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_SHOULDER_BD")] + BodyJointLeftShoulderBD = 16, + [Obsolete("Deprecated in favour of \"RightShoulderBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_SHOULDER_BD")] + BodyJointRightShoulderBD = 17, + [Obsolete("Deprecated in favour of \"LeftElbowBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_ELBOW_BD")] + BodyJointLeftElbowBD = 18, + [Obsolete("Deprecated in favour of \"RightElbowBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_ELBOW_BD")] + BodyJointRightElbowBD = 19, + [Obsolete("Deprecated in favour of \"LeftWristBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_WRIST_BD")] + BodyJointLeftWristBD = 20, + [Obsolete("Deprecated in favour of \"RightWristBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_WRIST_BD")] + BodyJointRightWristBD = 21, + [Obsolete("Deprecated in favour of \"LeftHandBD\"")] + [NativeName("Name", "XR_BODY_JOINT_LEFT_HAND_BD")] + BodyJointLeftHandBD = 22, + [Obsolete("Deprecated in favour of \"RightHandBD\"")] + [NativeName("Name", "XR_BODY_JOINT_RIGHT_HAND_BD")] + BodyJointRightHandBD = 23, + [NativeName("Name", "XR_BODY_JOINT_PELVIS_BD")] + PelvisBD = 0, + [NativeName("Name", "XR_BODY_JOINT_LEFT_HIP_BD")] + LeftHipBD = 1, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_HIP_BD")] + RightHipBD = 2, + [NativeName("Name", "XR_BODY_JOINT_SPINE1_BD")] + Spine1BD = 3, + [NativeName("Name", "XR_BODY_JOINT_LEFT_KNEE_BD")] + LeftKneeBD = 4, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_KNEE_BD")] + RightKneeBD = 5, + [NativeName("Name", "XR_BODY_JOINT_SPINE2_BD")] + Spine2BD = 6, + [NativeName("Name", "XR_BODY_JOINT_LEFT_ANKLE_BD")] + LeftAnkleBD = 7, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_ANKLE_BD")] + RightAnkleBD = 8, + [NativeName("Name", "XR_BODY_JOINT_SPINE3_BD")] + Spine3BD = 9, + [NativeName("Name", "XR_BODY_JOINT_LEFT_FOOT_BD")] + LeftFootBD = 10, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_FOOT_BD")] + RightFootBD = 11, + [NativeName("Name", "XR_BODY_JOINT_NECK_BD")] + NeckBD = 12, + [NativeName("Name", "XR_BODY_JOINT_LEFT_COLLAR_BD")] + LeftCollarBD = 13, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_COLLAR_BD")] + RightCollarBD = 14, + [NativeName("Name", "XR_BODY_JOINT_HEAD_BD")] + HeadBD = 15, + [NativeName("Name", "XR_BODY_JOINT_LEFT_SHOULDER_BD")] + LeftShoulderBD = 16, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_SHOULDER_BD")] + RightShoulderBD = 17, + [NativeName("Name", "XR_BODY_JOINT_LEFT_ELBOW_BD")] + LeftElbowBD = 18, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_ELBOW_BD")] + RightElbowBD = 19, + [NativeName("Name", "XR_BODY_JOINT_LEFT_WRIST_BD")] + LeftWristBD = 20, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_WRIST_BD")] + RightWristBD = 21, + [NativeName("Name", "XR_BODY_JOINT_LEFT_HAND_BD")] + LeftHandBD = 22, + [NativeName("Name", "XR_BODY_JOINT_RIGHT_HAND_BD")] + RightHandBD = 23, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetBD.gen.cs new file mode 100644 index 0000000000..25c952d737 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetBD.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyJointSetBD")] + public enum BodyJointSetBD : int + { + [Obsolete("Deprecated in favour of \"BodyWithoutArmBD\"")] + [NativeName("Name", "XR_BODY_JOINT_SET_BODY_WITHOUT_ARM_BD")] + BodyJointSetBodyWithoutArmBD = 1, + [Obsolete("Deprecated in favour of \"FullBodyJointsBD\"")] + [NativeName("Name", "XR_BODY_JOINT_SET_FULL_BODY_JOINTS_BD")] + BodyJointSetFullBodyJointsBD = 2, + [NativeName("Name", "XR_BODY_JOINT_SET_BODY_WITHOUT_ARM_BD")] + BodyWithoutArmBD = 1, + [NativeName("Name", "XR_BODY_JOINT_SET_FULL_BODY_JOINTS_BD")] + FullBodyJointsBD = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetFB.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetFB.gen.cs index acecece8a1..c1b6429816 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetFB.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyJointSetFB.gen.cs @@ -15,7 +15,12 @@ public enum BodyJointSetFB : int [Obsolete("Deprecated in favour of \"DefaultFB\"")] [NativeName("Name", "XR_BODY_JOINT_SET_DEFAULT_FB")] BodyJointSetDefaultFB = 0, + [Obsolete("Deprecated in favour of \"FullBodyMeta\"")] + [NativeName("Name", "XR_BODY_JOINT_SET_FULL_BODY_META")] + BodyJointSetFullBodyMeta = 1000274000, [NativeName("Name", "XR_BODY_JOINT_SET_DEFAULT_FB")] DefaultFB = 0, + [NativeName("Name", "XR_BODY_JOINT_SET_FULL_BODY_META")] + FullBodyMeta = 1000274000, } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/BodyTrackingCalibrationStateMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyTrackingCalibrationStateMETA.gen.cs new file mode 100644 index 0000000000..b85583f511 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/BodyTrackingCalibrationStateMETA.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyTrackingCalibrationStateMETA")] + public enum BodyTrackingCalibrationStateMETA : int + { + [Obsolete("Deprecated in favour of \"ValidMeta\"")] + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_VALID_META")] + BodyTrackingCalibrationStateValidMeta = 1, + [Obsolete("Deprecated in favour of \"CalibratingMeta\"")] + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_CALIBRATING_META")] + BodyTrackingCalibrationStateCalibratingMeta = 2, + [Obsolete("Deprecated in favour of \"InvalidMeta\"")] + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_INVALID_META")] + BodyTrackingCalibrationStateInvalidMeta = 3, + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_VALID_META")] + ValidMeta = 1, + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_CALIBRATING_META")] + CalibratingMeta = 2, + [NativeName("Name", "XR_BODY_TRACKING_CALIBRATION_STATE_INVALID_META")] + InvalidMeta = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/FacialBlendShapeML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/FacialBlendShapeML.gen.cs new file mode 100644 index 0000000000..503bb6d736 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/FacialBlendShapeML.gen.cs @@ -0,0 +1,246 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFacialBlendShapeML")] + public enum FacialBlendShapeML : int + { + [Obsolete("Deprecated in favour of \"BrowLowererLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_L_ML")] + FacialBlendShapeBrowLowererLML = 0, + [Obsolete("Deprecated in favour of \"BrowLowererRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_R_ML")] + FacialBlendShapeBrowLowererRML = 1, + [Obsolete("Deprecated in favour of \"CheekRaiserLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_L_ML")] + FacialBlendShapeCheekRaiserLML = 2, + [Obsolete("Deprecated in favour of \"CheekRaiserRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_R_ML")] + FacialBlendShapeCheekRaiserRML = 3, + [Obsolete("Deprecated in favour of \"ChinRaiserML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHIN_RAISER_ML")] + FacialBlendShapeChinRaiserML = 4, + [Obsolete("Deprecated in favour of \"DimplerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_DIMPLER_L_ML")] + FacialBlendShapeDimplerLML = 5, + [Obsolete("Deprecated in favour of \"DimplerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_DIMPLER_R_ML")] + FacialBlendShapeDimplerRML = 6, + [Obsolete("Deprecated in favour of \"EyesClosedLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_L_ML")] + FacialBlendShapeEyesClosedLML = 7, + [Obsolete("Deprecated in favour of \"EyesClosedRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_R_ML")] + FacialBlendShapeEyesClosedRML = 8, + [Obsolete("Deprecated in favour of \"InnerBrowRaiserLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_L_ML")] + FacialBlendShapeInnerBrowRaiserLML = 9, + [Obsolete("Deprecated in favour of \"InnerBrowRaiserRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_R_ML")] + FacialBlendShapeInnerBrowRaiserRML = 10, + [Obsolete("Deprecated in favour of \"JawDropML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_JAW_DROP_ML")] + FacialBlendShapeJawDropML = 11, + [Obsolete("Deprecated in favour of \"LidTightenerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_L_ML")] + FacialBlendShapeLidTightenerLML = 12, + [Obsolete("Deprecated in favour of \"LidTightenerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_R_ML")] + FacialBlendShapeLidTightenerRML = 13, + [Obsolete("Deprecated in favour of \"LipCornerDepressorLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_L_ML")] + FacialBlendShapeLipCornerDepressorLML = 14, + [Obsolete("Deprecated in favour of \"LipCornerDepressorRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_R_ML")] + FacialBlendShapeLipCornerDepressorRML = 15, + [Obsolete("Deprecated in favour of \"LipCornerPullerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_L_ML")] + FacialBlendShapeLipCornerPullerLML = 16, + [Obsolete("Deprecated in favour of \"LipCornerPullerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_R_ML")] + FacialBlendShapeLipCornerPullerRML = 17, + [Obsolete("Deprecated in favour of \"LipFunnelerLBML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LB_ML")] + FacialBlendShapeLipFunnelerLBML = 18, + [Obsolete("Deprecated in favour of \"LipFunnelerLTML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LT_ML")] + FacialBlendShapeLipFunnelerLTML = 19, + [Obsolete("Deprecated in favour of \"LipFunnelerRBML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RB_ML")] + FacialBlendShapeLipFunnelerRBML = 20, + [Obsolete("Deprecated in favour of \"LipFunnelerRTML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RT_ML")] + FacialBlendShapeLipFunnelerRTML = 21, + [Obsolete("Deprecated in favour of \"LipPressorLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_L_ML")] + FacialBlendShapeLipPressorLML = 22, + [Obsolete("Deprecated in favour of \"LipPressorRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_R_ML")] + FacialBlendShapeLipPressorRML = 23, + [Obsolete("Deprecated in favour of \"LipPuckerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_L_ML")] + FacialBlendShapeLipPuckerLML = 24, + [Obsolete("Deprecated in favour of \"LipPuckerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_R_ML")] + FacialBlendShapeLipPuckerRML = 25, + [Obsolete("Deprecated in favour of \"LipStretcherLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_L_ML")] + FacialBlendShapeLipStretcherLML = 26, + [Obsolete("Deprecated in favour of \"LipStretcherRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_R_ML")] + FacialBlendShapeLipStretcherRML = 27, + [Obsolete("Deprecated in favour of \"LipSuckLBML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LB_ML")] + FacialBlendShapeLipSuckLBML = 28, + [Obsolete("Deprecated in favour of \"LipSuckLTML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LT_ML")] + FacialBlendShapeLipSuckLTML = 29, + [Obsolete("Deprecated in favour of \"LipSuckRBML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RB_ML")] + FacialBlendShapeLipSuckRBML = 30, + [Obsolete("Deprecated in favour of \"LipSuckRTML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RT_ML")] + FacialBlendShapeLipSuckRTML = 31, + [Obsolete("Deprecated in favour of \"LipTightenerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_L_ML")] + FacialBlendShapeLipTightenerLML = 32, + [Obsolete("Deprecated in favour of \"LipTightenerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_R_ML")] + FacialBlendShapeLipTightenerRML = 33, + [Obsolete("Deprecated in favour of \"LipsTowardML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIPS_TOWARD_ML")] + FacialBlendShapeLipsTowardML = 34, + [Obsolete("Deprecated in favour of \"LowerLipDepressorLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_L_ML")] + FacialBlendShapeLowerLipDepressorLML = 35, + [Obsolete("Deprecated in favour of \"LowerLipDepressorRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_R_ML")] + FacialBlendShapeLowerLipDepressorRML = 36, + [Obsolete("Deprecated in favour of \"NoseWrinklerLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_L_ML")] + FacialBlendShapeNoseWrinklerLML = 37, + [Obsolete("Deprecated in favour of \"NoseWrinklerRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_R_ML")] + FacialBlendShapeNoseWrinklerRML = 38, + [Obsolete("Deprecated in favour of \"OuterBrowRaiserLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_L_ML")] + FacialBlendShapeOuterBrowRaiserLML = 39, + [Obsolete("Deprecated in favour of \"OuterBrowRaiserRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_R_ML")] + FacialBlendShapeOuterBrowRaiserRML = 40, + [Obsolete("Deprecated in favour of \"UpperLidRaiserLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_L_ML")] + FacialBlendShapeUpperLidRaiserLML = 41, + [Obsolete("Deprecated in favour of \"UpperLidRaiserRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_R_ML")] + FacialBlendShapeUpperLidRaiserRML = 42, + [Obsolete("Deprecated in favour of \"UpperLipRaiserLML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_L_ML")] + FacialBlendShapeUpperLipRaiserLML = 43, + [Obsolete("Deprecated in favour of \"UpperLipRaiserRML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_R_ML")] + FacialBlendShapeUpperLipRaiserRML = 44, + [Obsolete("Deprecated in favour of \"TongueOutML\"")] + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_TONGUE_OUT_ML")] + FacialBlendShapeTongueOutML = 45, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_L_ML")] + BrowLowererLML = 0, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_R_ML")] + BrowLowererRML = 1, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_L_ML")] + CheekRaiserLML = 2, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_R_ML")] + CheekRaiserRML = 3, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_CHIN_RAISER_ML")] + ChinRaiserML = 4, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_DIMPLER_L_ML")] + DimplerLML = 5, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_DIMPLER_R_ML")] + DimplerRML = 6, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_L_ML")] + EyesClosedLML = 7, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_R_ML")] + EyesClosedRML = 8, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_L_ML")] + InnerBrowRaiserLML = 9, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_R_ML")] + InnerBrowRaiserRML = 10, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_JAW_DROP_ML")] + JawDropML = 11, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_L_ML")] + LidTightenerLML = 12, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_R_ML")] + LidTightenerRML = 13, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_L_ML")] + LipCornerDepressorLML = 14, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_R_ML")] + LipCornerDepressorRML = 15, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_L_ML")] + LipCornerPullerLML = 16, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_R_ML")] + LipCornerPullerRML = 17, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LB_ML")] + LipFunnelerLBML = 18, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LT_ML")] + LipFunnelerLTML = 19, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RB_ML")] + LipFunnelerRBML = 20, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RT_ML")] + LipFunnelerRTML = 21, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_L_ML")] + LipPressorLML = 22, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_R_ML")] + LipPressorRML = 23, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_L_ML")] + LipPuckerLML = 24, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_R_ML")] + LipPuckerRML = 25, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_L_ML")] + LipStretcherLML = 26, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_R_ML")] + LipStretcherRML = 27, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LB_ML")] + LipSuckLBML = 28, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LT_ML")] + LipSuckLTML = 29, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RB_ML")] + LipSuckRBML = 30, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RT_ML")] + LipSuckRTML = 31, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_L_ML")] + LipTightenerLML = 32, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_R_ML")] + LipTightenerRML = 33, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LIPS_TOWARD_ML")] + LipsTowardML = 34, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_L_ML")] + LowerLipDepressorLML = 35, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_R_ML")] + LowerLipDepressorRML = 36, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_L_ML")] + NoseWrinklerLML = 37, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_R_ML")] + NoseWrinklerRML = 38, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_L_ML")] + OuterBrowRaiserLML = 39, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_R_ML")] + OuterBrowRaiserRML = 40, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_L_ML")] + UpperLidRaiserLML = 41, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_R_ML")] + UpperLidRaiserRML = 42, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_L_ML")] + UpperLipRaiserLML = 43, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_R_ML")] + UpperLipRaiserRML = 44, + [NativeName("Name", "XR_FACIAL_BLEND_SHAPE_TONGUE_OUT_ML")] + TongueOutML = 45, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.gen.cs new file mode 100644 index 0000000000..d4c353e6b2 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [Flags] + [NativeName("Name", "XrFacialExpressionBlendShapePropertiesFlagsML")] + public enum FacialExpressionBlendShapePropertiesFlagsML : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"ValidBitML\"")] + [NativeName("Name", "XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_VALID_BIT_ML")] + FacialExpressionBlendShapePropertiesValidBitML = 1, + [Obsolete("Deprecated in favour of \"TrackedBitML\"")] + [NativeName("Name", "XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_TRACKED_BIT_ML")] + FacialExpressionBlendShapePropertiesTrackedBitML = 2, + [NativeName("Name", "XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_VALID_BIT_ML")] + ValidBitML = 1, + [NativeName("Name", "XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_TRACKED_BIT_ML")] + TrackedBitML = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/FrameSynthesisInfoFlagsEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/FrameSynthesisInfoFlagsEXT.gen.cs new file mode 100644 index 0000000000..cf6d17d24c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/FrameSynthesisInfoFlagsEXT.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [Flags] + [NativeName("Name", "XrFrameSynthesisInfoFlagsEXT")] + public enum FrameSynthesisInfoFlagsEXT : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"Use2DMotionVectorBitExt\"")] + [NativeName("Name", "XR_FRAME_SYNTHESIS_INFO_USE_2D_MOTION_VECTOR_BIT_EXT")] + FrameSynthesisInfoUse2DMotionVectorBitExt = 1, + [Obsolete("Deprecated in favour of \"RequestRelaxedFrameIntervalBitExt\"")] + [NativeName("Name", "XR_FRAME_SYNTHESIS_INFO_REQUEST_RELAXED_FRAME_INTERVAL_BIT_EXT")] + FrameSynthesisInfoRequestRelaxedFrameIntervalBitExt = 2, + [NativeName("Name", "XR_FRAME_SYNTHESIS_INFO_USE_2D_MOTION_VECTOR_BIT_EXT")] + Use2DMotionVectorBitExt = 1, + [NativeName("Name", "XR_FRAME_SYNTHESIS_INFO_REQUEST_RELAXED_FRAME_INTERVAL_BIT_EXT")] + RequestRelaxedFrameIntervalBitExt = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/FullBodyJointMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/FullBodyJointMETA.gen.cs new file mode 100644 index 0000000000..bcbb227c54 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/FullBodyJointMETA.gen.cs @@ -0,0 +1,446 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFullBodyJointMETA")] + public enum FullBodyJointMETA : int + { + [Obsolete("Deprecated in favour of \"RootMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_ROOT_META")] + FullBodyJointRootMeta = 0, + [Obsolete("Deprecated in favour of \"HipsMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_HIPS_META")] + FullBodyJointHipsMeta = 1, + [Obsolete("Deprecated in favour of \"SpineLowerMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_LOWER_META")] + FullBodyJointSpineLowerMeta = 2, + [Obsolete("Deprecated in favour of \"SpineMiddleMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_MIDDLE_META")] + FullBodyJointSpineMiddleMeta = 3, + [Obsolete("Deprecated in favour of \"SpineUpperMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_UPPER_META")] + FullBodyJointSpineUpperMeta = 4, + [Obsolete("Deprecated in favour of \"ChestMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_CHEST_META")] + FullBodyJointChestMeta = 5, + [Obsolete("Deprecated in favour of \"NeckMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_NECK_META")] + FullBodyJointNeckMeta = 6, + [Obsolete("Deprecated in favour of \"HeadMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_HEAD_META")] + FullBodyJointHeadMeta = 7, + [Obsolete("Deprecated in favour of \"LeftShoulderMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_SHOULDER_META")] + FullBodyJointLeftShoulderMeta = 8, + [Obsolete("Deprecated in favour of \"LeftScapulaMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_SCAPULA_META")] + FullBodyJointLeftScapulaMeta = 9, + [Obsolete("Deprecated in favour of \"LeftArmUpperMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_ARM_UPPER_META")] + FullBodyJointLeftArmUpperMeta = 10, + [Obsolete("Deprecated in favour of \"LeftArmLowerMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_ARM_LOWER_META")] + FullBodyJointLeftArmLowerMeta = 11, + [Obsolete("Deprecated in favour of \"LeftHandWristTwistMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_TWIST_META")] + FullBodyJointLeftHandWristTwistMeta = 12, + [Obsolete("Deprecated in favour of \"RightShoulderMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_SHOULDER_META")] + FullBodyJointRightShoulderMeta = 13, + [Obsolete("Deprecated in favour of \"RightScapulaMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_SCAPULA_META")] + FullBodyJointRightScapulaMeta = 14, + [Obsolete("Deprecated in favour of \"RightArmUpperMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_ARM_UPPER_META")] + FullBodyJointRightArmUpperMeta = 15, + [Obsolete("Deprecated in favour of \"RightArmLowerMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META")] + FullBodyJointRightArmLowerMeta = 16, + [Obsolete("Deprecated in favour of \"RightHandWristTwistMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_TWIST_META")] + FullBodyJointRightHandWristTwistMeta = 17, + [Obsolete("Deprecated in favour of \"LeftHandPalmMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_PALM_META")] + FullBodyJointLeftHandPalmMeta = 18, + [Obsolete("Deprecated in favour of \"LeftHandWristMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_META")] + FullBodyJointLeftHandWristMeta = 19, + [Obsolete("Deprecated in favour of \"LeftHandThumbMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_METACARPAL_META")] + FullBodyJointLeftHandThumbMetacarpalMeta = 20, + [Obsolete("Deprecated in favour of \"LeftHandThumbProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_PROXIMAL_META")] + FullBodyJointLeftHandThumbProximalMeta = 21, + [Obsolete("Deprecated in favour of \"LeftHandThumbDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_DISTAL_META")] + FullBodyJointLeftHandThumbDistalMeta = 22, + [Obsolete("Deprecated in favour of \"LeftHandThumbTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_TIP_META")] + FullBodyJointLeftHandThumbTipMeta = 23, + [Obsolete("Deprecated in favour of \"LeftHandIndexMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_METACARPAL_META")] + FullBodyJointLeftHandIndexMetacarpalMeta = 24, + [Obsolete("Deprecated in favour of \"LeftHandIndexProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_PROXIMAL_META")] + FullBodyJointLeftHandIndexProximalMeta = 25, + [Obsolete("Deprecated in favour of \"LeftHandIndexIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_INTERMEDIATE_META")] + FullBodyJointLeftHandIndexIntermediateMeta = 26, + [Obsolete("Deprecated in favour of \"LeftHandIndexDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_DISTAL_META")] + FullBodyJointLeftHandIndexDistalMeta = 27, + [Obsolete("Deprecated in favour of \"LeftHandIndexTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_TIP_META")] + FullBodyJointLeftHandIndexTipMeta = 28, + [Obsolete("Deprecated in favour of \"LeftHandMiddleMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_METACARPAL_META")] + FullBodyJointLeftHandMiddleMetacarpalMeta = 29, + [Obsolete("Deprecated in favour of \"LeftHandMiddleProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_PROXIMAL_META")] + FullBodyJointLeftHandMiddleProximalMeta = 30, + [Obsolete("Deprecated in favour of \"LeftHandMiddleIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_INTERMEDIATE_META")] + FullBodyJointLeftHandMiddleIntermediateMeta = 31, + [Obsolete("Deprecated in favour of \"LeftHandMiddleDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_DISTAL_META")] + FullBodyJointLeftHandMiddleDistalMeta = 32, + [Obsolete("Deprecated in favour of \"LeftHandMiddleTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_TIP_META")] + FullBodyJointLeftHandMiddleTipMeta = 33, + [Obsolete("Deprecated in favour of \"LeftHandRingMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_METACARPAL_META")] + FullBodyJointLeftHandRingMetacarpalMeta = 34, + [Obsolete("Deprecated in favour of \"LeftHandRingProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_PROXIMAL_META")] + FullBodyJointLeftHandRingProximalMeta = 35, + [Obsolete("Deprecated in favour of \"LeftHandRingIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_INTERMEDIATE_META")] + FullBodyJointLeftHandRingIntermediateMeta = 36, + [Obsolete("Deprecated in favour of \"LeftHandRingDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_DISTAL_META")] + FullBodyJointLeftHandRingDistalMeta = 37, + [Obsolete("Deprecated in favour of \"LeftHandRingTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_TIP_META")] + FullBodyJointLeftHandRingTipMeta = 38, + [Obsolete("Deprecated in favour of \"LeftHandLittleMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_METACARPAL_META")] + FullBodyJointLeftHandLittleMetacarpalMeta = 39, + [Obsolete("Deprecated in favour of \"LeftHandLittleProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_PROXIMAL_META")] + FullBodyJointLeftHandLittleProximalMeta = 40, + [Obsolete("Deprecated in favour of \"LeftHandLittleIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_INTERMEDIATE_META")] + FullBodyJointLeftHandLittleIntermediateMeta = 41, + [Obsolete("Deprecated in favour of \"LeftHandLittleDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_DISTAL_META")] + FullBodyJointLeftHandLittleDistalMeta = 42, + [Obsolete("Deprecated in favour of \"LeftHandLittleTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_TIP_META")] + FullBodyJointLeftHandLittleTipMeta = 43, + [Obsolete("Deprecated in favour of \"RightHandPalmMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_PALM_META")] + FullBodyJointRightHandPalmMeta = 44, + [Obsolete("Deprecated in favour of \"RightHandWristMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_META")] + FullBodyJointRightHandWristMeta = 45, + [Obsolete("Deprecated in favour of \"RightHandThumbMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_METACARPAL_META")] + FullBodyJointRightHandThumbMetacarpalMeta = 46, + [Obsolete("Deprecated in favour of \"RightHandThumbProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_PROXIMAL_META")] + FullBodyJointRightHandThumbProximalMeta = 47, + [Obsolete("Deprecated in favour of \"RightHandThumbDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_DISTAL_META")] + FullBodyJointRightHandThumbDistalMeta = 48, + [Obsolete("Deprecated in favour of \"RightHandThumbTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_TIP_META")] + FullBodyJointRightHandThumbTipMeta = 49, + [Obsolete("Deprecated in favour of \"RightHandIndexMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_METACARPAL_META")] + FullBodyJointRightHandIndexMetacarpalMeta = 50, + [Obsolete("Deprecated in favour of \"RightHandIndexProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_PROXIMAL_META")] + FullBodyJointRightHandIndexProximalMeta = 51, + [Obsolete("Deprecated in favour of \"RightHandIndexIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_INTERMEDIATE_META")] + FullBodyJointRightHandIndexIntermediateMeta = 52, + [Obsolete("Deprecated in favour of \"RightHandIndexDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_DISTAL_META")] + FullBodyJointRightHandIndexDistalMeta = 53, + [Obsolete("Deprecated in favour of \"RightHandIndexTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_TIP_META")] + FullBodyJointRightHandIndexTipMeta = 54, + [Obsolete("Deprecated in favour of \"RightHandMiddleMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_METACARPAL_META")] + FullBodyJointRightHandMiddleMetacarpalMeta = 55, + [Obsolete("Deprecated in favour of \"RightHandMiddleProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_PROXIMAL_META")] + FullBodyJointRightHandMiddleProximalMeta = 56, + [Obsolete("Deprecated in favour of \"RightHandMiddleIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_INTERMEDIATE_META")] + FullBodyJointRightHandMiddleIntermediateMeta = 57, + [Obsolete("Deprecated in favour of \"RightHandMiddleDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_DISTAL_META")] + FullBodyJointRightHandMiddleDistalMeta = 58, + [Obsolete("Deprecated in favour of \"RightHandMiddleTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_TIP_META")] + FullBodyJointRightHandMiddleTipMeta = 59, + [Obsolete("Deprecated in favour of \"RightHandRingMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_METACARPAL_META")] + FullBodyJointRightHandRingMetacarpalMeta = 60, + [Obsolete("Deprecated in favour of \"RightHandRingProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_PROXIMAL_META")] + FullBodyJointRightHandRingProximalMeta = 61, + [Obsolete("Deprecated in favour of \"RightHandRingIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_INTERMEDIATE_META")] + FullBodyJointRightHandRingIntermediateMeta = 62, + [Obsolete("Deprecated in favour of \"RightHandRingDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_DISTAL_META")] + FullBodyJointRightHandRingDistalMeta = 63, + [Obsolete("Deprecated in favour of \"RightHandRingTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_TIP_META")] + FullBodyJointRightHandRingTipMeta = 64, + [Obsolete("Deprecated in favour of \"RightHandLittleMetacarpalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_METACARPAL_META")] + FullBodyJointRightHandLittleMetacarpalMeta = 65, + [Obsolete("Deprecated in favour of \"RightHandLittleProximalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_PROXIMAL_META")] + FullBodyJointRightHandLittleProximalMeta = 66, + [Obsolete("Deprecated in favour of \"RightHandLittleIntermediateMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_INTERMEDIATE_META")] + FullBodyJointRightHandLittleIntermediateMeta = 67, + [Obsolete("Deprecated in favour of \"RightHandLittleDistalMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_DISTAL_META")] + FullBodyJointRightHandLittleDistalMeta = 68, + [Obsolete("Deprecated in favour of \"RightHandLittleTipMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_TIP_META")] + FullBodyJointRightHandLittleTipMeta = 69, + [Obsolete("Deprecated in favour of \"LeftUpperLegMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META")] + FullBodyJointLeftUpperLegMeta = 70, + [Obsolete("Deprecated in favour of \"LeftLowerLegMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_LOWER_LEG_META")] + FullBodyJointLeftLowerLegMeta = 71, + [Obsolete("Deprecated in favour of \"LeftFootAnkleTwistMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_TWIST_META")] + FullBodyJointLeftFootAnkleTwistMeta = 72, + [Obsolete("Deprecated in favour of \"LeftFootAnkleMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_META")] + FullBodyJointLeftFootAnkleMeta = 73, + [Obsolete("Deprecated in favour of \"LeftFootSubtalarMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_SUBTALAR_META")] + FullBodyJointLeftFootSubtalarMeta = 74, + [Obsolete("Deprecated in favour of \"LeftFootTransverseMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META")] + FullBodyJointLeftFootTransverseMeta = 75, + [Obsolete("Deprecated in favour of \"LeftFootBallMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_BALL_META")] + FullBodyJointLeftFootBallMeta = 76, + [Obsolete("Deprecated in favour of \"RightUpperLegMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_UPPER_LEG_META")] + FullBodyJointRightUpperLegMeta = 77, + [Obsolete("Deprecated in favour of \"RightLowerLegMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META")] + FullBodyJointRightLowerLegMeta = 78, + [Obsolete("Deprecated in favour of \"RightFootAnkleTwistMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_TWIST_META")] + FullBodyJointRightFootAnkleTwistMeta = 79, + [Obsolete("Deprecated in favour of \"RightFootAnkleMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_META")] + FullBodyJointRightFootAnkleMeta = 80, + [Obsolete("Deprecated in favour of \"RightFootSubtalarMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_SUBTALAR_META")] + FullBodyJointRightFootSubtalarMeta = 81, + [Obsolete("Deprecated in favour of \"RightFootTransverseMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META")] + FullBodyJointRightFootTransverseMeta = 82, + [Obsolete("Deprecated in favour of \"RightFootBallMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_BALL_META")] + FullBodyJointRightFootBallMeta = 83, + [Obsolete("Deprecated in favour of \"CountMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_COUNT_META")] + FullBodyJointCountMeta = 84, + [Obsolete("Deprecated in favour of \"NoneMeta\"")] + [NativeName("Name", "XR_FULL_BODY_JOINT_NONE_META")] + FullBodyJointNoneMeta = 85, + [NativeName("Name", "XR_FULL_BODY_JOINT_ROOT_META")] + RootMeta = 0, + [NativeName("Name", "XR_FULL_BODY_JOINT_HIPS_META")] + HipsMeta = 1, + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_LOWER_META")] + SpineLowerMeta = 2, + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_MIDDLE_META")] + SpineMiddleMeta = 3, + [NativeName("Name", "XR_FULL_BODY_JOINT_SPINE_UPPER_META")] + SpineUpperMeta = 4, + [NativeName("Name", "XR_FULL_BODY_JOINT_CHEST_META")] + ChestMeta = 5, + [NativeName("Name", "XR_FULL_BODY_JOINT_NECK_META")] + NeckMeta = 6, + [NativeName("Name", "XR_FULL_BODY_JOINT_HEAD_META")] + HeadMeta = 7, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_SHOULDER_META")] + LeftShoulderMeta = 8, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_SCAPULA_META")] + LeftScapulaMeta = 9, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_ARM_UPPER_META")] + LeftArmUpperMeta = 10, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_ARM_LOWER_META")] + LeftArmLowerMeta = 11, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_TWIST_META")] + LeftHandWristTwistMeta = 12, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_SHOULDER_META")] + RightShoulderMeta = 13, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_SCAPULA_META")] + RightScapulaMeta = 14, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_ARM_UPPER_META")] + RightArmUpperMeta = 15, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META")] + RightArmLowerMeta = 16, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_TWIST_META")] + RightHandWristTwistMeta = 17, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_PALM_META")] + LeftHandPalmMeta = 18, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_META")] + LeftHandWristMeta = 19, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_METACARPAL_META")] + LeftHandThumbMetacarpalMeta = 20, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_PROXIMAL_META")] + LeftHandThumbProximalMeta = 21, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_DISTAL_META")] + LeftHandThumbDistalMeta = 22, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_TIP_META")] + LeftHandThumbTipMeta = 23, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_METACARPAL_META")] + LeftHandIndexMetacarpalMeta = 24, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_PROXIMAL_META")] + LeftHandIndexProximalMeta = 25, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_INTERMEDIATE_META")] + LeftHandIndexIntermediateMeta = 26, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_DISTAL_META")] + LeftHandIndexDistalMeta = 27, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_TIP_META")] + LeftHandIndexTipMeta = 28, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_METACARPAL_META")] + LeftHandMiddleMetacarpalMeta = 29, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_PROXIMAL_META")] + LeftHandMiddleProximalMeta = 30, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_INTERMEDIATE_META")] + LeftHandMiddleIntermediateMeta = 31, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_DISTAL_META")] + LeftHandMiddleDistalMeta = 32, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_TIP_META")] + LeftHandMiddleTipMeta = 33, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_METACARPAL_META")] + LeftHandRingMetacarpalMeta = 34, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_PROXIMAL_META")] + LeftHandRingProximalMeta = 35, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_INTERMEDIATE_META")] + LeftHandRingIntermediateMeta = 36, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_DISTAL_META")] + LeftHandRingDistalMeta = 37, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_RING_TIP_META")] + LeftHandRingTipMeta = 38, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_METACARPAL_META")] + LeftHandLittleMetacarpalMeta = 39, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_PROXIMAL_META")] + LeftHandLittleProximalMeta = 40, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_INTERMEDIATE_META")] + LeftHandLittleIntermediateMeta = 41, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_DISTAL_META")] + LeftHandLittleDistalMeta = 42, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_TIP_META")] + LeftHandLittleTipMeta = 43, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_PALM_META")] + RightHandPalmMeta = 44, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_META")] + RightHandWristMeta = 45, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_METACARPAL_META")] + RightHandThumbMetacarpalMeta = 46, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_PROXIMAL_META")] + RightHandThumbProximalMeta = 47, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_DISTAL_META")] + RightHandThumbDistalMeta = 48, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_TIP_META")] + RightHandThumbTipMeta = 49, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_METACARPAL_META")] + RightHandIndexMetacarpalMeta = 50, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_PROXIMAL_META")] + RightHandIndexProximalMeta = 51, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_INTERMEDIATE_META")] + RightHandIndexIntermediateMeta = 52, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_DISTAL_META")] + RightHandIndexDistalMeta = 53, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_TIP_META")] + RightHandIndexTipMeta = 54, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_METACARPAL_META")] + RightHandMiddleMetacarpalMeta = 55, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_PROXIMAL_META")] + RightHandMiddleProximalMeta = 56, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_INTERMEDIATE_META")] + RightHandMiddleIntermediateMeta = 57, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_DISTAL_META")] + RightHandMiddleDistalMeta = 58, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_TIP_META")] + RightHandMiddleTipMeta = 59, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_METACARPAL_META")] + RightHandRingMetacarpalMeta = 60, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_PROXIMAL_META")] + RightHandRingProximalMeta = 61, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_INTERMEDIATE_META")] + RightHandRingIntermediateMeta = 62, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_DISTAL_META")] + RightHandRingDistalMeta = 63, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_RING_TIP_META")] + RightHandRingTipMeta = 64, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_METACARPAL_META")] + RightHandLittleMetacarpalMeta = 65, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_PROXIMAL_META")] + RightHandLittleProximalMeta = 66, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_INTERMEDIATE_META")] + RightHandLittleIntermediateMeta = 67, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_DISTAL_META")] + RightHandLittleDistalMeta = 68, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_TIP_META")] + RightHandLittleTipMeta = 69, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META")] + LeftUpperLegMeta = 70, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_LOWER_LEG_META")] + LeftLowerLegMeta = 71, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_TWIST_META")] + LeftFootAnkleTwistMeta = 72, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_META")] + LeftFootAnkleMeta = 73, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_SUBTALAR_META")] + LeftFootSubtalarMeta = 74, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META")] + LeftFootTransverseMeta = 75, + [NativeName("Name", "XR_FULL_BODY_JOINT_LEFT_FOOT_BALL_META")] + LeftFootBallMeta = 76, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_UPPER_LEG_META")] + RightUpperLegMeta = 77, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META")] + RightLowerLegMeta = 78, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_TWIST_META")] + RightFootAnkleTwistMeta = 79, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_META")] + RightFootAnkleMeta = 80, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_SUBTALAR_META")] + RightFootSubtalarMeta = 81, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META")] + RightFootTransverseMeta = 82, + [NativeName("Name", "XR_FULL_BODY_JOINT_RIGHT_FOOT_BALL_META")] + RightFootBallMeta = 83, + [NativeName("Name", "XR_FULL_BODY_JOINT_COUNT_META")] + CountMeta = 84, + [NativeName("Name", "XR_FULL_BODY_JOINT_NONE_META")] + NoneMeta = 85, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectLabelANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectLabelANDROID.gen.cs new file mode 100644 index 0000000000..25884a0d1e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectLabelANDROID.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrObjectLabelANDROID")] + public enum ObjectLabelANDROID : int + { + [Obsolete("Deprecated in favour of \"UnknownAndroid\"")] + [NativeName("Name", "XR_OBJECT_LABEL_UNKNOWN_ANDROID")] + ObjectLabelUnknownAndroid = 0, + [Obsolete("Deprecated in favour of \"KeyboardAndroid\"")] + [NativeName("Name", "XR_OBJECT_LABEL_KEYBOARD_ANDROID")] + ObjectLabelKeyboardAndroid = 1, + [Obsolete("Deprecated in favour of \"MouseAndroid\"")] + [NativeName("Name", "XR_OBJECT_LABEL_MOUSE_ANDROID")] + ObjectLabelMouseAndroid = 2, + [Obsolete("Deprecated in favour of \"LaptopAndroid\"")] + [NativeName("Name", "XR_OBJECT_LABEL_LAPTOP_ANDROID")] + ObjectLabelLaptopAndroid = 3, + [NativeName("Name", "XR_OBJECT_LABEL_UNKNOWN_ANDROID")] + UnknownAndroid = 0, + [NativeName("Name", "XR_OBJECT_LABEL_KEYBOARD_ANDROID")] + KeyboardAndroid = 1, + [NativeName("Name", "XR_OBJECT_LABEL_MOUSE_ANDROID")] + MouseAndroid = 2, + [NativeName("Name", "XR_OBJECT_LABEL_LAPTOP_ANDROID")] + LaptopAndroid = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectType.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectType.gen.cs index 09315346a0..838fd2fca4 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectType.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/ObjectType.gen.cs @@ -76,13 +76,39 @@ public enum ObjectType : int EnvironmentDepthProviderMeta = 1000291000, [NativeName("Name", "XR_OBJECT_TYPE_ENVIRONMENT_DEPTH_SWAPCHAIN_META")] EnvironmentDepthSwapchainMeta = 1000291001, + [NativeName("Name", "XR_OBJECT_TYPE_RENDER_MODEL_EXT")] + RenderModelExt = 1000300000, + [NativeName("Name", "XR_OBJECT_TYPE_RENDER_MODEL_ASSET_EXT")] + RenderModelAssetExt = 1000300001, [NativeName("Name", "XR_OBJECT_TYPE_PASSTHROUGH_HTC")] PassthroughHtc = 1000317000, [NativeName("Name", "XR_OBJECT_TYPE_BODY_TRACKER_HTC")] BodyTrackerHtc = 1000320000, + [NativeName("Name", "XR_OBJECT_TYPE_BODY_TRACKER_BD")] + BodyTrackerBD = 1000385000, + [NativeName("Name", "XR_OBJECT_TYPE_SENSE_DATA_PROVIDER_BD")] + SenseDataProviderBD = 1000389000, + [NativeName("Name", "XR_OBJECT_TYPE_SENSE_DATA_SNAPSHOT_BD")] + SenseDataSnapshotBD = 1000389001, + [NativeName("Name", "XR_OBJECT_TYPE_ANCHOR_BD")] + AnchorBD = 1000389002, [NativeName("Name", "XR_OBJECT_TYPE_PLANE_DETECTOR_EXT")] PlaneDetectorExt = 1000429000, + [NativeName("Name", "XR_OBJECT_TYPE_TRACKABLE_TRACKER_ANDROID")] + TrackableTrackerAndroid = 1000455001, + [NativeName("Name", "XR_OBJECT_TYPE_DEVICE_ANCHOR_PERSISTENCE_ANDROID")] + DeviceAnchorPersistenceAndroid = 1000457000, [NativeName("Name", "XR_OBJECT_TYPE_WORLD_MESH_DETECTOR_ML")] WorldMeshDetectorML = 1000474000, + [NativeName("Name", "XR_OBJECT_TYPE_FACIAL_EXPRESSION_CLIENT_ML")] + FacialExpressionClientML = 1000482000, + [NativeName("Name", "XR_OBJECT_TYPE_SPATIAL_ENTITY_EXT")] + SpatialEntityExt = 1000740000, + [NativeName("Name", "XR_OBJECT_TYPE_SPATIAL_CONTEXT_EXT")] + SpatialContextExt = 1000740001, + [NativeName("Name", "XR_OBJECT_TYPE_SPATIAL_SNAPSHOT_EXT")] + SpatialSnapshotExt = 1000740002, + [NativeName("Name", "XR_OBJECT_TYPE_SPATIAL_PERSISTENCE_CONTEXT_EXT")] + SpatialPersistenceContextExt = 1000763000, } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/PassthroughCameraStateANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/PassthroughCameraStateANDROID.gen.cs new file mode 100644 index 0000000000..17be6075cb --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/PassthroughCameraStateANDROID.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPassthroughCameraStateANDROID")] + public enum PassthroughCameraStateANDROID : int + { + [Obsolete("Deprecated in favour of \"DisabledAndroid\"")] + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_DISABLED_ANDROID")] + PassthroughCameraStateDisabledAndroid = 0, + [Obsolete("Deprecated in favour of \"InitializingAndroid\"")] + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_INITIALIZING_ANDROID")] + PassthroughCameraStateInitializingAndroid = 1, + [Obsolete("Deprecated in favour of \"ReadyAndroid\"")] + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_READY_ANDROID")] + PassthroughCameraStateReadyAndroid = 2, + [Obsolete("Deprecated in favour of \"ErrorAndroid\"")] + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_ERROR_ANDROID")] + PassthroughCameraStateErrorAndroid = 3, + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_DISABLED_ANDROID")] + DisabledAndroid = 0, + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_INITIALIZING_ANDROID")] + InitializingAndroid = 1, + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_READY_ANDROID")] + ReadyAndroid = 2, + [NativeName("Name", "XR_PASSTHROUGH_CAMERA_STATE_ERROR_ANDROID")] + ErrorAndroid = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/PersistenceLocationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/PersistenceLocationBD.gen.cs new file mode 100644 index 0000000000..13a4515f9a --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/PersistenceLocationBD.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPersistenceLocationBD")] + public enum PersistenceLocationBD : int + { + [Obsolete("Deprecated in favour of \"LocalBD\"")] + [NativeName("Name", "XR_PERSISTENCE_LOCATION_LOCAL_BD")] + PersistenceLocationLocalBD = 0, + [NativeName("Name", "XR_PERSISTENCE_LOCATION_LOCAL_BD")] + LocalBD = 0, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneLabelANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneLabelANDROID.gen.cs new file mode 100644 index 0000000000..2edaef50ab --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneLabelANDROID.gen.cs @@ -0,0 +1,41 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPlaneLabelANDROID")] + public enum PlaneLabelANDROID : int + { + [Obsolete("Deprecated in favour of \"UnknownAndroid\"")] + [NativeName("Name", "XR_PLANE_LABEL_UNKNOWN_ANDROID")] + PlaneLabelUnknownAndroid = 0, + [Obsolete("Deprecated in favour of \"WallAndroid\"")] + [NativeName("Name", "XR_PLANE_LABEL_WALL_ANDROID")] + PlaneLabelWallAndroid = 1, + [Obsolete("Deprecated in favour of \"FloorAndroid\"")] + [NativeName("Name", "XR_PLANE_LABEL_FLOOR_ANDROID")] + PlaneLabelFloorAndroid = 2, + [Obsolete("Deprecated in favour of \"CeilingAndroid\"")] + [NativeName("Name", "XR_PLANE_LABEL_CEILING_ANDROID")] + PlaneLabelCeilingAndroid = 3, + [Obsolete("Deprecated in favour of \"TableAndroid\"")] + [NativeName("Name", "XR_PLANE_LABEL_TABLE_ANDROID")] + PlaneLabelTableAndroid = 4, + [NativeName("Name", "XR_PLANE_LABEL_UNKNOWN_ANDROID")] + UnknownAndroid = 0, + [NativeName("Name", "XR_PLANE_LABEL_WALL_ANDROID")] + WallAndroid = 1, + [NativeName("Name", "XR_PLANE_LABEL_FLOOR_ANDROID")] + FloorAndroid = 2, + [NativeName("Name", "XR_PLANE_LABEL_CEILING_ANDROID")] + CeilingAndroid = 3, + [NativeName("Name", "XR_PLANE_LABEL_TABLE_ANDROID")] + TableAndroid = 4, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneOrientationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..f1e9d1cbe8 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneOrientationBD.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPlaneOrientationBD")] + public enum PlaneOrientationBD : int + { + [Obsolete("Deprecated in favour of \"HorizontalUpwardBD\"")] + [NativeName("Name", "XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD")] + PlaneOrientationHorizontalUpwardBD = 0, + [Obsolete("Deprecated in favour of \"HorizontalDownwardBD\"")] + [NativeName("Name", "XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD")] + PlaneOrientationHorizontalDownwardBD = 1, + [Obsolete("Deprecated in favour of \"VerticalBD\"")] + [NativeName("Name", "XR_PLANE_ORIENTATION_VERTICAL_BD")] + PlaneOrientationVerticalBD = 2, + [Obsolete("Deprecated in favour of \"ArbitraryBD\"")] + [NativeName("Name", "XR_PLANE_ORIENTATION_ARBITRARY_BD")] + PlaneOrientationArbitraryBD = 3, + [NativeName("Name", "XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD")] + HorizontalUpwardBD = 0, + [NativeName("Name", "XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD")] + HorizontalDownwardBD = 1, + [NativeName("Name", "XR_PLANE_ORIENTATION_VERTICAL_BD")] + VerticalBD = 2, + [NativeName("Name", "XR_PLANE_ORIENTATION_ARBITRARY_BD")] + ArbitraryBD = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneTypeANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneTypeANDROID.gen.cs new file mode 100644 index 0000000000..e5d37a2dec --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/PlaneTypeANDROID.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPlaneTypeANDROID")] + public enum PlaneTypeANDROID : int + { + [Obsolete("Deprecated in favour of \"HorizontalDownwardFacingAndroid\"")] + [NativeName("Name", "XR_PLANE_TYPE_HORIZONTAL_DOWNWARD_FACING_ANDROID")] + PlaneTypeHorizontalDownwardFacingAndroid = 0, + [Obsolete("Deprecated in favour of \"HorizontalUpwardFacingAndroid\"")] + [NativeName("Name", "XR_PLANE_TYPE_HORIZONTAL_UPWARD_FACING_ANDROID")] + PlaneTypeHorizontalUpwardFacingAndroid = 1, + [Obsolete("Deprecated in favour of \"VerticalAndroid\"")] + [NativeName("Name", "XR_PLANE_TYPE_VERTICAL_ANDROID")] + PlaneTypeVerticalAndroid = 2, + [Obsolete("Deprecated in favour of \"ArbitraryAndroid\"")] + [NativeName("Name", "XR_PLANE_TYPE_ARBITRARY_ANDROID")] + PlaneTypeArbitraryAndroid = 3, + [NativeName("Name", "XR_PLANE_TYPE_HORIZONTAL_DOWNWARD_FACING_ANDROID")] + HorizontalDownwardFacingAndroid = 0, + [NativeName("Name", "XR_PLANE_TYPE_HORIZONTAL_UPWARD_FACING_ANDROID")] + HorizontalUpwardFacingAndroid = 1, + [NativeName("Name", "XR_PLANE_TYPE_VERTICAL_ANDROID")] + VerticalAndroid = 2, + [NativeName("Name", "XR_PLANE_TYPE_ARBITRARY_ANDROID")] + ArbitraryAndroid = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/Result.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/Result.gen.cs index 40d78ac94a..820bbdf6e5 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Enums/Result.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/Result.gen.cs @@ -228,18 +228,72 @@ public enum Result : int ErrorSpaceNetworkRequestFailedFB = unchecked((int) -1000169003), [NativeName("Name", "XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB")] ErrorSpaceCloudStorageDisabledFB = unchecked((int) -1000169004), + [NativeName("Name", "XR_ERROR_SPACE_INSUFFICIENT_RESOURCES_META")] + ErrorSpaceInsufficientResourcesMeta = unchecked((int) -1000259000), + [NativeName("Name", "XR_ERROR_SPACE_STORAGE_AT_CAPACITY_META")] + ErrorSpaceStorageATCapacityMeta = unchecked((int) -1000259001), + [NativeName("Name", "XR_ERROR_SPACE_INSUFFICIENT_VIEW_META")] + ErrorSpaceInsufficientViewMeta = unchecked((int) -1000259002), + [NativeName("Name", "XR_ERROR_SPACE_PERMISSION_INSUFFICIENT_META")] + ErrorSpacePermissionInsufficientMeta = unchecked((int) -1000259003), + [NativeName("Name", "XR_ERROR_SPACE_RATE_LIMITED_META")] + ErrorSpaceRateLimitedMeta = unchecked((int) -1000259004), + [NativeName("Name", "XR_ERROR_SPACE_TOO_DARK_META")] + ErrorSpaceTooDarkMeta = unchecked((int) -1000259005), + [NativeName("Name", "XR_ERROR_SPACE_TOO_BRIGHT_META")] + ErrorSpaceTooBrightMeta = unchecked((int) -1000259006), [NativeName("Name", "XR_ERROR_PASSTHROUGH_COLOR_LUT_BUFFER_SIZE_MISMATCH_META")] ErrorPassthroughColorLutBufferSizeMismatchMeta = unchecked((int) -1000266000), [NativeName("Name", "XR_ENVIRONMENT_DEPTH_NOT_AVAILABLE_META")] EnvironmentDepthNotAvailableMeta = 1000291000, + [NativeName("Name", "XR_ERROR_RENDER_MODEL_ID_INVALID_EXT")] + ErrorRenderModelIDInvalidExt = unchecked((int) -1000300000), + [NativeName("Name", "XR_ERROR_RENDER_MODEL_ASSET_UNAVAILABLE_EXT")] + ErrorRenderModelAssetUnavailableExt = unchecked((int) -1000300001), + [NativeName("Name", "XR_ERROR_RENDER_MODEL_GLTF_EXTENSION_REQUIRED_EXT")] + ErrorRenderModelGltfExtensionRequiredExt = unchecked((int) -1000300002), + [NativeName("Name", "XR_ERROR_NOT_INTERACTION_RENDER_MODEL_EXT")] + ErrorNotInteractionRenderModelExt = unchecked((int) -1000301000), [NativeName("Name", "XR_ERROR_HINT_ALREADY_SET_QCOM")] ErrorHintAlreadySetQCom = unchecked((int) -1000306000), [NativeName("Name", "XR_ERROR_NOT_AN_ANCHOR_HTC")] ErrorNotANAnchorHtc = unchecked((int) -1000319000), + [NativeName("Name", "XR_ERROR_SPATIAL_ENTITY_ID_INVALID_BD")] + ErrorSpatialEntityIDInvalidBD = unchecked((int) -1000389000), + [NativeName("Name", "XR_ERROR_SPATIAL_SENSING_SERVICE_UNAVAILABLE_BD")] + ErrorSpatialSensingServiceUnavailableBD = unchecked((int) -1000389001), + [NativeName("Name", "XR_ERROR_ANCHOR_NOT_SUPPORTED_FOR_ENTITY_BD")] + ErrorAnchorNotSupportedForEntityBD = unchecked((int) -1000389002), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_NOT_FOUND_BD")] + ErrorSpatialAnchorNotFoundBD = unchecked((int) -1000390000), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_SHARING_NETWORK_TIMEOUT_BD")] + ErrorSpatialAnchorSharingNetworkTimeoutBD = unchecked((int) -1000391000), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_SHARING_AUTHENTICATION_FAILURE_BD")] + ErrorSpatialAnchorSharingAuthenticationFailureBD = unchecked((int) -1000391001), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_SHARING_NETWORK_FAILURE_BD")] + ErrorSpatialAnchorSharingNetworkFailureBD = unchecked((int) -1000391002), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_SHARING_LOCALIZATION_FAIL_BD")] + ErrorSpatialAnchorSharingLocalizationFailBD = unchecked((int) -1000391003), + [NativeName("Name", "XR_ERROR_SPATIAL_ANCHOR_SHARING_MAP_INSUFFICIENT_BD")] + ErrorSpatialAnchorSharingMapInsufficientBD = unchecked((int) -1000391004), + [NativeName("Name", "XR_ERROR_SCENE_CAPTURE_FAILURE_BD")] + ErrorSceneCaptureFailureBD = unchecked((int) -1000392000), [NativeName("Name", "XR_ERROR_SPACE_NOT_LOCATABLE_EXT")] ErrorSpaceNotLocatableExt = unchecked((int) -1000429000), [NativeName("Name", "XR_ERROR_PLANE_DETECTION_PERMISSION_DENIED_EXT")] ErrorPlaneDetectionPermissionDeniedExt = unchecked((int) -1000429001), + [NativeName("Name", "XR_ERROR_MISMATCHING_TRACKABLE_TYPE_ANDROID")] + ErrorMismatchingTrackableTypeAndroid = unchecked((int) -1000455000), + [NativeName("Name", "XR_ERROR_TRACKABLE_TYPE_NOT_SUPPORTED_ANDROID")] + ErrorTrackableTypeNotSupportedAndroid = unchecked((int) -1000455001), + [NativeName("Name", "XR_ERROR_ANCHOR_ID_NOT_FOUND_ANDROID")] + ErrorAnchorIDNotFoundAndroid = unchecked((int) -1000457000), + [NativeName("Name", "XR_ERROR_ANCHOR_ALREADY_PERSISTED_ANDROID")] + ErrorAnchorAlreadyPersistedAndroid = unchecked((int) -1000457001), + [NativeName("Name", "XR_ERROR_ANCHOR_NOT_TRACKING_ANDROID")] + ErrorAnchorNotTrackingAndroid = unchecked((int) -1000457002), + [NativeName("Name", "XR_ERROR_PERSISTED_DATA_NOT_READY_ANDROID")] + ErrorPersistedDataNotReadyAndroid = unchecked((int) -1000457003), [NativeName("Name", "XR_ERROR_FUTURE_PENDING_EXT")] ErrorFuturePendingExt = unchecked((int) -1000469001), [NativeName("Name", "XR_ERROR_FUTURE_INVALID_EXT")] @@ -252,10 +306,40 @@ public enum Result : int ErrorWorldMeshDetectorPermissionDeniedML = unchecked((int) -1000474000), [NativeName("Name", "XR_ERROR_WORLD_MESH_DETECTOR_SPACE_NOT_LOCATABLE_ML")] ErrorWorldMeshDetectorSpaceNotLocatableML = unchecked((int) -1000474001), + [NativeName("Name", "XR_ERROR_FACIAL_EXPRESSION_PERMISSION_DENIED_ML")] + ErrorFacialExpressionPermissionDeniedML = 1000482000, + [NativeName("Name", "XR_ERROR_COLOCATION_DISCOVERY_NETWORK_FAILED_META")] + ErrorColocationDiscoveryNetworkFailedMeta = unchecked((int) -1000571001), + [NativeName("Name", "XR_ERROR_COLOCATION_DISCOVERY_NO_DISCOVERY_METHOD_META")] + ErrorColocationDiscoveryNoDiscoveryMethodMeta = unchecked((int) -1000571002), + [NativeName("Name", "XR_COLOCATION_DISCOVERY_ALREADY_ADVERTISING_META")] + ColocationDiscoveryAlreadyAdvertisingMeta = 1000571003, + [NativeName("Name", "XR_COLOCATION_DISCOVERY_ALREADY_DISCOVERING_META")] + ColocationDiscoveryAlreadyDiscoveringMeta = 1000571004, + [NativeName("Name", "XR_ERROR_SPACE_GROUP_NOT_FOUND_META")] + ErrorSpaceGroupNotFoundMeta = unchecked((int) -1000572002), + [NativeName("Name", "XR_ERROR_ANCHOR_NOT_OWNED_BY_CALLER_ANDROID")] + ErrorAnchorNotOwnedByCallerAndroid = unchecked((int) -1000701000), [NativeName("Name", "XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED_KHR")] ErrorExtensionDependencyNotEnabledKhr = unchecked((int) -1000710001), [NativeName("Name", "XR_ERROR_PERMISSION_INSUFFICIENT_KHR")] ErrorPermissionInsufficientKhr = unchecked((int) -1000710000), + [NativeName("Name", "XR_ERROR_SPATIAL_CAPABILITY_UNSUPPORTED_EXT")] + ErrorSpatialCapabilityUnsupportedExt = unchecked((int) -1000740001), + [NativeName("Name", "XR_ERROR_SPATIAL_ENTITY_ID_INVALID_EXT")] + ErrorSpatialEntityIDInvalidExt = unchecked((int) -1000740002), + [NativeName("Name", "XR_ERROR_SPATIAL_BUFFER_ID_INVALID_EXT")] + ErrorSpatialBufferIDInvalidExt = unchecked((int) -1000740003), + [NativeName("Name", "XR_ERROR_SPATIAL_COMPONENT_UNSUPPORTED_FOR_CAPABILITY_EXT")] + ErrorSpatialComponentUnsupportedForCapabilityExt = unchecked((int) -1000740004), + [NativeName("Name", "XR_ERROR_SPATIAL_CAPABILITY_CONFIGURATION_INVALID_EXT")] + ErrorSpatialCapabilityConfigurationInvalidExt = unchecked((int) -1000740005), + [NativeName("Name", "XR_ERROR_SPATIAL_COMPONENT_NOT_ENABLED_EXT")] + ErrorSpatialComponentNotEnabledExt = unchecked((int) -1000740006), + [NativeName("Name", "XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_UNSUPPORTED_EXT")] + ErrorSpatialPersistenceScopeUnsupportedExt = unchecked((int) -1000763001), + [NativeName("Name", "XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_INCOMPATIBLE_EXT")] + ErrorSpatialPersistenceScopeIncompatibleExt = unchecked((int) -1000781001), [NativeName("Name", "XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED")] ErrorExtensionDependencyNotEnabled = unchecked((int) -1000710001), [NativeName("Name", "XR_ERROR_PERMISSION_INSUFFICIENT")] diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SemanticLabelBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SemanticLabelBD.gen.cs new file mode 100644 index 0000000000..87c5b09804 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SemanticLabelBD.gen.cs @@ -0,0 +1,141 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSemanticLabelBD")] + public enum SemanticLabelBD : int + { + [Obsolete("Deprecated in favour of \"UnknownBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_UNKNOWN_BD")] + SemanticLabelUnknownBD = 0, + [Obsolete("Deprecated in favour of \"FloorBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_FLOOR_BD")] + SemanticLabelFloorBD = 1, + [Obsolete("Deprecated in favour of \"CeilingBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_CEILING_BD")] + SemanticLabelCeilingBD = 2, + [Obsolete("Deprecated in favour of \"WallBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_WALL_BD")] + SemanticLabelWallBD = 3, + [Obsolete("Deprecated in favour of \"DoorBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_DOOR_BD")] + SemanticLabelDoorBD = 4, + [Obsolete("Deprecated in favour of \"WindowBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_WINDOW_BD")] + SemanticLabelWindowBD = 5, + [Obsolete("Deprecated in favour of \"OpeningBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_OPENING_BD")] + SemanticLabelOpeningBD = 6, + [Obsolete("Deprecated in favour of \"TableBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_TABLE_BD")] + SemanticLabelTableBD = 7, + [Obsolete("Deprecated in favour of \"SofaBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_SOFA_BD")] + SemanticLabelSofaBD = 8, + [Obsolete("Deprecated in favour of \"ChairBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_CHAIR_BD")] + SemanticLabelChairBD = 9, + [Obsolete("Deprecated in favour of \"HumanBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_HUMAN_BD")] + SemanticLabelHumanBD = 10, + [Obsolete("Deprecated in favour of \"BeamBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_BEAM_BD")] + SemanticLabelBeamBD = 11, + [Obsolete("Deprecated in favour of \"ColumnBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_COLUMN_BD")] + SemanticLabelColumnBD = 12, + [Obsolete("Deprecated in favour of \"CurtainBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_CURTAIN_BD")] + SemanticLabelCurtainBD = 13, + [Obsolete("Deprecated in favour of \"CabinetBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_CABINET_BD")] + SemanticLabelCabinetBD = 14, + [Obsolete("Deprecated in favour of \"BedBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_BED_BD")] + SemanticLabelBedBD = 15, + [Obsolete("Deprecated in favour of \"PlantBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_PLANT_BD")] + SemanticLabelPlantBD = 16, + [Obsolete("Deprecated in favour of \"ScreenBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_SCREEN_BD")] + SemanticLabelScreenBD = 17, + [Obsolete("Deprecated in favour of \"VirtualWallBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_VIRTUAL_WALL_BD")] + SemanticLabelVirtualWallBD = 18, + [Obsolete("Deprecated in favour of \"RefrigeratorBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_REFRIGERATOR_BD")] + SemanticLabelRefrigeratorBD = 19, + [Obsolete("Deprecated in favour of \"WashingMachineBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_WASHING_MACHINE_BD")] + SemanticLabelWashingMachineBD = 20, + [Obsolete("Deprecated in favour of \"AirConditionerBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_AIR_CONDITIONER_BD")] + SemanticLabelAirConditionerBD = 21, + [Obsolete("Deprecated in favour of \"LampBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_LAMP_BD")] + SemanticLabelLampBD = 22, + [Obsolete("Deprecated in favour of \"WallArtBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_WALL_ART_BD")] + SemanticLabelWallArtBD = 23, + [Obsolete("Deprecated in favour of \"StairwayBD\"")] + [NativeName("Name", "XR_SEMANTIC_LABEL_STAIRWAY_BD")] + SemanticLabelStairwayBD = 24, + [NativeName("Name", "XR_SEMANTIC_LABEL_UNKNOWN_BD")] + UnknownBD = 0, + [NativeName("Name", "XR_SEMANTIC_LABEL_FLOOR_BD")] + FloorBD = 1, + [NativeName("Name", "XR_SEMANTIC_LABEL_CEILING_BD")] + CeilingBD = 2, + [NativeName("Name", "XR_SEMANTIC_LABEL_WALL_BD")] + WallBD = 3, + [NativeName("Name", "XR_SEMANTIC_LABEL_DOOR_BD")] + DoorBD = 4, + [NativeName("Name", "XR_SEMANTIC_LABEL_WINDOW_BD")] + WindowBD = 5, + [NativeName("Name", "XR_SEMANTIC_LABEL_OPENING_BD")] + OpeningBD = 6, + [NativeName("Name", "XR_SEMANTIC_LABEL_TABLE_BD")] + TableBD = 7, + [NativeName("Name", "XR_SEMANTIC_LABEL_SOFA_BD")] + SofaBD = 8, + [NativeName("Name", "XR_SEMANTIC_LABEL_CHAIR_BD")] + ChairBD = 9, + [NativeName("Name", "XR_SEMANTIC_LABEL_HUMAN_BD")] + HumanBD = 10, + [NativeName("Name", "XR_SEMANTIC_LABEL_BEAM_BD")] + BeamBD = 11, + [NativeName("Name", "XR_SEMANTIC_LABEL_COLUMN_BD")] + ColumnBD = 12, + [NativeName("Name", "XR_SEMANTIC_LABEL_CURTAIN_BD")] + CurtainBD = 13, + [NativeName("Name", "XR_SEMANTIC_LABEL_CABINET_BD")] + CabinetBD = 14, + [NativeName("Name", "XR_SEMANTIC_LABEL_BED_BD")] + BedBD = 15, + [NativeName("Name", "XR_SEMANTIC_LABEL_PLANT_BD")] + PlantBD = 16, + [NativeName("Name", "XR_SEMANTIC_LABEL_SCREEN_BD")] + ScreenBD = 17, + [NativeName("Name", "XR_SEMANTIC_LABEL_VIRTUAL_WALL_BD")] + VirtualWallBD = 18, + [NativeName("Name", "XR_SEMANTIC_LABEL_REFRIGERATOR_BD")] + RefrigeratorBD = 19, + [NativeName("Name", "XR_SEMANTIC_LABEL_WASHING_MACHINE_BD")] + WashingMachineBD = 20, + [NativeName("Name", "XR_SEMANTIC_LABEL_AIR_CONDITIONER_BD")] + AirConditionerBD = 21, + [NativeName("Name", "XR_SEMANTIC_LABEL_LAMP_BD")] + LampBD = 22, + [NativeName("Name", "XR_SEMANTIC_LABEL_WALL_ART_BD")] + WallArtBD = 23, + [NativeName("Name", "XR_SEMANTIC_LABEL_STAIRWAY_BD")] + StairwayBD = 24, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderStateBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderStateBD.gen.cs new file mode 100644 index 0000000000..ecae2f63e4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderStateBD.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderStateBD")] + public enum SenseDataProviderStateBD : int + { + [Obsolete("Deprecated in favour of \"InitializedBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_INITIALIZED_BD")] + SenseDataProviderStateInitializedBD = 0, + [Obsolete("Deprecated in favour of \"RunningBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_RUNNING_BD")] + SenseDataProviderStateRunningBD = 1, + [Obsolete("Deprecated in favour of \"StoppedBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_STOPPED_BD")] + SenseDataProviderStateStoppedBD = 2, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_INITIALIZED_BD")] + InitializedBD = 0, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_RUNNING_BD")] + RunningBD = 1, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_STATE_STOPPED_BD")] + StoppedBD = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderTypeBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderTypeBD.gen.cs new file mode 100644 index 0000000000..b7838447d7 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SenseDataProviderTypeBD.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderTypeBD")] + public enum SenseDataProviderTypeBD : int + { + [Obsolete("Deprecated in favour of \"AnchorBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_ANCHOR_BD")] + SenseDataProviderTypeAnchorBD = 1000390000, + [Obsolete("Deprecated in favour of \"SceneBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_SCENE_BD")] + SenseDataProviderTypeSceneBD = 1000392000, + [Obsolete("Deprecated in favour of \"MeshBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_MESH_BD")] + SenseDataProviderTypeMeshBD = 1000393000, + [Obsolete("Deprecated in favour of \"PlaneBD\"")] + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_PLANE_BD")] + SenseDataProviderTypePlaneBD = 1000396000, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_ANCHOR_BD")] + AnchorBD = 1000390000, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_SCENE_BD")] + SceneBD = 1000392000, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_MESH_BD")] + MeshBD = 1000393000, + [NativeName("Name", "XR_SENSE_DATA_PROVIDER_TYPE_PLANE_BD")] + PlaneBD = 1000396000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialBufferTypeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialBufferTypeEXT.gen.cs new file mode 100644 index 0000000000..ebf64ca0b4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialBufferTypeEXT.gen.cs @@ -0,0 +1,56 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialBufferTypeEXT")] + public enum SpatialBufferTypeEXT : int + { + [Obsolete("Deprecated in favour of \"UnknownExt\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UNKNOWN_EXT")] + SpatialBufferTypeUnknownExt = 0, + [Obsolete("Deprecated in favour of \"StringExt\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_STRING_EXT")] + SpatialBufferTypeStringExt = 1, + [Obsolete("Deprecated in favour of \"Uint8Ext\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT8_EXT")] + SpatialBufferTypeUint8Ext = 2, + [Obsolete("Deprecated in favour of \"Uint16Ext\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT16_EXT")] + SpatialBufferTypeUint16Ext = 3, + [Obsolete("Deprecated in favour of \"Uint32Ext\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT32_EXT")] + SpatialBufferTypeUint32Ext = 4, + [Obsolete("Deprecated in favour of \"FloatExt\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_FLOAT_EXT")] + SpatialBufferTypeFloatExt = 5, + [Obsolete("Deprecated in favour of \"Vector2fExt\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_VECTOR2F_EXT")] + SpatialBufferTypeVector2fExt = 6, + [Obsolete("Deprecated in favour of \"Vector3fExt\"")] + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_VECTOR3F_EXT")] + SpatialBufferTypeVector3fExt = 7, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UNKNOWN_EXT")] + UnknownExt = 0, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_STRING_EXT")] + StringExt = 1, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT8_EXT")] + Uint8Ext = 2, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT16_EXT")] + Uint16Ext = 3, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_UINT32_EXT")] + Uint32Ext = 4, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_FLOAT_EXT")] + FloatExt = 5, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_VECTOR2F_EXT")] + Vector2fExt = 6, + [NativeName("Name", "XR_SPATIAL_BUFFER_TYPE_VECTOR3F_EXT")] + Vector3fExt = 7, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityEXT.gen.cs new file mode 100644 index 0000000000..21fcf934c6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityEXT.gen.cs @@ -0,0 +1,46 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityEXT")] + public enum SpatialCapabilityEXT : int + { + [Obsolete("Deprecated in favour of \"PlaneTrackingExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_PLANE_TRACKING_EXT")] + SpatialCapabilityPlaneTrackingExt = 1000741000, + [Obsolete("Deprecated in favour of \"MarkerTrackingQRCodeExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_QR_CODE_EXT")] + SpatialCapabilityMarkerTrackingQRCodeExt = 1000743000, + [Obsolete("Deprecated in favour of \"MarkerTrackingMicroQRCodeExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_MICRO_QR_CODE_EXT")] + SpatialCapabilityMarkerTrackingMicroQRCodeExt = 1000743001, + [Obsolete("Deprecated in favour of \"MarkerTrackingArucoMarkerExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_ARUCO_MARKER_EXT")] + SpatialCapabilityMarkerTrackingArucoMarkerExt = 1000743002, + [Obsolete("Deprecated in favour of \"MarkerTrackingAprilTagExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT")] + SpatialCapabilityMarkerTrackingAprilTagExt = 1000743003, + [Obsolete("Deprecated in favour of \"AnchorExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_ANCHOR_EXT")] + SpatialCapabilityAnchorExt = 1000762000, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_PLANE_TRACKING_EXT")] + PlaneTrackingExt = 1000741000, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_QR_CODE_EXT")] + MarkerTrackingQRCodeExt = 1000743000, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_MICRO_QR_CODE_EXT")] + MarkerTrackingMicroQRCodeExt = 1000743001, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_ARUCO_MARKER_EXT")] + MarkerTrackingArucoMarkerExt = 1000743002, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT")] + MarkerTrackingAprilTagExt = 1000743003, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_ANCHOR_EXT")] + AnchorExt = 1000762000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityFeatureEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityFeatureEXT.gen.cs new file mode 100644 index 0000000000..32eda127d7 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialCapabilityFeatureEXT.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityFeatureEXT")] + public enum SpatialCapabilityFeatureEXT : int + { + [Obsolete("Deprecated in favour of \"FixedSizeMarkersExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_FIXED_SIZE_MARKERS_EXT")] + SpatialCapabilityFeatureMarkerTrackingFixedSizeMarkersExt = 1000743000, + [Obsolete("Deprecated in favour of \"StaticMarkersExt\"")] + [NativeName("Name", "XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT")] + SpatialCapabilityFeatureMarkerTrackingStaticMarkersExt = 1000743001, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_FIXED_SIZE_MARKERS_EXT")] + FixedSizeMarkersExt = 1000743000, + [NativeName("Name", "XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT")] + StaticMarkersExt = 1000743001, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialComponentTypeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialComponentTypeEXT.gen.cs new file mode 100644 index 0000000000..9992cbc0a6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialComponentTypeEXT.gen.cs @@ -0,0 +1,71 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentTypeEXT")] + public enum SpatialComponentTypeEXT : int + { + [Obsolete("Deprecated in favour of \"Bounded2DExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_BOUNDED_2D_EXT")] + SpatialComponentTypeBounded2DExt = 1, + [Obsolete("Deprecated in favour of \"Bounded3DExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_BOUNDED_3D_EXT")] + SpatialComponentTypeBounded3DExt = 2, + [Obsolete("Deprecated in favour of \"ParentExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PARENT_EXT")] + SpatialComponentTypeParentExt = 3, + [Obsolete("Deprecated in favour of \"Mesh3DExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MESH_3D_EXT")] + SpatialComponentTypeMesh3DExt = 4, + [Obsolete("Deprecated in favour of \"PlaneAlignmentExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PLANE_ALIGNMENT_EXT")] + SpatialComponentTypePlaneAlignmentExt = 1000741000, + [Obsolete("Deprecated in favour of \"Mesh2DExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MESH_2D_EXT")] + SpatialComponentTypeMesh2DExt = 1000741001, + [Obsolete("Deprecated in favour of \"Polygon2DExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_POLYGON_2D_EXT")] + SpatialComponentTypePolygon2DExt = 1000741002, + [Obsolete("Deprecated in favour of \"PlaneSemanticLabelExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PLANE_SEMANTIC_LABEL_EXT")] + SpatialComponentTypePlaneSemanticLabelExt = 1000741003, + [Obsolete("Deprecated in favour of \"MarkerExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MARKER_EXT")] + SpatialComponentTypeMarkerExt = 1000743000, + [Obsolete("Deprecated in favour of \"AnchorExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_ANCHOR_EXT")] + SpatialComponentTypeAnchorExt = 1000762000, + [Obsolete("Deprecated in favour of \"PersistenceExt\"")] + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PERSISTENCE_EXT")] + SpatialComponentTypePersistenceExt = 1000763000, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_BOUNDED_2D_EXT")] + Bounded2DExt = 1, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_BOUNDED_3D_EXT")] + Bounded3DExt = 2, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PARENT_EXT")] + ParentExt = 3, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MESH_3D_EXT")] + Mesh3DExt = 4, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PLANE_ALIGNMENT_EXT")] + PlaneAlignmentExt = 1000741000, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MESH_2D_EXT")] + Mesh2DExt = 1000741001, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_POLYGON_2D_EXT")] + Polygon2DExt = 1000741002, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PLANE_SEMANTIC_LABEL_EXT")] + PlaneSemanticLabelExt = 1000741003, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_MARKER_EXT")] + MarkerExt = 1000743000, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_ANCHOR_EXT")] + AnchorExt = 1000762000, + [NativeName("Name", "XR_SPATIAL_COMPONENT_TYPE_PERSISTENCE_EXT")] + PersistenceExt = 1000763000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityComponentTypeBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityComponentTypeBD.gen.cs new file mode 100644 index 0000000000..b154e033dd --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityComponentTypeBD.gen.cs @@ -0,0 +1,51 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentTypeBD")] + public enum SpatialEntityComponentTypeBD : int + { + [Obsolete("Deprecated in favour of \"LocationBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_LOCATION_BD")] + SpatialEntityComponentTypeLocationBD = 0, + [Obsolete("Deprecated in favour of \"SemanticBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_SEMANTIC_BD")] + SpatialEntityComponentTypeSemanticBD = 1, + [Obsolete("Deprecated in favour of \"BoundingBox2DBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_2D_BD")] + SpatialEntityComponentTypeBoundingBox2DBD = 2, + [Obsolete("Deprecated in favour of \"PolygonBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_POLYGON_BD")] + SpatialEntityComponentTypePolygonBD = 3, + [Obsolete("Deprecated in favour of \"BoundingBox3DBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD")] + SpatialEntityComponentTypeBoundingBox3DBD = 4, + [Obsolete("Deprecated in favour of \"TriangleMeshBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_TRIANGLE_MESH_BD")] + SpatialEntityComponentTypeTriangleMeshBD = 5, + [Obsolete("Deprecated in favour of \"PlaneOrientationBD\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_PLANE_ORIENTATION_BD")] + SpatialEntityComponentTypePlaneOrientationBD = 1000396000, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_LOCATION_BD")] + LocationBD = 0, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_SEMANTIC_BD")] + SemanticBD = 1, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_2D_BD")] + BoundingBox2DBD = 2, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_POLYGON_BD")] + PolygonBD = 3, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD")] + BoundingBox3DBD = 4, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_TRIANGLE_MESH_BD")] + TriangleMeshBD = 5, + [NativeName("Name", "XR_SPATIAL_ENTITY_COMPONENT_TYPE_PLANE_ORIENTATION_BD")] + PlaneOrientationBD = 1000396000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityTrackingStateEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityTrackingStateEXT.gen.cs new file mode 100644 index 0000000000..5943997b0e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialEntityTrackingStateEXT.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityTrackingStateEXT")] + public enum SpatialEntityTrackingStateEXT : int + { + [Obsolete("Deprecated in favour of \"StoppedExt\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_STOPPED_EXT")] + SpatialEntityTrackingStateStoppedExt = 1, + [Obsolete("Deprecated in favour of \"PausedExt\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_PAUSED_EXT")] + SpatialEntityTrackingStatePausedExt = 2, + [Obsolete("Deprecated in favour of \"TrackingExt\"")] + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_TRACKING_EXT")] + SpatialEntityTrackingStateTrackingExt = 3, + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_STOPPED_EXT")] + StoppedExt = 1, + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_PAUSED_EXT")] + PausedExt = 2, + [NativeName("Name", "XR_SPATIAL_ENTITY_TRACKING_STATE_TRACKING_EXT")] + TrackingExt = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerAprilTagDictEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerAprilTagDictEXT.gen.cs new file mode 100644 index 0000000000..54ec951ef1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerAprilTagDictEXT.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMarkerAprilTagDictEXT")] + public enum SpatialMarkerAprilTagDictEXT : int + { + [Obsolete("Deprecated in favour of \"Dict16H5Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_16H5_EXT")] + SpatialMarkerAprilTagDict16H5Ext = 1, + [Obsolete("Deprecated in favour of \"Dict25H9Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_25H9_EXT")] + SpatialMarkerAprilTagDict25H9Ext = 2, + [Obsolete("Deprecated in favour of \"Dict36H10Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H10_EXT")] + SpatialMarkerAprilTagDict36H10Ext = 3, + [Obsolete("Deprecated in favour of \"Dict36H11Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H11_EXT")] + SpatialMarkerAprilTagDict36H11Ext = 4, + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_16H5_EXT")] + Dict16H5Ext = 1, + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_25H9_EXT")] + Dict25H9Ext = 2, + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H10_EXT")] + Dict36H10Ext = 3, + [NativeName("Name", "XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H11_EXT")] + Dict36H11Ext = 4, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerArucoDictEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerArucoDictEXT.gen.cs new file mode 100644 index 0000000000..834c1f8c88 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMarkerArucoDictEXT.gen.cs @@ -0,0 +1,96 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMarkerArucoDictEXT")] + public enum SpatialMarkerArucoDictEXT : int + { + [Obsolete("Deprecated in favour of \"Dict4X450Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_50_EXT")] + SpatialMarkerArucoDict4X450Ext = 1, + [Obsolete("Deprecated in favour of \"Dict4X4100Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_100_EXT")] + SpatialMarkerArucoDict4X4100Ext = 2, + [Obsolete("Deprecated in favour of \"Dict4X4250Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_250_EXT")] + SpatialMarkerArucoDict4X4250Ext = 3, + [Obsolete("Deprecated in favour of \"Dict4X41000Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_1000_EXT")] + SpatialMarkerArucoDict4X41000Ext = 4, + [Obsolete("Deprecated in favour of \"Dict5X550Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_50_EXT")] + SpatialMarkerArucoDict5X550Ext = 5, + [Obsolete("Deprecated in favour of \"Dict5X5100Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_100_EXT")] + SpatialMarkerArucoDict5X5100Ext = 6, + [Obsolete("Deprecated in favour of \"Dict5X5250Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_250_EXT")] + SpatialMarkerArucoDict5X5250Ext = 7, + [Obsolete("Deprecated in favour of \"Dict5X51000Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_1000_EXT")] + SpatialMarkerArucoDict5X51000Ext = 8, + [Obsolete("Deprecated in favour of \"Dict6X650Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_50_EXT")] + SpatialMarkerArucoDict6X650Ext = 9, + [Obsolete("Deprecated in favour of \"Dict6X6100Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_100_EXT")] + SpatialMarkerArucoDict6X6100Ext = 10, + [Obsolete("Deprecated in favour of \"Dict6X6250Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_250_EXT")] + SpatialMarkerArucoDict6X6250Ext = 11, + [Obsolete("Deprecated in favour of \"Dict6X61000Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_1000_EXT")] + SpatialMarkerArucoDict6X61000Ext = 12, + [Obsolete("Deprecated in favour of \"Dict7X750Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_50_EXT")] + SpatialMarkerArucoDict7X750Ext = 13, + [Obsolete("Deprecated in favour of \"Dict7X7100Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_100_EXT")] + SpatialMarkerArucoDict7X7100Ext = 14, + [Obsolete("Deprecated in favour of \"Dict7X7250Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_250_EXT")] + SpatialMarkerArucoDict7X7250Ext = 15, + [Obsolete("Deprecated in favour of \"Dict7X71000Ext\"")] + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_1000_EXT")] + SpatialMarkerArucoDict7X71000Ext = 16, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_50_EXT")] + Dict4X450Ext = 1, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_100_EXT")] + Dict4X4100Ext = 2, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_250_EXT")] + Dict4X4250Ext = 3, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_4X4_1000_EXT")] + Dict4X41000Ext = 4, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_50_EXT")] + Dict5X550Ext = 5, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_100_EXT")] + Dict5X5100Ext = 6, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_250_EXT")] + Dict5X5250Ext = 7, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_5X5_1000_EXT")] + Dict5X51000Ext = 8, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_50_EXT")] + Dict6X650Ext = 9, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_100_EXT")] + Dict6X6100Ext = 10, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_250_EXT")] + Dict6X6250Ext = 11, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_6X6_1000_EXT")] + Dict6X61000Ext = 12, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_50_EXT")] + Dict7X750Ext = 13, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_100_EXT")] + Dict7X7100Ext = 14, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_250_EXT")] + Dict7X7250Ext = 15, + [NativeName("Name", "XR_SPATIAL_MARKER_ARUCO_DICT_7X7_1000_EXT")] + Dict7X71000Ext = 16, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshConfigFlagsBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshConfigFlagsBD.gen.cs new file mode 100644 index 0000000000..de2b440e38 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshConfigFlagsBD.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [Flags] + [NativeName("Name", "XrSpatialMeshConfigFlagsBD")] + public enum SpatialMeshConfigFlagsBD : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"SemanticBitBD\"")] + [NativeName("Name", "XR_SPATIAL_MESH_CONFIG_SEMANTIC_BIT_BD")] + SpatialMeshConfigSemanticBitBD = 1, + [Obsolete("Deprecated in favour of \"AlignSemanticWithVertexBitBD\"")] + [NativeName("Name", "XR_SPATIAL_MESH_CONFIG_ALIGN_SEMANTIC_WITH_VERTEX_BIT_BD")] + SpatialMeshConfigAlignSemanticWithVertexBitBD = 2, + [NativeName("Name", "XR_SPATIAL_MESH_CONFIG_SEMANTIC_BIT_BD")] + SemanticBitBD = 1, + [NativeName("Name", "XR_SPATIAL_MESH_CONFIG_ALIGN_SEMANTIC_WITH_VERTEX_BIT_BD")] + AlignSemanticWithVertexBitBD = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshLodBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshLodBD.gen.cs new file mode 100644 index 0000000000..18d82fe91f --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialMeshLodBD.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMeshLodBD")] + public enum SpatialMeshLodBD : int + { + [Obsolete("Deprecated in favour of \"CoarseBD\"")] + [NativeName("Name", "XR_SPATIAL_MESH_LOD_COARSE_BD")] + SpatialMeshLodCoarseBD = 0, + [Obsolete("Deprecated in favour of \"MediumBD\"")] + [NativeName("Name", "XR_SPATIAL_MESH_LOD_MEDIUM_BD")] + SpatialMeshLodMediumBD = 1, + [Obsolete("Deprecated in favour of \"FineBD\"")] + [NativeName("Name", "XR_SPATIAL_MESH_LOD_FINE_BD")] + SpatialMeshLodFineBD = 2, + [NativeName("Name", "XR_SPATIAL_MESH_LOD_COARSE_BD")] + CoarseBD = 0, + [NativeName("Name", "XR_SPATIAL_MESH_LOD_MEDIUM_BD")] + MediumBD = 1, + [NativeName("Name", "XR_SPATIAL_MESH_LOD_FINE_BD")] + FineBD = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceContextResultEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceContextResultEXT.gen.cs new file mode 100644 index 0000000000..89ae608d48 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceContextResultEXT.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceContextResultEXT")] + public enum SpatialPersistenceContextResultEXT : int + { + [Obsolete("Deprecated in favour of \"SuccessExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_SUCCESS_EXT")] + SpatialPersistenceContextResultSuccessExt = 0, + [Obsolete("Deprecated in favour of \"EntityNotTrackingExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_ENTITY_NOT_TRACKING_EXT")] + SpatialPersistenceContextResultEntityNotTrackingExt = unchecked((int) -1000781001), + [Obsolete("Deprecated in favour of \"PersistUuidNotFoundExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_PERSIST_UUID_NOT_FOUND_EXT")] + SpatialPersistenceContextResultPersistUuidNotFoundExt = unchecked((int) -1000781002), + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_SUCCESS_EXT")] + SuccessExt = 0, + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_ENTITY_NOT_TRACKING_EXT")] + EntityNotTrackingExt = unchecked((int) -1000781001), + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_PERSIST_UUID_NOT_FOUND_EXT")] + PersistUuidNotFoundExt = unchecked((int) -1000781002), + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceScopeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceScopeEXT.gen.cs new file mode 100644 index 0000000000..5cdf813798 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceScopeEXT.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceScopeEXT")] + public enum SpatialPersistenceScopeEXT : int + { + [Obsolete("Deprecated in favour of \"SystemManagedExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_SCOPE_SYSTEM_MANAGED_EXT")] + SpatialPersistenceScopeSystemManagedExt = 1, + [Obsolete("Deprecated in favour of \"LocalAnchorsExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_SCOPE_LOCAL_ANCHORS_EXT")] + SpatialPersistenceScopeLocalAnchorsExt = 1000781000, + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_SCOPE_SYSTEM_MANAGED_EXT")] + SystemManagedExt = 1, + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_SCOPE_LOCAL_ANCHORS_EXT")] + LocalAnchorsExt = 1000781000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceStateEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceStateEXT.gen.cs new file mode 100644 index 0000000000..aa36e3493c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPersistenceStateEXT.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceStateEXT")] + public enum SpatialPersistenceStateEXT : int + { + [Obsolete("Deprecated in favour of \"LoadedExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_STATE_LOADED_EXT")] + SpatialPersistenceStateLoadedExt = 1, + [Obsolete("Deprecated in favour of \"NotFoundExt\"")] + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_STATE_NOT_FOUND_EXT")] + SpatialPersistenceStateNotFoundExt = 2, + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_STATE_LOADED_EXT")] + LoadedExt = 1, + [NativeName("Name", "XR_SPATIAL_PERSISTENCE_STATE_NOT_FOUND_EXT")] + NotFoundExt = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneAlignmentEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneAlignmentEXT.gen.cs new file mode 100644 index 0000000000..2bda64e9e9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneAlignmentEXT.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPlaneAlignmentEXT")] + public enum SpatialPlaneAlignmentEXT : int + { + [Obsolete("Deprecated in favour of \"HorizontalUpwardExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_UPWARD_EXT")] + SpatialPlaneAlignmentHorizontalUpwardExt = 0, + [Obsolete("Deprecated in favour of \"HorizontalDownwardExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD_EXT")] + SpatialPlaneAlignmentHorizontalDownwardExt = 1, + [Obsolete("Deprecated in favour of \"VerticalExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_VERTICAL_EXT")] + SpatialPlaneAlignmentVerticalExt = 2, + [Obsolete("Deprecated in favour of \"ArbitraryExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_ARBITRARY_EXT")] + SpatialPlaneAlignmentArbitraryExt = 3, + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_UPWARD_EXT")] + HorizontalUpwardExt = 0, + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD_EXT")] + HorizontalDownwardExt = 1, + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_VERTICAL_EXT")] + VerticalExt = 2, + [NativeName("Name", "XR_SPATIAL_PLANE_ALIGNMENT_ARBITRARY_EXT")] + ArbitraryExt = 3, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneSemanticLabelEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneSemanticLabelEXT.gen.cs new file mode 100644 index 0000000000..315c584ac5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/SpatialPlaneSemanticLabelEXT.gen.cs @@ -0,0 +1,41 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPlaneSemanticLabelEXT")] + public enum SpatialPlaneSemanticLabelEXT : int + { + [Obsolete("Deprecated in favour of \"UncategorizedExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_UNCATEGORIZED_EXT")] + SpatialPlaneSemanticLabelUncategorizedExt = 1, + [Obsolete("Deprecated in favour of \"FloorExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_FLOOR_EXT")] + SpatialPlaneSemanticLabelFloorExt = 2, + [Obsolete("Deprecated in favour of \"WallExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_WALL_EXT")] + SpatialPlaneSemanticLabelWallExt = 3, + [Obsolete("Deprecated in favour of \"CeilingExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_CEILING_EXT")] + SpatialPlaneSemanticLabelCeilingExt = 4, + [Obsolete("Deprecated in favour of \"TableExt\"")] + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_TABLE_EXT")] + SpatialPlaneSemanticLabelTableExt = 5, + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_UNCATEGORIZED_EXT")] + UncategorizedExt = 1, + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_FLOOR_EXT")] + FloorExt = 2, + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_WALL_EXT")] + WallExt = 3, + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_CEILING_EXT")] + CeilingExt = 4, + [NativeName("Name", "XR_SPATIAL_PLANE_SEMANTIC_LABEL_TABLE_EXT")] + TableExt = 5, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/StructureType.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/StructureType.gen.cs index a96eac7d97..4556f55c83 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Enums/StructureType.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/StructureType.gen.cs @@ -909,6 +909,12 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"DevicePcmSampleRateGetInfoFB\"")] [NativeName("Name", "XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB")] TypeDevicePcmSampleRateGetInfoFB = 1000209002, + [Obsolete("Deprecated in favour of \"FrameSynthesisInfoExt\"")] + [NativeName("Name", "XR_TYPE_FRAME_SYNTHESIS_INFO_EXT")] + TypeFrameSynthesisInfoExt = 1000211000, + [Obsolete("Deprecated in favour of \"FrameSynthesisConfigViewExt\"")] + [NativeName("Name", "XR_TYPE_FRAME_SYNTHESIS_CONFIG_VIEW_EXT")] + TypeFrameSynthesisConfigViewExt = 1000211001, [Obsolete("Deprecated in favour of \"CompositionLayerDepthTestFB\"")] [NativeName("Name", "XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB")] TypeCompositionLayerDepthTestFB = 1000212000, @@ -993,6 +999,21 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"RecommendedLayerResolutionGetInfoMeta\"")] [NativeName("Name", "XR_TYPE_RECOMMENDED_LAYER_RESOLUTION_GET_INFO_META")] TypeRecommendedLayerResolutionGetInfoMeta = 1000254001, + [Obsolete("Deprecated in favour of \"SystemSpacePersistencePropertiesMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPACE_PERSISTENCE_PROPERTIES_META")] + TypeSystemSpacePersistencePropertiesMeta = 1000259000, + [Obsolete("Deprecated in favour of \"SpacesSaveInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SPACES_SAVE_INFO_META")] + TypeSpacesSaveInfoMeta = 1000259001, + [Obsolete("Deprecated in favour of \"EventDataSpacesSaveResultMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPACES_SAVE_RESULT_META")] + TypeEventDataSpacesSaveResultMeta = 1000259002, + [Obsolete("Deprecated in favour of \"SpacesEraseInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SPACES_ERASE_INFO_META")] + TypeSpacesEraseInfoMeta = 1000259003, + [Obsolete("Deprecated in favour of \"EventDataSpacesEraseResultMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPACES_ERASE_RESULT_META")] + TypeEventDataSpacesEraseResultMeta = 1000259004, [Obsolete("Deprecated in favour of \"SystemPassthroughColorLutPropertiesMeta\"")] [NativeName("Name", "XR_TYPE_SYSTEM_PASSTHROUGH_COLOR_LUT_PROPERTIES_META")] TypeSystemPassthroughColorLutPropertiesMeta = 1000266000, @@ -1014,6 +1035,21 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"SpaceTriangleMeshMeta\"")] [NativeName("Name", "XR_TYPE_SPACE_TRIANGLE_MESH_META")] TypeSpaceTriangleMeshMeta = 1000269002, + [Obsolete("Deprecated in favour of \"SystemPropertiesBodyTrackingFullBodyMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FULL_BODY_META")] + TypeSystemPropertiesBodyTrackingFullBodyMeta = 1000274000, + [Obsolete("Deprecated in favour of \"EventDataPassthroughLayerResumedMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_PASSTHROUGH_LAYER_RESUMED_META")] + TypeEventDataPassthroughLayerResumedMeta = 1000282000, + [Obsolete("Deprecated in favour of \"BodyTrackingCalibrationInfoMeta\"")] + [NativeName("Name", "XR_TYPE_BODY_TRACKING_CALIBRATION_INFO_META")] + TypeBodyTrackingCalibrationInfoMeta = 1000283002, + [Obsolete("Deprecated in favour of \"BodyTrackingCalibrationStatusMeta\"")] + [NativeName("Name", "XR_TYPE_BODY_TRACKING_CALIBRATION_STATUS_META")] + TypeBodyTrackingCalibrationStatusMeta = 1000283003, + [Obsolete("Deprecated in favour of \"SystemPropertiesBodyTrackingCalibrationMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_CALIBRATION_META")] + TypeSystemPropertiesBodyTrackingCalibrationMeta = 1000283004, [Obsolete("Deprecated in favour of \"SystemFaceTrackingProperties2FB\"")] [NativeName("Name", "XR_TYPE_SYSTEM_FACE_TRACKING_PROPERTIES2_FB")] TypeSystemFaceTrackingProperties2FB = 1000287013, @@ -1026,6 +1062,15 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"FaceExpressionWeights2FB\"")] [NativeName("Name", "XR_TYPE_FACE_EXPRESSION_WEIGHTS2_FB")] TypeFaceExpressionWeights2FB = 1000287016, + [Obsolete("Deprecated in favour of \"SystemSpatialEntitySharingPropertiesMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ENTITY_SHARING_PROPERTIES_META")] + TypeSystemSpatialEntitySharingPropertiesMeta = 1000290000, + [Obsolete("Deprecated in favour of \"ShareSpacesInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SHARE_SPACES_INFO_META")] + TypeShareSpacesInfoMeta = 1000290001, + [Obsolete("Deprecated in favour of \"EventDataShareSpacesCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SHARE_SPACES_COMPLETE_META")] + TypeEventDataShareSpacesCompleteMeta = 1000290002, [Obsolete("Deprecated in favour of \"EnvironmentDepthProviderCreateInfoMeta\"")] [NativeName("Name", "XR_TYPE_ENVIRONMENT_DEPTH_PROVIDER_CREATE_INFO_META")] TypeEnvironmentDepthProviderCreateInfoMeta = 1000291000, @@ -1050,6 +1095,51 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"SystemEnvironmentDepthPropertiesMeta\"")] [NativeName("Name", "XR_TYPE_SYSTEM_ENVIRONMENT_DEPTH_PROPERTIES_META")] TypeSystemEnvironmentDepthPropertiesMeta = 1000291007, + [Obsolete("Deprecated in favour of \"RenderModelCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_CREATE_INFO_EXT")] + TypeRenderModelCreateInfoExt = 1000300000, + [Obsolete("Deprecated in favour of \"RenderModelPropertiesGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_PROPERTIES_GET_INFO_EXT")] + TypeRenderModelPropertiesGetInfoExt = 1000300001, + [Obsolete("Deprecated in favour of \"RenderModelPropertiesExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_PROPERTIES_EXT")] + TypeRenderModelPropertiesExt = 1000300002, + [Obsolete("Deprecated in favour of \"RenderModelSpaceCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_SPACE_CREATE_INFO_EXT")] + TypeRenderModelSpaceCreateInfoExt = 1000300003, + [Obsolete("Deprecated in favour of \"RenderModelStateGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_STATE_GET_INFO_EXT")] + TypeRenderModelStateGetInfoExt = 1000300004, + [Obsolete("Deprecated in favour of \"RenderModelStateExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_STATE_EXT")] + TypeRenderModelStateExt = 1000300005, + [Obsolete("Deprecated in favour of \"RenderModelAssetCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_CREATE_INFO_EXT")] + TypeRenderModelAssetCreateInfoExt = 1000300006, + [Obsolete("Deprecated in favour of \"RenderModelAssetDataGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_DATA_GET_INFO_EXT")] + TypeRenderModelAssetDataGetInfoExt = 1000300007, + [Obsolete("Deprecated in favour of \"RenderModelAssetDataExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_DATA_EXT")] + TypeRenderModelAssetDataExt = 1000300008, + [Obsolete("Deprecated in favour of \"RenderModelAssetPropertiesGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_GET_INFO_EXT")] + TypeRenderModelAssetPropertiesGetInfoExt = 1000300009, + [Obsolete("Deprecated in favour of \"RenderModelAssetPropertiesExt\"")] + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_EXT")] + TypeRenderModelAssetPropertiesExt = 1000300010, + [Obsolete("Deprecated in favour of \"InteractionRenderModelIdsEnumerateInfoExt\"")] + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_IDS_ENUMERATE_INFO_EXT")] + TypeInteractionRenderModelIdsEnumerateInfoExt = 1000301000, + [Obsolete("Deprecated in favour of \"InteractionRenderModelSubactionPathInfoExt\"")] + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_SUBACTION_PATH_INFO_EXT")] + TypeInteractionRenderModelSubactionPathInfoExt = 1000301001, + [Obsolete("Deprecated in favour of \"EventDataInteractionRenderModelsChangedExt\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_INTERACTION_RENDER_MODELS_CHANGED_EXT")] + TypeEventDataInteractionRenderModelsChangedExt = 1000301002, + [Obsolete("Deprecated in favour of \"InteractionRenderModelTopLevelUserPathGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_TOP_LEVEL_USER_PATH_GET_INFO_EXT")] + TypeInteractionRenderModelTopLevelUserPathGetInfoExt = 1000301003, [Obsolete("Deprecated in favour of \"PassthroughCreateInfoHtc\"")] [NativeName("Name", "XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC")] TypePassthroughCreateInfoHtc = 1000317001, @@ -1101,6 +1191,132 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"ForceFeedbackCurlApplyLocationsMndx\"")] [NativeName("Name", "XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDX")] TypeForceFeedbackCurlApplyLocationsMndx = 1000375001, + [Obsolete("Deprecated in favour of \"BodyTrackerCreateInfoBD\"")] + [NativeName("Name", "XR_TYPE_BODY_TRACKER_CREATE_INFO_BD")] + TypeBodyTrackerCreateInfoBD = 1000385001, + [Obsolete("Deprecated in favour of \"BodyJointsLocateInfoBD\"")] + [NativeName("Name", "XR_TYPE_BODY_JOINTS_LOCATE_INFO_BD")] + TypeBodyJointsLocateInfoBD = 1000385002, + [Obsolete("Deprecated in favour of \"BodyJointLocationsBD\"")] + [NativeName("Name", "XR_TYPE_BODY_JOINT_LOCATIONS_BD")] + TypeBodyJointLocationsBD = 1000385003, + [Obsolete("Deprecated in favour of \"SystemBodyTrackingPropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_BD")] + TypeSystemBodyTrackingPropertiesBD = 1000385004, + [Obsolete("Deprecated in favour of \"SystemSpatialSensingPropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_SENSING_PROPERTIES_BD")] + TypeSystemSpatialSensingPropertiesBD = 1000389000, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentGetInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_GET_INFO_BD")] + TypeSpatialEntityComponentGetInfoBD = 1000389001, + [Obsolete("Deprecated in favour of \"SpatialEntityLocationGetInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_LOCATION_GET_INFO_BD")] + TypeSpatialEntityLocationGetInfoBD = 1000389002, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataLocationBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_LOCATION_BD")] + TypeSpatialEntityComponentDataLocationBD = 1000389003, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataSemanticBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SEMANTIC_BD")] + TypeSpatialEntityComponentDataSemanticBD = 1000389004, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataBoundingBox2DBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_2D_BD")] + TypeSpatialEntityComponentDataBoundingBox2DBD = 1000389005, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataPolygonBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_POLYGON_BD")] + TypeSpatialEntityComponentDataPolygonBD = 1000389006, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataBoundingBox3DBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_3D_BD")] + TypeSpatialEntityComponentDataBoundingBox3DBD = 1000389007, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataTriangleMeshBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_TRIANGLE_MESH_BD")] + TypeSpatialEntityComponentDataTriangleMeshBD = 1000389008, + [Obsolete("Deprecated in favour of \"SenseDataProviderCreateInfoBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_BD")] + TypeSenseDataProviderCreateInfoBD = 1000389009, + [Obsolete("Deprecated in favour of \"SenseDataProviderStartInfoBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_START_INFO_BD")] + TypeSenseDataProviderStartInfoBD = 1000389010, + [Obsolete("Deprecated in favour of \"EventDataSenseDataProviderStateChangedBD\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SENSE_DATA_PROVIDER_STATE_CHANGED_BD")] + TypeEventDataSenseDataProviderStateChangedBD = 1000389011, + [Obsolete("Deprecated in favour of \"EventDataSenseDataUpdatedBD\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SENSE_DATA_UPDATED_BD")] + TypeEventDataSenseDataUpdatedBD = 1000389012, + [Obsolete("Deprecated in favour of \"SenseDataQueryInfoBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_QUERY_INFO_BD")] + TypeSenseDataQueryInfoBD = 1000389013, + [Obsolete("Deprecated in favour of \"SenseDataQueryCompletionBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_QUERY_COMPLETION_BD")] + TypeSenseDataQueryCompletionBD = 1000389014, + [Obsolete("Deprecated in favour of \"SenseDataFilterUuidBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_UUID_BD")] + TypeSenseDataFilterUuidBD = 1000389015, + [Obsolete("Deprecated in favour of \"SenseDataFilterSemanticBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_SEMANTIC_BD")] + TypeSenseDataFilterSemanticBD = 1000389016, + [Obsolete("Deprecated in favour of \"QueriedSenseDataGetInfoBD\"")] + [NativeName("Name", "XR_TYPE_QUERIED_SENSE_DATA_GET_INFO_BD")] + TypeQueriedSenseDataGetInfoBD = 1000389017, + [Obsolete("Deprecated in favour of \"QueriedSenseDataBD\"")] + [NativeName("Name", "XR_TYPE_QUERIED_SENSE_DATA_BD")] + TypeQueriedSenseDataBD = 1000389018, + [Obsolete("Deprecated in favour of \"SpatialEntityStateBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_STATE_BD")] + TypeSpatialEntityStateBD = 1000389019, + [Obsolete("Deprecated in favour of \"SpatialEntityAnchorCreateInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_ANCHOR_CREATE_INFO_BD")] + TypeSpatialEntityAnchorCreateInfoBD = 1000389020, + [Obsolete("Deprecated in favour of \"AnchorSpaceCreateInfoBD\"")] + [NativeName("Name", "XR_TYPE_ANCHOR_SPACE_CREATE_INFO_BD")] + TypeAnchorSpaceCreateInfoBD = 1000389021, + [Obsolete("Deprecated in favour of \"SystemSpatialAnchorPropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ANCHOR_PROPERTIES_BD")] + TypeSystemSpatialAnchorPropertiesBD = 1000390000, + [Obsolete("Deprecated in favour of \"SpatialAnchorCreateInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_BD")] + TypeSpatialAnchorCreateInfoBD = 1000390001, + [Obsolete("Deprecated in favour of \"SpatialAnchorCreateCompletionBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD")] + TypeSpatialAnchorCreateCompletionBD = 1000390002, + [Obsolete("Deprecated in favour of \"SpatialAnchorPersistInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_PERSIST_INFO_BD")] + TypeSpatialAnchorPersistInfoBD = 1000390003, + [Obsolete("Deprecated in favour of \"SpatialAnchorUnpersistInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_UNPERSIST_INFO_BD")] + TypeSpatialAnchorUnpersistInfoBD = 1000390004, + [Obsolete("Deprecated in favour of \"SystemSpatialAnchorSharingPropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ANCHOR_SHARING_PROPERTIES_BD")] + TypeSystemSpatialAnchorSharingPropertiesBD = 1000391000, + [Obsolete("Deprecated in favour of \"SpatialAnchorShareInfoBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_SHARE_INFO_BD")] + TypeSpatialAnchorShareInfoBD = 1000391001, + [Obsolete("Deprecated in favour of \"SharedSpatialAnchorDownloadInfoBD\"")] + [NativeName("Name", "XR_TYPE_SHARED_SPATIAL_ANCHOR_DOWNLOAD_INFO_BD")] + TypeSharedSpatialAnchorDownloadInfoBD = 1000391002, + [Obsolete("Deprecated in favour of \"SystemSpatialScenePropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_SCENE_PROPERTIES_BD")] + TypeSystemSpatialScenePropertiesBD = 1000392000, + [Obsolete("Deprecated in favour of \"SceneCaptureInfoBD\"")] + [NativeName("Name", "XR_TYPE_SCENE_CAPTURE_INFO_BD")] + TypeSceneCaptureInfoBD = 1000392001, + [Obsolete("Deprecated in favour of \"SystemSpatialMeshPropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD")] + TypeSystemSpatialMeshPropertiesBD = 1000393000, + [Obsolete("Deprecated in favour of \"SenseDataProviderCreateInfoSpatialMeshBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD")] + TypeSenseDataProviderCreateInfoSpatialMeshBD = 1000393001, + [Obsolete("Deprecated in favour of \"FuturePollResultProgressBD\"")] + [NativeName("Name", "XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD")] + TypeFuturePollResultProgressBD = 1000394001, + [Obsolete("Deprecated in favour of \"SystemSpatialPlanePropertiesBD\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD")] + TypeSystemSpatialPlanePropertiesBD = 1000396000, + [Obsolete("Deprecated in favour of \"SpatialEntityComponentDataPlaneOrientationBD\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD")] + TypeSpatialEntityComponentDataPlaneOrientationBD = 1000396001, + [Obsolete("Deprecated in favour of \"SenseDataFilterPlaneOrientationBD\"")] + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD")] + TypeSenseDataFilterPlaneOrientationBD = 1000396002, [Obsolete("Deprecated in favour of \"HandTrackingDataSourceInfoExt\"")] [NativeName("Name", "XR_TYPE_HAND_TRACKING_DATA_SOURCE_INFO_EXT")] TypeHandTrackingDataSourceInfoExt = 1000428000, @@ -1128,6 +1344,51 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"SystemPlaneDetectionPropertiesExt\"")] [NativeName("Name", "XR_TYPE_SYSTEM_PLANE_DETECTION_PROPERTIES_EXT")] TypeSystemPlaneDetectionPropertiesExt = 1000429007, + [Obsolete("Deprecated in favour of \"TrackableGetInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_GET_INFO_ANDROID")] + TypeTrackableGetInfoAndroid = 1000455000, + [Obsolete("Deprecated in favour of \"AnchorSpaceCreateInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + TypeAnchorSpaceCreateInfoAndroid = 1000455001, + [Obsolete("Deprecated in favour of \"TrackablePlaneAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_PLANE_ANDROID")] + TypeTrackablePlaneAndroid = 1000455003, + [Obsolete("Deprecated in favour of \"TrackableTrackerCreateInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_TRACKER_CREATE_INFO_ANDROID")] + TypeTrackableTrackerCreateInfoAndroid = 1000455004, + [Obsolete("Deprecated in favour of \"SystemTrackablesPropertiesAndroid\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_TRACKABLES_PROPERTIES_ANDROID")] + TypeSystemTrackablesPropertiesAndroid = 1000455005, + [Obsolete("Deprecated in favour of \"PersistedAnchorSpaceCreateInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_PERSISTED_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + TypePersistedAnchorSpaceCreateInfoAndroid = 1000457001, + [Obsolete("Deprecated in favour of \"PersistedAnchorSpaceInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_PERSISTED_ANCHOR_SPACE_INFO_ANDROID")] + TypePersistedAnchorSpaceInfoAndroid = 1000457002, + [Obsolete("Deprecated in favour of \"DeviceAnchorPersistenceCreateInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_DEVICE_ANCHOR_PERSISTENCE_CREATE_INFO_ANDROID")] + TypeDeviceAnchorPersistenceCreateInfoAndroid = 1000457003, + [Obsolete("Deprecated in favour of \"SystemDeviceAnchorPersistencePropertiesAndroid\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_DEVICE_ANCHOR_PERSISTENCE_PROPERTIES_ANDROID")] + TypeSystemDeviceAnchorPersistencePropertiesAndroid = 1000457004, + [Obsolete("Deprecated in favour of \"PassthroughCameraStateGetInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_PASSTHROUGH_CAMERA_STATE_GET_INFO_ANDROID")] + TypePassthroughCameraStateGetInfoAndroid = 1000460000, + [Obsolete("Deprecated in favour of \"SystemPassthroughCameraStatePropertiesAndroid\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_PASSTHROUGH_CAMERA_STATE_PROPERTIES_ANDROID")] + TypeSystemPassthroughCameraStatePropertiesAndroid = 1000460001, + [Obsolete("Deprecated in favour of \"RaycastInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_RAYCAST_INFO_ANDROID")] + TypeRaycastInfoAndroid = 1000463000, + [Obsolete("Deprecated in favour of \"RaycastHitResultsAndroid\"")] + [NativeName("Name", "XR_TYPE_RAYCAST_HIT_RESULTS_ANDROID")] + TypeRaycastHitResultsAndroid = 1000463001, + [Obsolete("Deprecated in favour of \"TrackableObjectAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_OBJECT_ANDROID")] + TypeTrackableObjectAndroid = 1000466000, + [Obsolete("Deprecated in favour of \"TrackableObjectConfigurationAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_OBJECT_CONFIGURATION_ANDROID")] + TypeTrackableObjectConfigurationAndroid = 1000466001, [Obsolete("Deprecated in favour of \"FutureCancelInfoExt\"")] [NativeName("Name", "XR_TYPE_FUTURE_CANCEL_INFO_EXT")] TypeFutureCancelInfoExt = 1000469000, @@ -1194,6 +1455,216 @@ public enum StructureType : int [Obsolete("Deprecated in favour of \"WorldMeshRequestCompletionInfoML\"")] [NativeName("Name", "XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML")] TypeWorldMeshRequestCompletionInfoML = 1000474012, + [Obsolete("Deprecated in favour of \"SystemFacialExpressionPropertiesML\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_FACIAL_EXPRESSION_PROPERTIES_ML")] + TypeSystemFacialExpressionPropertiesML = 1000482004, + [Obsolete("Deprecated in favour of \"FacialExpressionClientCreateInfoML\"")] + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_CLIENT_CREATE_INFO_ML")] + TypeFacialExpressionClientCreateInfoML = 1000482005, + [Obsolete("Deprecated in favour of \"FacialExpressionBlendShapeGetInfoML\"")] + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_GET_INFO_ML")] + TypeFacialExpressionBlendShapeGetInfoML = 1000482006, + [Obsolete("Deprecated in favour of \"FacialExpressionBlendShapePropertiesML\"")] + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_ML")] + TypeFacialExpressionBlendShapePropertiesML = 1000482007, + [Obsolete("Deprecated in favour of \"SystemSimultaneousHandsAndControllersPropertiesMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SIMULTANEOUS_HANDS_AND_CONTROLLERS_PROPERTIES_META")] + TypeSystemSimultaneousHandsAndControllersPropertiesMeta = 1000532001, + [Obsolete("Deprecated in favour of \"SimultaneousHandsAndControllersTrackingResumeInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_RESUME_INFO_META")] + TypeSimultaneousHandsAndControllersTrackingResumeInfoMeta = 1000532002, + [Obsolete("Deprecated in favour of \"SimultaneousHandsAndControllersTrackingPauseInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_PAUSE_INFO_META")] + TypeSimultaneousHandsAndControllersTrackingPauseInfoMeta = 1000532003, + [Obsolete("Deprecated in favour of \"ColocationDiscoveryStartInfoMeta\"")] + [NativeName("Name", "XR_TYPE_COLOCATION_DISCOVERY_START_INFO_META")] + TypeColocationDiscoveryStartInfoMeta = 1000571010, + [Obsolete("Deprecated in favour of \"ColocationDiscoveryStopInfoMeta\"")] + [NativeName("Name", "XR_TYPE_COLOCATION_DISCOVERY_STOP_INFO_META")] + TypeColocationDiscoveryStopInfoMeta = 1000571011, + [Obsolete("Deprecated in favour of \"ColocationAdvertisementStartInfoMeta\"")] + [NativeName("Name", "XR_TYPE_COLOCATION_ADVERTISEMENT_START_INFO_META")] + TypeColocationAdvertisementStartInfoMeta = 1000571012, + [Obsolete("Deprecated in favour of \"ColocationAdvertisementStopInfoMeta\"")] + [NativeName("Name", "XR_TYPE_COLOCATION_ADVERTISEMENT_STOP_INFO_META")] + TypeColocationAdvertisementStopInfoMeta = 1000571013, + [Obsolete("Deprecated in favour of \"EventDataStartColocationAdvertisementCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_START_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + TypeEventDataStartColocationAdvertisementCompleteMeta = 1000571020, + [Obsolete("Deprecated in favour of \"EventDataStopColocationAdvertisementCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_STOP_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + TypeEventDataStopColocationAdvertisementCompleteMeta = 1000571021, + [Obsolete("Deprecated in favour of \"EventDataColocationAdvertisementCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + TypeEventDataColocationAdvertisementCompleteMeta = 1000571022, + [Obsolete("Deprecated in favour of \"EventDataStartColocationDiscoveryCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_START_COLOCATION_DISCOVERY_COMPLETE_META")] + TypeEventDataStartColocationDiscoveryCompleteMeta = 1000571023, + [Obsolete("Deprecated in favour of \"EventDataColocationDiscoveryResultMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_RESULT_META")] + TypeEventDataColocationDiscoveryResultMeta = 1000571024, + [Obsolete("Deprecated in favour of \"EventDataColocationDiscoveryCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_COMPLETE_META")] + TypeEventDataColocationDiscoveryCompleteMeta = 1000571025, + [Obsolete("Deprecated in favour of \"EventDataStopColocationDiscoveryCompleteMeta\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_STOP_COLOCATION_DISCOVERY_COMPLETE_META")] + TypeEventDataStopColocationDiscoveryCompleteMeta = 1000571026, + [Obsolete("Deprecated in favour of \"SystemColocationDiscoveryPropertiesMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_COLOCATION_DISCOVERY_PROPERTIES_META")] + TypeSystemColocationDiscoveryPropertiesMeta = 1000571030, + [Obsolete("Deprecated in favour of \"ShareSpacesRecipientGroupsMeta\"")] + [NativeName("Name", "XR_TYPE_SHARE_SPACES_RECIPIENT_GROUPS_META")] + TypeShareSpacesRecipientGroupsMeta = 1000572000, + [Obsolete("Deprecated in favour of \"SpaceGroupUuidFilterInfoMeta\"")] + [NativeName("Name", "XR_TYPE_SPACE_GROUP_UUID_FILTER_INFO_META")] + TypeSpaceGroupUuidFilterInfoMeta = 1000572001, + [Obsolete("Deprecated in favour of \"SystemSpatialEntityGroupSharingPropertiesMeta\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ENTITY_GROUP_SHARING_PROPERTIES_META")] + TypeSystemSpatialEntityGroupSharingPropertiesMeta = 1000572100, + [Obsolete("Deprecated in favour of \"AnchorSharingInfoAndroid\"")] + [NativeName("Name", "XR_TYPE_ANCHOR_SHARING_INFO_ANDROID")] + TypeAnchorSharingInfoAndroid = 1000701000, + [Obsolete("Deprecated in favour of \"AnchorSharingTokenAndroid\"")] + [NativeName("Name", "XR_TYPE_ANCHOR_SHARING_TOKEN_ANDROID")] + TypeAnchorSharingTokenAndroid = 1000701001, + [Obsolete("Deprecated in favour of \"SystemAnchorSharingExportPropertiesAndroid\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_ANCHOR_SHARING_EXPORT_PROPERTIES_ANDROID")] + TypeSystemAnchorSharingExportPropertiesAndroid = 1000701002, + [Obsolete("Deprecated in favour of \"SystemMarkerTrackingPropertiesAndroid\"")] + [NativeName("Name", "XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_ANDROID")] + TypeSystemMarkerTrackingPropertiesAndroid = 1000707000, + [Obsolete("Deprecated in favour of \"TrackableMarkerConfigurationAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_MARKER_CONFIGURATION_ANDROID")] + TypeTrackableMarkerConfigurationAndroid = 1000707001, + [Obsolete("Deprecated in favour of \"TrackableMarkerAndroid\"")] + [NativeName("Name", "XR_TYPE_TRACKABLE_MARKER_ANDROID")] + TypeTrackableMarkerAndroid = 1000707002, + [Obsolete("Deprecated in favour of \"SpatialCapabilityComponentTypesExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_COMPONENT_TYPES_EXT")] + TypeSpatialCapabilityComponentTypesExt = 1000740000, + [Obsolete("Deprecated in favour of \"SpatialContextCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CONTEXT_CREATE_INFO_EXT")] + TypeSpatialContextCreateInfoExt = 1000740001, + [Obsolete("Deprecated in favour of \"CreateSpatialContextCompletionExt\"")] + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_CONTEXT_COMPLETION_EXT")] + TypeCreateSpatialContextCompletionExt = 1000740002, + [Obsolete("Deprecated in favour of \"SpatialDiscoverySnapshotCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_DISCOVERY_SNAPSHOT_CREATE_INFO_EXT")] + TypeSpatialDiscoverySnapshotCreateInfoExt = 1000740003, + [Obsolete("Deprecated in favour of \"CreateSpatialDiscoverySnapshotCompletionInfoExt\"")] + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_INFO_EXT")] + TypeCreateSpatialDiscoverySnapshotCompletionInfoExt = 1000740004, + [Obsolete("Deprecated in favour of \"CreateSpatialDiscoverySnapshotCompletionExt\"")] + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_EXT")] + TypeCreateSpatialDiscoverySnapshotCompletionExt = 1000740005, + [Obsolete("Deprecated in favour of \"SpatialComponentDataQueryConditionExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_CONDITION_EXT")] + TypeSpatialComponentDataQueryConditionExt = 1000740006, + [Obsolete("Deprecated in favour of \"SpatialComponentDataQueryResultExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_RESULT_EXT")] + TypeSpatialComponentDataQueryResultExt = 1000740007, + [Obsolete("Deprecated in favour of \"SpatialBufferGetInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_BUFFER_GET_INFO_EXT")] + TypeSpatialBufferGetInfoExt = 1000740008, + [Obsolete("Deprecated in favour of \"SpatialComponentBounded2DListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_BOUNDED_2D_LIST_EXT")] + TypeSpatialComponentBounded2DListExt = 1000740009, + [Obsolete("Deprecated in favour of \"SpatialComponentBounded3DListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_BOUNDED_3D_LIST_EXT")] + TypeSpatialComponentBounded3DListExt = 1000740010, + [Obsolete("Deprecated in favour of \"SpatialComponentParentListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PARENT_LIST_EXT")] + TypeSpatialComponentParentListExt = 1000740011, + [Obsolete("Deprecated in favour of \"SpatialComponentMesh3DListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MESH_3D_LIST_EXT")] + TypeSpatialComponentMesh3DListExt = 1000740012, + [Obsolete("Deprecated in favour of \"SpatialEntityFromIDCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_FROM_ID_CREATE_INFO_EXT")] + TypeSpatialEntityFromIDCreateInfoExt = 1000740013, + [Obsolete("Deprecated in favour of \"SpatialUpdateSnapshotCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_UPDATE_SNAPSHOT_CREATE_INFO_EXT")] + TypeSpatialUpdateSnapshotCreateInfoExt = 1000740014, + [Obsolete("Deprecated in favour of \"EventDataSpatialDiscoveryRecommendedExt\"")] + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPATIAL_DISCOVERY_RECOMMENDED_EXT")] + TypeEventDataSpatialDiscoveryRecommendedExt = 1000740015, + [Obsolete("Deprecated in favour of \"SpatialFilterTrackingStateExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_FILTER_TRACKING_STATE_EXT")] + TypeSpatialFilterTrackingStateExt = 1000740016, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationPlaneTrackingExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_PLANE_TRACKING_EXT")] + TypeSpatialCapabilityConfigurationPlaneTrackingExt = 1000741000, + [Obsolete("Deprecated in favour of \"SpatialComponentPlaneAlignmentListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PLANE_ALIGNMENT_LIST_EXT")] + TypeSpatialComponentPlaneAlignmentListExt = 1000741001, + [Obsolete("Deprecated in favour of \"SpatialComponentMesh2DListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MESH_2D_LIST_EXT")] + TypeSpatialComponentMesh2DListExt = 1000741002, + [Obsolete("Deprecated in favour of \"SpatialComponentPolygon2DListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_POLYGON_2D_LIST_EXT")] + TypeSpatialComponentPolygon2DListExt = 1000741003, + [Obsolete("Deprecated in favour of \"SpatialComponentPlaneSemanticLabelListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PLANE_SEMANTIC_LABEL_LIST_EXT")] + TypeSpatialComponentPlaneSemanticLabelListExt = 1000741004, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationQRCodeExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_QR_CODE_EXT")] + TypeSpatialCapabilityConfigurationQRCodeExt = 1000743000, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationMicroQRCodeExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_MICRO_QR_CODE_EXT")] + TypeSpatialCapabilityConfigurationMicroQRCodeExt = 1000743001, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationArucoMarkerExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ARUCO_MARKER_EXT")] + TypeSpatialCapabilityConfigurationArucoMarkerExt = 1000743002, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationAprilTagExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_APRIL_TAG_EXT")] + TypeSpatialCapabilityConfigurationAprilTagExt = 1000743003, + [Obsolete("Deprecated in favour of \"SpatialMarkerSizeExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_MARKER_SIZE_EXT")] + TypeSpatialMarkerSizeExt = 1000743004, + [Obsolete("Deprecated in favour of \"SpatialMarkerStaticOptimizationExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT")] + TypeSpatialMarkerStaticOptimizationExt = 1000743005, + [Obsolete("Deprecated in favour of \"SpatialComponentMarkerListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT")] + TypeSpatialComponentMarkerListExt = 1000743006, + [Obsolete("Deprecated in favour of \"SpatialCapabilityConfigurationAnchorExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT")] + TypeSpatialCapabilityConfigurationAnchorExt = 1000762000, + [Obsolete("Deprecated in favour of \"SpatialComponentAnchorListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT")] + TypeSpatialComponentAnchorListExt = 1000762001, + [Obsolete("Deprecated in favour of \"SpatialAnchorCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT")] + TypeSpatialAnchorCreateInfoExt = 1000762002, + [Obsolete("Deprecated in favour of \"SpatialPersistenceContextCreateInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_PERSISTENCE_CONTEXT_CREATE_INFO_EXT")] + TypeSpatialPersistenceContextCreateInfoExt = 1000763000, + [Obsolete("Deprecated in favour of \"CreateSpatialPersistenceContextCompletionExt\"")] + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_PERSISTENCE_CONTEXT_COMPLETION_EXT")] + TypeCreateSpatialPersistenceContextCompletionExt = 1000763001, + [Obsolete("Deprecated in favour of \"SpatialContextPersistenceConfigExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_CONTEXT_PERSISTENCE_CONFIG_EXT")] + TypeSpatialContextPersistenceConfigExt = 1000763002, + [Obsolete("Deprecated in favour of \"SpatialDiscoveryPersistenceUuidFilterExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_DISCOVERY_PERSISTENCE_UUID_FILTER_EXT")] + TypeSpatialDiscoveryPersistenceUuidFilterExt = 1000763003, + [Obsolete("Deprecated in favour of \"SpatialComponentPersistenceListExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PERSISTENCE_LIST_EXT")] + TypeSpatialComponentPersistenceListExt = 1000763004, + [Obsolete("Deprecated in favour of \"SpatialEntityPersistInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_PERSIST_INFO_EXT")] + TypeSpatialEntityPersistInfoExt = 1000781000, + [Obsolete("Deprecated in favour of \"PersistSpatialEntityCompletionExt\"")] + [NativeName("Name", "XR_TYPE_PERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + TypePersistSpatialEntityCompletionExt = 1000781001, + [Obsolete("Deprecated in favour of \"SpatialEntityUnpersistInfoExt\"")] + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_UNPERSIST_INFO_EXT")] + TypeSpatialEntityUnpersistInfoExt = 1000781002, + [Obsolete("Deprecated in favour of \"UnpersistSpatialEntityCompletionExt\"")] + [NativeName("Name", "XR_TYPE_UNPERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + TypeUnpersistSpatialEntityCompletionExt = 1000781003, + [Obsolete("Deprecated in favour of \"LoaderInitInfoPropertiesExt\"")] + [NativeName("Name", "XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT")] + TypeLoaderInitInfoPropertiesExt = 1000838000, [Obsolete("Deprecated in favour of \"SpacesLocateInfo\"")] [NativeName("Name", "XR_TYPE_SPACES_LOCATE_INFO")] TypeSpacesLocateInfo = 1000471000, @@ -1801,6 +2272,10 @@ public enum StructureType : int DevicePcmSampleRateStateFB = 1000209002, [NativeName("Name", "XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB")] DevicePcmSampleRateGetInfoFB = 1000209002, + [NativeName("Name", "XR_TYPE_FRAME_SYNTHESIS_INFO_EXT")] + FrameSynthesisInfoExt = 1000211000, + [NativeName("Name", "XR_TYPE_FRAME_SYNTHESIS_CONFIG_VIEW_EXT")] + FrameSynthesisConfigViewExt = 1000211001, [NativeName("Name", "XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB")] CompositionLayerDepthTestFB = 1000212000, [NativeName("Name", "XR_TYPE_LOCAL_DIMMING_FRAME_END_INFO_META")] @@ -1857,6 +2332,16 @@ public enum StructureType : int RecommendedLayerResolutionMeta = 1000254000, [NativeName("Name", "XR_TYPE_RECOMMENDED_LAYER_RESOLUTION_GET_INFO_META")] RecommendedLayerResolutionGetInfoMeta = 1000254001, + [NativeName("Name", "XR_TYPE_SYSTEM_SPACE_PERSISTENCE_PROPERTIES_META")] + SystemSpacePersistencePropertiesMeta = 1000259000, + [NativeName("Name", "XR_TYPE_SPACES_SAVE_INFO_META")] + SpacesSaveInfoMeta = 1000259001, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPACES_SAVE_RESULT_META")] + EventDataSpacesSaveResultMeta = 1000259002, + [NativeName("Name", "XR_TYPE_SPACES_ERASE_INFO_META")] + SpacesEraseInfoMeta = 1000259003, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPACES_ERASE_RESULT_META")] + EventDataSpacesEraseResultMeta = 1000259004, [NativeName("Name", "XR_TYPE_SYSTEM_PASSTHROUGH_COLOR_LUT_PROPERTIES_META")] SystemPassthroughColorLutPropertiesMeta = 1000266000, [NativeName("Name", "XR_TYPE_PASSTHROUGH_COLOR_LUT_CREATE_INFO_META")] @@ -1871,6 +2356,16 @@ public enum StructureType : int SpaceTriangleMeshGetInfoMeta = 1000269001, [NativeName("Name", "XR_TYPE_SPACE_TRIANGLE_MESH_META")] SpaceTriangleMeshMeta = 1000269002, + [NativeName("Name", "XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FULL_BODY_META")] + SystemPropertiesBodyTrackingFullBodyMeta = 1000274000, + [NativeName("Name", "XR_TYPE_EVENT_DATA_PASSTHROUGH_LAYER_RESUMED_META")] + EventDataPassthroughLayerResumedMeta = 1000282000, + [NativeName("Name", "XR_TYPE_BODY_TRACKING_CALIBRATION_INFO_META")] + BodyTrackingCalibrationInfoMeta = 1000283002, + [NativeName("Name", "XR_TYPE_BODY_TRACKING_CALIBRATION_STATUS_META")] + BodyTrackingCalibrationStatusMeta = 1000283003, + [NativeName("Name", "XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_CALIBRATION_META")] + SystemPropertiesBodyTrackingCalibrationMeta = 1000283004, [NativeName("Name", "XR_TYPE_SYSTEM_FACE_TRACKING_PROPERTIES2_FB")] SystemFaceTrackingProperties2FB = 1000287013, [NativeName("Name", "XR_TYPE_FACE_TRACKER_CREATE_INFO2_FB")] @@ -1879,6 +2374,12 @@ public enum StructureType : int FaceExpressionInfo2FB = 1000287015, [NativeName("Name", "XR_TYPE_FACE_EXPRESSION_WEIGHTS2_FB")] FaceExpressionWeights2FB = 1000287016, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ENTITY_SHARING_PROPERTIES_META")] + SystemSpatialEntitySharingPropertiesMeta = 1000290000, + [NativeName("Name", "XR_TYPE_SHARE_SPACES_INFO_META")] + ShareSpacesInfoMeta = 1000290001, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SHARE_SPACES_COMPLETE_META")] + EventDataShareSpacesCompleteMeta = 1000290002, [NativeName("Name", "XR_TYPE_ENVIRONMENT_DEPTH_PROVIDER_CREATE_INFO_META")] EnvironmentDepthProviderCreateInfoMeta = 1000291000, [NativeName("Name", "XR_TYPE_ENVIRONMENT_DEPTH_SWAPCHAIN_CREATE_INFO_META")] @@ -1895,6 +2396,36 @@ public enum StructureType : int EnvironmentDepthHandRemovalSetInfoMeta = 1000291006, [NativeName("Name", "XR_TYPE_SYSTEM_ENVIRONMENT_DEPTH_PROPERTIES_META")] SystemEnvironmentDepthPropertiesMeta = 1000291007, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_CREATE_INFO_EXT")] + RenderModelCreateInfoExt = 1000300000, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_PROPERTIES_GET_INFO_EXT")] + RenderModelPropertiesGetInfoExt = 1000300001, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_PROPERTIES_EXT")] + RenderModelPropertiesExt = 1000300002, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_SPACE_CREATE_INFO_EXT")] + RenderModelSpaceCreateInfoExt = 1000300003, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_STATE_GET_INFO_EXT")] + RenderModelStateGetInfoExt = 1000300004, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_STATE_EXT")] + RenderModelStateExt = 1000300005, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_CREATE_INFO_EXT")] + RenderModelAssetCreateInfoExt = 1000300006, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_DATA_GET_INFO_EXT")] + RenderModelAssetDataGetInfoExt = 1000300007, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_DATA_EXT")] + RenderModelAssetDataExt = 1000300008, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_GET_INFO_EXT")] + RenderModelAssetPropertiesGetInfoExt = 1000300009, + [NativeName("Name", "XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_EXT")] + RenderModelAssetPropertiesExt = 1000300010, + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_IDS_ENUMERATE_INFO_EXT")] + InteractionRenderModelIdsEnumerateInfoExt = 1000301000, + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_SUBACTION_PATH_INFO_EXT")] + InteractionRenderModelSubactionPathInfoExt = 1000301001, + [NativeName("Name", "XR_TYPE_EVENT_DATA_INTERACTION_RENDER_MODELS_CHANGED_EXT")] + EventDataInteractionRenderModelsChangedExt = 1000301002, + [NativeName("Name", "XR_TYPE_INTERACTION_RENDER_MODEL_TOP_LEVEL_USER_PATH_GET_INFO_EXT")] + InteractionRenderModelTopLevelUserPathGetInfoExt = 1000301003, [NativeName("Name", "XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC")] PassthroughCreateInfoHtc = 1000317001, [NativeName("Name", "XR_TYPE_PASSTHROUGH_COLOR_HTC")] @@ -1929,6 +2460,90 @@ public enum StructureType : int SystemForceFeedbackCurlPropertiesMndx = 1000375000, [NativeName("Name", "XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDX")] ForceFeedbackCurlApplyLocationsMndx = 1000375001, + [NativeName("Name", "XR_TYPE_BODY_TRACKER_CREATE_INFO_BD")] + BodyTrackerCreateInfoBD = 1000385001, + [NativeName("Name", "XR_TYPE_BODY_JOINTS_LOCATE_INFO_BD")] + BodyJointsLocateInfoBD = 1000385002, + [NativeName("Name", "XR_TYPE_BODY_JOINT_LOCATIONS_BD")] + BodyJointLocationsBD = 1000385003, + [NativeName("Name", "XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_BD")] + SystemBodyTrackingPropertiesBD = 1000385004, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_SENSING_PROPERTIES_BD")] + SystemSpatialSensingPropertiesBD = 1000389000, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_GET_INFO_BD")] + SpatialEntityComponentGetInfoBD = 1000389001, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_LOCATION_GET_INFO_BD")] + SpatialEntityLocationGetInfoBD = 1000389002, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_LOCATION_BD")] + SpatialEntityComponentDataLocationBD = 1000389003, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SEMANTIC_BD")] + SpatialEntityComponentDataSemanticBD = 1000389004, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_2D_BD")] + SpatialEntityComponentDataBoundingBox2DBD = 1000389005, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_POLYGON_BD")] + SpatialEntityComponentDataPolygonBD = 1000389006, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_3D_BD")] + SpatialEntityComponentDataBoundingBox3DBD = 1000389007, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_TRIANGLE_MESH_BD")] + SpatialEntityComponentDataTriangleMeshBD = 1000389008, + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_BD")] + SenseDataProviderCreateInfoBD = 1000389009, + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_START_INFO_BD")] + SenseDataProviderStartInfoBD = 1000389010, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SENSE_DATA_PROVIDER_STATE_CHANGED_BD")] + EventDataSenseDataProviderStateChangedBD = 1000389011, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SENSE_DATA_UPDATED_BD")] + EventDataSenseDataUpdatedBD = 1000389012, + [NativeName("Name", "XR_TYPE_SENSE_DATA_QUERY_INFO_BD")] + SenseDataQueryInfoBD = 1000389013, + [NativeName("Name", "XR_TYPE_SENSE_DATA_QUERY_COMPLETION_BD")] + SenseDataQueryCompletionBD = 1000389014, + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_UUID_BD")] + SenseDataFilterUuidBD = 1000389015, + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_SEMANTIC_BD")] + SenseDataFilterSemanticBD = 1000389016, + [NativeName("Name", "XR_TYPE_QUERIED_SENSE_DATA_GET_INFO_BD")] + QueriedSenseDataGetInfoBD = 1000389017, + [NativeName("Name", "XR_TYPE_QUERIED_SENSE_DATA_BD")] + QueriedSenseDataBD = 1000389018, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_STATE_BD")] + SpatialEntityStateBD = 1000389019, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_ANCHOR_CREATE_INFO_BD")] + SpatialEntityAnchorCreateInfoBD = 1000389020, + [NativeName("Name", "XR_TYPE_ANCHOR_SPACE_CREATE_INFO_BD")] + AnchorSpaceCreateInfoBD = 1000389021, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ANCHOR_PROPERTIES_BD")] + SystemSpatialAnchorPropertiesBD = 1000390000, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_BD")] + SpatialAnchorCreateInfoBD = 1000390001, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD")] + SpatialAnchorCreateCompletionBD = 1000390002, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_PERSIST_INFO_BD")] + SpatialAnchorPersistInfoBD = 1000390003, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_UNPERSIST_INFO_BD")] + SpatialAnchorUnpersistInfoBD = 1000390004, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ANCHOR_SHARING_PROPERTIES_BD")] + SystemSpatialAnchorSharingPropertiesBD = 1000391000, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_SHARE_INFO_BD")] + SpatialAnchorShareInfoBD = 1000391001, + [NativeName("Name", "XR_TYPE_SHARED_SPATIAL_ANCHOR_DOWNLOAD_INFO_BD")] + SharedSpatialAnchorDownloadInfoBD = 1000391002, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_SCENE_PROPERTIES_BD")] + SystemSpatialScenePropertiesBD = 1000392000, + [NativeName("Name", "XR_TYPE_SCENE_CAPTURE_INFO_BD")] + SceneCaptureInfoBD = 1000392001, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD")] + SystemSpatialMeshPropertiesBD = 1000393000, + [NativeName("Name", "XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD")] + SenseDataProviderCreateInfoSpatialMeshBD = 1000393001, + [NativeName("Name", "XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD")] + FuturePollResultProgressBD = 1000394001, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD")] + SystemSpatialPlanePropertiesBD = 1000396000, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD")] + SpatialEntityComponentDataPlaneOrientationBD = 1000396001, + [NativeName("Name", "XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD")] + SenseDataFilterPlaneOrientationBD = 1000396002, [NativeName("Name", "XR_TYPE_HAND_TRACKING_DATA_SOURCE_INFO_EXT")] HandTrackingDataSourceInfoExt = 1000428000, [NativeName("Name", "XR_TYPE_HAND_TRACKING_DATA_SOURCE_STATE_EXT")] @@ -1947,6 +2562,36 @@ public enum StructureType : int PlaneDetectorPolygonBufferExt = 1000429006, [NativeName("Name", "XR_TYPE_SYSTEM_PLANE_DETECTION_PROPERTIES_EXT")] SystemPlaneDetectionPropertiesExt = 1000429007, + [NativeName("Name", "XR_TYPE_TRACKABLE_GET_INFO_ANDROID")] + TrackableGetInfoAndroid = 1000455000, + [NativeName("Name", "XR_TYPE_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + AnchorSpaceCreateInfoAndroid = 1000455001, + [NativeName("Name", "XR_TYPE_TRACKABLE_PLANE_ANDROID")] + TrackablePlaneAndroid = 1000455003, + [NativeName("Name", "XR_TYPE_TRACKABLE_TRACKER_CREATE_INFO_ANDROID")] + TrackableTrackerCreateInfoAndroid = 1000455004, + [NativeName("Name", "XR_TYPE_SYSTEM_TRACKABLES_PROPERTIES_ANDROID")] + SystemTrackablesPropertiesAndroid = 1000455005, + [NativeName("Name", "XR_TYPE_PERSISTED_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + PersistedAnchorSpaceCreateInfoAndroid = 1000457001, + [NativeName("Name", "XR_TYPE_PERSISTED_ANCHOR_SPACE_INFO_ANDROID")] + PersistedAnchorSpaceInfoAndroid = 1000457002, + [NativeName("Name", "XR_TYPE_DEVICE_ANCHOR_PERSISTENCE_CREATE_INFO_ANDROID")] + DeviceAnchorPersistenceCreateInfoAndroid = 1000457003, + [NativeName("Name", "XR_TYPE_SYSTEM_DEVICE_ANCHOR_PERSISTENCE_PROPERTIES_ANDROID")] + SystemDeviceAnchorPersistencePropertiesAndroid = 1000457004, + [NativeName("Name", "XR_TYPE_PASSTHROUGH_CAMERA_STATE_GET_INFO_ANDROID")] + PassthroughCameraStateGetInfoAndroid = 1000460000, + [NativeName("Name", "XR_TYPE_SYSTEM_PASSTHROUGH_CAMERA_STATE_PROPERTIES_ANDROID")] + SystemPassthroughCameraStatePropertiesAndroid = 1000460001, + [NativeName("Name", "XR_TYPE_RAYCAST_INFO_ANDROID")] + RaycastInfoAndroid = 1000463000, + [NativeName("Name", "XR_TYPE_RAYCAST_HIT_RESULTS_ANDROID")] + RaycastHitResultsAndroid = 1000463001, + [NativeName("Name", "XR_TYPE_TRACKABLE_OBJECT_ANDROID")] + TrackableObjectAndroid = 1000466000, + [NativeName("Name", "XR_TYPE_TRACKABLE_OBJECT_CONFIGURATION_ANDROID")] + TrackableObjectConfigurationAndroid = 1000466001, [NativeName("Name", "XR_TYPE_FUTURE_CANCEL_INFO_EXT")] FutureCancelInfoExt = 1000469000, [NativeName("Name", "XR_TYPE_FUTURE_POLL_INFO_EXT")] @@ -1991,6 +2636,146 @@ public enum StructureType : int WorldMeshRequestCompletionML = 1000474011, [NativeName("Name", "XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML")] WorldMeshRequestCompletionInfoML = 1000474012, + [NativeName("Name", "XR_TYPE_SYSTEM_FACIAL_EXPRESSION_PROPERTIES_ML")] + SystemFacialExpressionPropertiesML = 1000482004, + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_CLIENT_CREATE_INFO_ML")] + FacialExpressionClientCreateInfoML = 1000482005, + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_GET_INFO_ML")] + FacialExpressionBlendShapeGetInfoML = 1000482006, + [NativeName("Name", "XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_ML")] + FacialExpressionBlendShapePropertiesML = 1000482007, + [NativeName("Name", "XR_TYPE_SYSTEM_SIMULTANEOUS_HANDS_AND_CONTROLLERS_PROPERTIES_META")] + SystemSimultaneousHandsAndControllersPropertiesMeta = 1000532001, + [NativeName("Name", "XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_RESUME_INFO_META")] + SimultaneousHandsAndControllersTrackingResumeInfoMeta = 1000532002, + [NativeName("Name", "XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_PAUSE_INFO_META")] + SimultaneousHandsAndControllersTrackingPauseInfoMeta = 1000532003, + [NativeName("Name", "XR_TYPE_COLOCATION_DISCOVERY_START_INFO_META")] + ColocationDiscoveryStartInfoMeta = 1000571010, + [NativeName("Name", "XR_TYPE_COLOCATION_DISCOVERY_STOP_INFO_META")] + ColocationDiscoveryStopInfoMeta = 1000571011, + [NativeName("Name", "XR_TYPE_COLOCATION_ADVERTISEMENT_START_INFO_META")] + ColocationAdvertisementStartInfoMeta = 1000571012, + [NativeName("Name", "XR_TYPE_COLOCATION_ADVERTISEMENT_STOP_INFO_META")] + ColocationAdvertisementStopInfoMeta = 1000571013, + [NativeName("Name", "XR_TYPE_EVENT_DATA_START_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + EventDataStartColocationAdvertisementCompleteMeta = 1000571020, + [NativeName("Name", "XR_TYPE_EVENT_DATA_STOP_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + EventDataStopColocationAdvertisementCompleteMeta = 1000571021, + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + EventDataColocationAdvertisementCompleteMeta = 1000571022, + [NativeName("Name", "XR_TYPE_EVENT_DATA_START_COLOCATION_DISCOVERY_COMPLETE_META")] + EventDataStartColocationDiscoveryCompleteMeta = 1000571023, + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_RESULT_META")] + EventDataColocationDiscoveryResultMeta = 1000571024, + [NativeName("Name", "XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_COMPLETE_META")] + EventDataColocationDiscoveryCompleteMeta = 1000571025, + [NativeName("Name", "XR_TYPE_EVENT_DATA_STOP_COLOCATION_DISCOVERY_COMPLETE_META")] + EventDataStopColocationDiscoveryCompleteMeta = 1000571026, + [NativeName("Name", "XR_TYPE_SYSTEM_COLOCATION_DISCOVERY_PROPERTIES_META")] + SystemColocationDiscoveryPropertiesMeta = 1000571030, + [NativeName("Name", "XR_TYPE_SHARE_SPACES_RECIPIENT_GROUPS_META")] + ShareSpacesRecipientGroupsMeta = 1000572000, + [NativeName("Name", "XR_TYPE_SPACE_GROUP_UUID_FILTER_INFO_META")] + SpaceGroupUuidFilterInfoMeta = 1000572001, + [NativeName("Name", "XR_TYPE_SYSTEM_SPATIAL_ENTITY_GROUP_SHARING_PROPERTIES_META")] + SystemSpatialEntityGroupSharingPropertiesMeta = 1000572100, + [NativeName("Name", "XR_TYPE_ANCHOR_SHARING_INFO_ANDROID")] + AnchorSharingInfoAndroid = 1000701000, + [NativeName("Name", "XR_TYPE_ANCHOR_SHARING_TOKEN_ANDROID")] + AnchorSharingTokenAndroid = 1000701001, + [NativeName("Name", "XR_TYPE_SYSTEM_ANCHOR_SHARING_EXPORT_PROPERTIES_ANDROID")] + SystemAnchorSharingExportPropertiesAndroid = 1000701002, + [NativeName("Name", "XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_ANDROID")] + SystemMarkerTrackingPropertiesAndroid = 1000707000, + [NativeName("Name", "XR_TYPE_TRACKABLE_MARKER_CONFIGURATION_ANDROID")] + TrackableMarkerConfigurationAndroid = 1000707001, + [NativeName("Name", "XR_TYPE_TRACKABLE_MARKER_ANDROID")] + TrackableMarkerAndroid = 1000707002, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_COMPONENT_TYPES_EXT")] + SpatialCapabilityComponentTypesExt = 1000740000, + [NativeName("Name", "XR_TYPE_SPATIAL_CONTEXT_CREATE_INFO_EXT")] + SpatialContextCreateInfoExt = 1000740001, + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_CONTEXT_COMPLETION_EXT")] + CreateSpatialContextCompletionExt = 1000740002, + [NativeName("Name", "XR_TYPE_SPATIAL_DISCOVERY_SNAPSHOT_CREATE_INFO_EXT")] + SpatialDiscoverySnapshotCreateInfoExt = 1000740003, + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_INFO_EXT")] + CreateSpatialDiscoverySnapshotCompletionInfoExt = 1000740004, + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_EXT")] + CreateSpatialDiscoverySnapshotCompletionExt = 1000740005, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_CONDITION_EXT")] + SpatialComponentDataQueryConditionExt = 1000740006, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_RESULT_EXT")] + SpatialComponentDataQueryResultExt = 1000740007, + [NativeName("Name", "XR_TYPE_SPATIAL_BUFFER_GET_INFO_EXT")] + SpatialBufferGetInfoExt = 1000740008, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_BOUNDED_2D_LIST_EXT")] + SpatialComponentBounded2DListExt = 1000740009, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_BOUNDED_3D_LIST_EXT")] + SpatialComponentBounded3DListExt = 1000740010, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PARENT_LIST_EXT")] + SpatialComponentParentListExt = 1000740011, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MESH_3D_LIST_EXT")] + SpatialComponentMesh3DListExt = 1000740012, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_FROM_ID_CREATE_INFO_EXT")] + SpatialEntityFromIDCreateInfoExt = 1000740013, + [NativeName("Name", "XR_TYPE_SPATIAL_UPDATE_SNAPSHOT_CREATE_INFO_EXT")] + SpatialUpdateSnapshotCreateInfoExt = 1000740014, + [NativeName("Name", "XR_TYPE_EVENT_DATA_SPATIAL_DISCOVERY_RECOMMENDED_EXT")] + EventDataSpatialDiscoveryRecommendedExt = 1000740015, + [NativeName("Name", "XR_TYPE_SPATIAL_FILTER_TRACKING_STATE_EXT")] + SpatialFilterTrackingStateExt = 1000740016, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_PLANE_TRACKING_EXT")] + SpatialCapabilityConfigurationPlaneTrackingExt = 1000741000, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PLANE_ALIGNMENT_LIST_EXT")] + SpatialComponentPlaneAlignmentListExt = 1000741001, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MESH_2D_LIST_EXT")] + SpatialComponentMesh2DListExt = 1000741002, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_POLYGON_2D_LIST_EXT")] + SpatialComponentPolygon2DListExt = 1000741003, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PLANE_SEMANTIC_LABEL_LIST_EXT")] + SpatialComponentPlaneSemanticLabelListExt = 1000741004, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_QR_CODE_EXT")] + SpatialCapabilityConfigurationQRCodeExt = 1000743000, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_MICRO_QR_CODE_EXT")] + SpatialCapabilityConfigurationMicroQRCodeExt = 1000743001, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ARUCO_MARKER_EXT")] + SpatialCapabilityConfigurationArucoMarkerExt = 1000743002, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_APRIL_TAG_EXT")] + SpatialCapabilityConfigurationAprilTagExt = 1000743003, + [NativeName("Name", "XR_TYPE_SPATIAL_MARKER_SIZE_EXT")] + SpatialMarkerSizeExt = 1000743004, + [NativeName("Name", "XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT")] + SpatialMarkerStaticOptimizationExt = 1000743005, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT")] + SpatialComponentMarkerListExt = 1000743006, + [NativeName("Name", "XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT")] + SpatialCapabilityConfigurationAnchorExt = 1000762000, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT")] + SpatialComponentAnchorListExt = 1000762001, + [NativeName("Name", "XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT")] + SpatialAnchorCreateInfoExt = 1000762002, + [NativeName("Name", "XR_TYPE_SPATIAL_PERSISTENCE_CONTEXT_CREATE_INFO_EXT")] + SpatialPersistenceContextCreateInfoExt = 1000763000, + [NativeName("Name", "XR_TYPE_CREATE_SPATIAL_PERSISTENCE_CONTEXT_COMPLETION_EXT")] + CreateSpatialPersistenceContextCompletionExt = 1000763001, + [NativeName("Name", "XR_TYPE_SPATIAL_CONTEXT_PERSISTENCE_CONFIG_EXT")] + SpatialContextPersistenceConfigExt = 1000763002, + [NativeName("Name", "XR_TYPE_SPATIAL_DISCOVERY_PERSISTENCE_UUID_FILTER_EXT")] + SpatialDiscoveryPersistenceUuidFilterExt = 1000763003, + [NativeName("Name", "XR_TYPE_SPATIAL_COMPONENT_PERSISTENCE_LIST_EXT")] + SpatialComponentPersistenceListExt = 1000763004, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_PERSIST_INFO_EXT")] + SpatialEntityPersistInfoExt = 1000781000, + [NativeName("Name", "XR_TYPE_PERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + PersistSpatialEntityCompletionExt = 1000781001, + [NativeName("Name", "XR_TYPE_SPATIAL_ENTITY_UNPERSIST_INFO_EXT")] + SpatialEntityUnpersistInfoExt = 1000781002, + [NativeName("Name", "XR_TYPE_UNPERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + UnpersistSpatialEntityCompletionExt = 1000781003, + [NativeName("Name", "XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT")] + LoaderInitInfoPropertiesExt = 1000838000, [NativeName("Name", "XR_TYPE_SPACES_LOCATE_INFO")] SpacesLocateInfo = 1000471000, [NativeName("Name", "XR_TYPE_SPACE_LOCATIONS")] diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerDictionaryANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerDictionaryANDROID.gen.cs new file mode 100644 index 0000000000..90ea70e5b7 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerDictionaryANDROID.gen.cs @@ -0,0 +1,116 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerDictionaryANDROID")] + public enum TrackableMarkerDictionaryANDROID : int + { + [Obsolete("Deprecated in favour of \"Aruco4X450Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_50_ANDROID")] + TrackableMarkerDictionaryAruco4X450Android = 0, + [Obsolete("Deprecated in favour of \"Aruco4X4100Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_100_ANDROID")] + TrackableMarkerDictionaryAruco4X4100Android = 1, + [Obsolete("Deprecated in favour of \"Aruco4X4250Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_250_ANDROID")] + TrackableMarkerDictionaryAruco4X4250Android = 2, + [Obsolete("Deprecated in favour of \"Aruco4X41000Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_1000_ANDROID")] + TrackableMarkerDictionaryAruco4X41000Android = 3, + [Obsolete("Deprecated in favour of \"Aruco5X550Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_50_ANDROID")] + TrackableMarkerDictionaryAruco5X550Android = 4, + [Obsolete("Deprecated in favour of \"Aruco5X5100Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_100_ANDROID")] + TrackableMarkerDictionaryAruco5X5100Android = 5, + [Obsolete("Deprecated in favour of \"Aruco5X5250Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_250_ANDROID")] + TrackableMarkerDictionaryAruco5X5250Android = 6, + [Obsolete("Deprecated in favour of \"Aruco5X51000Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_1000_ANDROID")] + TrackableMarkerDictionaryAruco5X51000Android = 7, + [Obsolete("Deprecated in favour of \"Aruco6X650Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_50_ANDROID")] + TrackableMarkerDictionaryAruco6X650Android = 8, + [Obsolete("Deprecated in favour of \"Aruco6X6100Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_100_ANDROID")] + TrackableMarkerDictionaryAruco6X6100Android = 9, + [Obsolete("Deprecated in favour of \"Aruco6X6250Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_250_ANDROID")] + TrackableMarkerDictionaryAruco6X6250Android = 10, + [Obsolete("Deprecated in favour of \"Aruco6X61000Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_1000_ANDROID")] + TrackableMarkerDictionaryAruco6X61000Android = 11, + [Obsolete("Deprecated in favour of \"Aruco7X750Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_50_ANDROID")] + TrackableMarkerDictionaryAruco7X750Android = 12, + [Obsolete("Deprecated in favour of \"Aruco7X7100Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_100_ANDROID")] + TrackableMarkerDictionaryAruco7X7100Android = 13, + [Obsolete("Deprecated in favour of \"Aruco7X7250Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_250_ANDROID")] + TrackableMarkerDictionaryAruco7X7250Android = 14, + [Obsolete("Deprecated in favour of \"Aruco7X71000Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_1000_ANDROID")] + TrackableMarkerDictionaryAruco7X71000Android = 15, + [Obsolete("Deprecated in favour of \"Apriltag16H5Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_16H5_ANDROID")] + TrackableMarkerDictionaryApriltag16H5Android = 16, + [Obsolete("Deprecated in favour of \"Apriltag25H9Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_25H9_ANDROID")] + TrackableMarkerDictionaryApriltag25H9Android = 17, + [Obsolete("Deprecated in favour of \"Apriltag36H10Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H10_ANDROID")] + TrackableMarkerDictionaryApriltag36H10Android = 18, + [Obsolete("Deprecated in favour of \"Apriltag36H11Android\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H11_ANDROID")] + TrackableMarkerDictionaryApriltag36H11Android = 19, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_50_ANDROID")] + Aruco4X450Android = 0, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_100_ANDROID")] + Aruco4X4100Android = 1, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_250_ANDROID")] + Aruco4X4250Android = 2, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_1000_ANDROID")] + Aruco4X41000Android = 3, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_50_ANDROID")] + Aruco5X550Android = 4, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_100_ANDROID")] + Aruco5X5100Android = 5, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_250_ANDROID")] + Aruco5X5250Android = 6, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_1000_ANDROID")] + Aruco5X51000Android = 7, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_50_ANDROID")] + Aruco6X650Android = 8, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_100_ANDROID")] + Aruco6X6100Android = 9, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_250_ANDROID")] + Aruco6X6250Android = 10, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_1000_ANDROID")] + Aruco6X61000Android = 11, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_50_ANDROID")] + Aruco7X750Android = 12, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_100_ANDROID")] + Aruco7X7100Android = 13, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_250_ANDROID")] + Aruco7X7250Android = 14, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_1000_ANDROID")] + Aruco7X71000Android = 15, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_16H5_ANDROID")] + Apriltag16H5Android = 16, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_25H9_ANDROID")] + Apriltag25H9Android = 17, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H10_ANDROID")] + Apriltag36H10Android = 18, + [NativeName("Name", "XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H11_ANDROID")] + Apriltag36H11Android = 19, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerTrackingModeANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerTrackingModeANDROID.gen.cs new file mode 100644 index 0000000000..75c4c8f100 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableMarkerTrackingModeANDROID.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerTrackingModeANDROID")] + public enum TrackableMarkerTrackingModeANDROID : int + { + [Obsolete("Deprecated in favour of \"DynamicAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_TRACKING_MODE_DYNAMIC_ANDROID")] + TrackableMarkerTrackingModeDynamicAndroid = 0, + [Obsolete("Deprecated in favour of \"StaticAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_MARKER_TRACKING_MODE_STATIC_ANDROID")] + TrackableMarkerTrackingModeStaticAndroid = 1, + [NativeName("Name", "XR_TRACKABLE_MARKER_TRACKING_MODE_DYNAMIC_ANDROID")] + DynamicAndroid = 0, + [NativeName("Name", "XR_TRACKABLE_MARKER_TRACKING_MODE_STATIC_ANDROID")] + StaticAndroid = 1, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableTypeANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableTypeANDROID.gen.cs new file mode 100644 index 0000000000..c8693fdc48 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackableTypeANDROID.gen.cs @@ -0,0 +1,41 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableTypeANDROID")] + public enum TrackableTypeANDROID : int + { + [Obsolete("Deprecated in favour of \"NotValidAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_TYPE_NOT_VALID_ANDROID")] + TrackableTypeNotValidAndroid = 0, + [Obsolete("Deprecated in favour of \"PlaneAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_TYPE_PLANE_ANDROID")] + TrackableTypePlaneAndroid = 1, + [Obsolete("Deprecated in favour of \"DepthAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_TYPE_DEPTH_ANDROID")] + TrackableTypeDepthAndroid = 1000463000, + [Obsolete("Deprecated in favour of \"ObjectAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_TYPE_OBJECT_ANDROID")] + TrackableTypeObjectAndroid = 1000466000, + [Obsolete("Deprecated in favour of \"MarkerAndroid\"")] + [NativeName("Name", "XR_TRACKABLE_TYPE_MARKER_ANDROID")] + TrackableTypeMarkerAndroid = 1000707000, + [NativeName("Name", "XR_TRACKABLE_TYPE_NOT_VALID_ANDROID")] + NotValidAndroid = 0, + [NativeName("Name", "XR_TRACKABLE_TYPE_PLANE_ANDROID")] + PlaneAndroid = 1, + [NativeName("Name", "XR_TRACKABLE_TYPE_DEPTH_ANDROID")] + DepthAndroid = 1000463000, + [NativeName("Name", "XR_TRACKABLE_TYPE_OBJECT_ANDROID")] + ObjectAndroid = 1000466000, + [NativeName("Name", "XR_TRACKABLE_TYPE_MARKER_ANDROID")] + MarkerAndroid = 1000707000, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Enums/TrackingStateANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackingStateANDROID.gen.cs new file mode 100644 index 0000000000..63a7cc0a21 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Enums/TrackingStateANDROID.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackingStateANDROID")] + public enum TrackingStateANDROID : int + { + [Obsolete("Deprecated in favour of \"PausedAndroid\"")] + [NativeName("Name", "XR_TRACKING_STATE_PAUSED_ANDROID")] + TrackingStatePausedAndroid = 0, + [Obsolete("Deprecated in favour of \"StoppedAndroid\"")] + [NativeName("Name", "XR_TRACKING_STATE_STOPPED_ANDROID")] + TrackingStateStoppedAndroid = 1, + [Obsolete("Deprecated in favour of \"TrackingAndroid\"")] + [NativeName("Name", "XR_TRACKING_STATE_TRACKING_ANDROID")] + TrackingStateTrackingAndroid = 2, + [NativeName("Name", "XR_TRACKING_STATE_PAUSED_ANDROID")] + PausedAndroid = 0, + [NativeName("Name", "XR_TRACKING_STATE_STOPPED_ANDROID")] + StoppedAndroid = 1, + [NativeName("Name", "XR_TRACKING_STATE_TRACKING_ANDROID")] + TrackingAndroid = 2, + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorBD.gen.cs new file mode 100644 index 0000000000..e7800a5989 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorBD.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorBD")] + public unsafe partial struct AnchorBD + { + public AnchorBD + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingInfoANDROID.gen.cs new file mode 100644 index 0000000000..3fc458fead --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingInfoANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorSharingInfoANDROID")] + public unsafe partial struct AnchorSharingInfoANDROID + { + public AnchorSharingInfoANDROID + ( + StructureType? type = StructureType.TypeAnchorSharingInfoAndroid, + void* next = null, + Space? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "anchor")] + public Space Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingTokenANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingTokenANDROID.gen.cs new file mode 100644 index 0000000000..79ae40dd85 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSharingTokenANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorSharingTokenANDROID")] + public unsafe partial struct AnchorSharingTokenANDROID + { + public AnchorSharingTokenANDROID + ( + StructureType? type = StructureType.TypeAnchorSharingTokenAndroid, + void* next = null, + AIBinder* token = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (token is not null) + { + Token = token; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "AIBinder*")] + [NativeName("Type.Name", "AIBinder")] + [NativeName("Name", "token")] + public AIBinder* Token; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..e843fb89f9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoANDROID.gen.cs @@ -0,0 +1,94 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorSpaceCreateInfoANDROID")] + public unsafe partial struct AnchorSpaceCreateInfoANDROID + { + public AnchorSpaceCreateInfoANDROID + ( + StructureType? type = StructureType.TypeAnchorSpaceCreateInfoAndroid, + void* next = null, + Space? space = null, + long? time = null, + Posef? pose = null, + ulong? trackable = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (space is not null) + { + Space = space.Value; + } + + if (time is not null) + { + Time = time.Value; + } + + if (pose is not null) + { + Pose = pose.Value; + } + + if (trackable is not null) + { + Trackable = trackable.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "space")] + public Space Space; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "pose")] + public Posef Pose; +/// + [NativeName("Type", "XrTrackableANDROID")] + [NativeName("Type.Name", "XrTrackableANDROID")] + [NativeName("Name", "trackable")] + public ulong Trackable; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoBD.gen.cs new file mode 100644 index 0000000000..0489a44d5d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/AnchorSpaceCreateInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrAnchorSpaceCreateInfoBD")] + public unsafe partial struct AnchorSpaceCreateInfoBD + { + public AnchorSpaceCreateInfoBD + ( + StructureType? type = StructureType.TypeAnchorSpaceCreateInfoBD, + void* next = null, + AnchorBD? anchor = null, + Posef? poseInAnchorSpace = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + + if (poseInAnchorSpace is not null) + { + PoseInAnchorSpace = poseInAnchorSpace.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAnchorBD")] + [NativeName("Type.Name", "XrAnchorBD")] + [NativeName("Name", "anchor")] + public AnchorBD Anchor; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "poseInAnchorSpace")] + public Posef PoseInAnchorSpace; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationBD.gen.cs new file mode 100644 index 0000000000..4e206e64aa --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyJointLocationBD")] + public unsafe partial struct BodyJointLocationBD + { + public BodyJointLocationBD + ( + SpaceLocationFlags? locationFlags = null, + Posef? pose = null + ) : this() + { + if (locationFlags is not null) + { + LocationFlags = locationFlags.Value; + } + + if (pose is not null) + { + Pose = pose.Value; + } + } + +/// + [NativeName("Type", "XrSpaceLocationFlags")] + [NativeName("Type.Name", "XrSpaceLocationFlags")] + [NativeName("Name", "locationFlags")] + public SpaceLocationFlags LocationFlags; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "pose")] + public Posef Pose; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationsBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationsBD.gen.cs new file mode 100644 index 0000000000..df672ee6ec --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointLocationsBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyJointLocationsBD")] + public unsafe partial struct BodyJointLocationsBD + { + public BodyJointLocationsBD + ( + StructureType? type = StructureType.TypeBodyJointLocationsBD, + void* next = null, + uint? allJointPosesTracked = null, + uint? jointLocationCount = null, + BodyJointLocationBD* jointLocations = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (allJointPosesTracked is not null) + { + AllJointPosesTracked = allJointPosesTracked.Value; + } + + if (jointLocationCount is not null) + { + JointLocationCount = jointLocationCount.Value; + } + + if (jointLocations is not null) + { + JointLocations = jointLocations; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "allJointPosesTracked")] + public uint AllJointPosesTracked; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "jointLocationCount")] + public uint JointLocationCount; +/// + [NativeName("Type", "XrBodyJointLocationBD*")] + [NativeName("Type.Name", "XrBodyJointLocationBD")] + [NativeName("Name", "jointLocations")] + public BodyJointLocationBD* JointLocations; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointsLocateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointsLocateInfoBD.gen.cs new file mode 100644 index 0000000000..08e5f54921 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyJointsLocateInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyJointsLocateInfoBD")] + public unsafe partial struct BodyJointsLocateInfoBD + { + public BodyJointsLocateInfoBD + ( + StructureType? type = StructureType.TypeBodyJointsLocateInfoBD, + void* next = null, + Space? baseSpace = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerBD.gen.cs new file mode 100644 index 0000000000..f89cad8fc6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerBD.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyTrackerBD")] + public unsafe partial struct BodyTrackerBD + { + public BodyTrackerBD + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerCreateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerCreateInfoBD.gen.cs new file mode 100644 index 0000000000..c36d228734 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackerCreateInfoBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyTrackerCreateInfoBD")] + public unsafe partial struct BodyTrackerCreateInfoBD + { + public BodyTrackerCreateInfoBD + ( + StructureType? type = StructureType.TypeBodyTrackerCreateInfoBD, + void* next = null, + BodyJointSetBD? jointSet = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (jointSet is not null) + { + JointSet = jointSet.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBodyJointSetBD")] + [NativeName("Type.Name", "XrBodyJointSetBD")] + [NativeName("Name", "jointSet")] + public BodyJointSetBD JointSet; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationInfoMETA.gen.cs new file mode 100644 index 0000000000..96f95a48a1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationInfoMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyTrackingCalibrationInfoMETA")] + public unsafe partial struct BodyTrackingCalibrationInfoMETA + { + public BodyTrackingCalibrationInfoMETA + ( + StructureType? type = StructureType.TypeBodyTrackingCalibrationInfoMeta, + void* next = null, + float? bodyHeight = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (bodyHeight is not null) + { + BodyHeight = bodyHeight.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "bodyHeight")] + public float BodyHeight; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationStatusMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationStatusMETA.gen.cs new file mode 100644 index 0000000000..94df795dc6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/BodyTrackingCalibrationStatusMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrBodyTrackingCalibrationStatusMETA")] + public unsafe partial struct BodyTrackingCalibrationStatusMETA + { + public BodyTrackingCalibrationStatusMETA + ( + StructureType? type = StructureType.TypeBodyTrackingCalibrationStatusMeta, + void* next = null, + BodyTrackingCalibrationStateMETA? status = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (status is not null) + { + Status = status.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBodyTrackingCalibrationStateMETA")] + [NativeName("Type.Name", "XrBodyTrackingCalibrationStateMETA")] + [NativeName("Name", "status")] + public BodyTrackingCalibrationStateMETA Status; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStartInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStartInfoMETA.gen.cs new file mode 100644 index 0000000000..58250ae829 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStartInfoMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrColocationAdvertisementStartInfoMETA")] + public unsafe partial struct ColocationAdvertisementStartInfoMETA + { + public ColocationAdvertisementStartInfoMETA + ( + StructureType? type = StructureType.TypeColocationAdvertisementStartInfoMeta, + void* next = null, + uint? bufferSize = null, + byte* buffer = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (buffer is not null) + { + Buffer = buffer; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bufferSize")] + public uint BufferSize; +/// + [NativeName("Type", "uint8_t*")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "buffer")] + public byte* Buffer; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStopInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStopInfoMETA.gen.cs new file mode 100644 index 0000000000..7d181b4a51 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationAdvertisementStopInfoMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrColocationAdvertisementStopInfoMETA")] + public unsafe partial struct ColocationAdvertisementStopInfoMETA + { + public ColocationAdvertisementStopInfoMETA + ( + StructureType? type = StructureType.TypeColocationAdvertisementStopInfoMeta, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStartInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStartInfoMETA.gen.cs new file mode 100644 index 0000000000..86073c40ce --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStartInfoMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrColocationDiscoveryStartInfoMETA")] + public unsafe partial struct ColocationDiscoveryStartInfoMETA + { + public ColocationDiscoveryStartInfoMETA + ( + StructureType? type = StructureType.TypeColocationDiscoveryStartInfoMeta, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStopInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStopInfoMETA.gen.cs new file mode 100644 index 0000000000..a613af215d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ColocationDiscoveryStopInfoMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrColocationDiscoveryStopInfoMETA")] + public unsafe partial struct ColocationDiscoveryStopInfoMETA + { + public ColocationDiscoveryStopInfoMETA + ( + StructureType? type = StructureType.TypeColocationDiscoveryStopInfoMeta, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialContextCompletionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialContextCompletionEXT.gen.cs new file mode 100644 index 0000000000..a25e432da5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialContextCompletionEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrCreateSpatialContextCompletionEXT")] + public unsafe partial struct CreateSpatialContextCompletionEXT + { + public CreateSpatialContextCompletionEXT + ( + StructureType? type = StructureType.TypeCreateSpatialContextCompletionExt, + void* next = null, + Result? futureResult = null, + SpatialContextEXT? spatialContext = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (spatialContext is not null) + { + SpatialContext = spatialContext.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSpatialContextEXT")] + [NativeName("Type.Name", "XrSpatialContextEXT")] + [NativeName("Name", "spatialContext")] + public SpatialContextEXT SpatialContext; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs new file mode 100644 index 0000000000..70cbdab657 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrCreateSpatialDiscoverySnapshotCompletionEXT")] + public unsafe partial struct CreateSpatialDiscoverySnapshotCompletionEXT + { + public CreateSpatialDiscoverySnapshotCompletionEXT + ( + StructureType? type = StructureType.TypeCreateSpatialDiscoverySnapshotCompletionExt, + void* next = null, + Result? futureResult = null, + SpatialSnapshotEXT? snapshot = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (snapshot is not null) + { + Snapshot = snapshot.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSpatialSnapshotEXT")] + [NativeName("Type.Name", "XrSpatialSnapshotEXT")] + [NativeName("Name", "snapshot")] + public SpatialSnapshotEXT Snapshot; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionInfoEXT.gen.cs new file mode 100644 index 0000000000..8ee28ea5db --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialDiscoverySnapshotCompletionInfoEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrCreateSpatialDiscoverySnapshotCompletionInfoEXT")] + public unsafe partial struct CreateSpatialDiscoverySnapshotCompletionInfoEXT + { + public CreateSpatialDiscoverySnapshotCompletionInfoEXT + ( + StructureType? type = StructureType.TypeCreateSpatialDiscoverySnapshotCompletionInfoExt, + void* next = null, + Space? baseSpace = null, + long? time = null, + FutureEXT? future = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + + if (time is not null) + { + Time = time.Value; + } + + if (future is not null) + { + Future = future.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; +/// + [NativeName("Type", "XrFutureEXT")] + [NativeName("Type.Name", "XrFutureEXT")] + [NativeName("Name", "future")] + public FutureEXT Future; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialPersistenceContextCompletionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialPersistenceContextCompletionEXT.gen.cs new file mode 100644 index 0000000000..b06f6dc3d4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/CreateSpatialPersistenceContextCompletionEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrCreateSpatialPersistenceContextCompletionEXT")] + public unsafe partial struct CreateSpatialPersistenceContextCompletionEXT + { + public CreateSpatialPersistenceContextCompletionEXT + ( + StructureType? type = StructureType.TypeCreateSpatialPersistenceContextCompletionExt, + void* next = null, + Result? futureResult = null, + SpatialPersistenceContextResultEXT? createResult = null, + SpatialPersistenceContextEXT? persistenceContext = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (createResult is not null) + { + CreateResult = createResult.Value; + } + + if (persistenceContext is not null) + { + PersistenceContext = persistenceContext.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Name", "createResult")] + public SpatialPersistenceContextResultEXT CreateResult; +/// + [NativeName("Type", "XrSpatialPersistenceContextEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceContextEXT")] + [NativeName("Name", "persistenceContext")] + public SpatialPersistenceContextEXT PersistenceContext; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceANDROID.gen.cs new file mode 100644 index 0000000000..d098f1f24e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceANDROID.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrDeviceAnchorPersistenceANDROID")] + public unsafe partial struct DeviceAnchorPersistenceANDROID + { + public DeviceAnchorPersistenceANDROID + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceCreateInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..d7adc07e9e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/DeviceAnchorPersistenceCreateInfoANDROID.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrDeviceAnchorPersistenceCreateInfoANDROID")] + public unsafe partial struct DeviceAnchorPersistenceCreateInfoANDROID + { + public DeviceAnchorPersistenceCreateInfoANDROID + ( + StructureType? type = StructureType.TypeDeviceAnchorPersistenceCreateInfoAndroid, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationAdvertisementCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..b72b83dbf0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationAdvertisementCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataColocationAdvertisementCompleteMETA")] + public unsafe partial struct EventDataColocationAdvertisementCompleteMETA + { + public EventDataColocationAdvertisementCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataColocationAdvertisementCompleteMeta, + void* next = null, + ulong? advertisementRequestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (advertisementRequestId is not null) + { + AdvertisementRequestId = advertisementRequestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "advertisementRequestId")] + public ulong AdvertisementRequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..7b4f5c385d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataColocationDiscoveryCompleteMETA")] + public unsafe partial struct EventDataColocationDiscoveryCompleteMETA + { + public EventDataColocationDiscoveryCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataColocationDiscoveryCompleteMeta, + void* next = null, + ulong? discoveryRequestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (discoveryRequestId is not null) + { + DiscoveryRequestId = discoveryRequestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "discoveryRequestId")] + public ulong DiscoveryRequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryResultMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryResultMETA.gen.cs new file mode 100644 index 0000000000..108cceb9c9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataColocationDiscoveryResultMETA.gen.cs @@ -0,0 +1,88 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataColocationDiscoveryResultMETA")] + public unsafe partial struct EventDataColocationDiscoveryResultMETA + { + public EventDataColocationDiscoveryResultMETA + ( + StructureType? type = StructureType.TypeEventDataColocationDiscoveryResultMeta, + void* next = null, + ulong? discoveryRequestId = null, + Uuid? advertisementUuid = null, + uint? bufferSize = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (discoveryRequestId is not null) + { + DiscoveryRequestId = discoveryRequestId.Value; + } + + if (advertisementUuid is not null) + { + AdvertisementUuid = advertisementUuid.Value; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "discoveryRequestId")] + public ulong DiscoveryRequestId; +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "advertisementUuid")] + public Uuid AdvertisementUuid; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bufferSize")] + public uint BufferSize; + /// + [NativeName("Type", "uint8_t")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "buffer")] + public fixed byte Buffer[1024]; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataInteractionRenderModelsChangedEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataInteractionRenderModelsChangedEXT.gen.cs new file mode 100644 index 0000000000..eea55a8945 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataInteractionRenderModelsChangedEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataInteractionRenderModelsChangedEXT")] + public unsafe partial struct EventDataInteractionRenderModelsChangedEXT + { + public EventDataInteractionRenderModelsChangedEXT + ( + StructureType? type = StructureType.TypeEventDataInteractionRenderModelsChangedExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataPassthroughLayerResumedMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataPassthroughLayerResumedMETA.gen.cs new file mode 100644 index 0000000000..b5a4999dd1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataPassthroughLayerResumedMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataPassthroughLayerResumedMETA")] + public unsafe partial struct EventDataPassthroughLayerResumedMETA + { + public EventDataPassthroughLayerResumedMETA + ( + StructureType? type = StructureType.TypeEventDataPassthroughLayerResumedMeta, + void* next = null, + PassthroughLayerFB? layer = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (layer is not null) + { + Layer = layer.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrPassthroughLayerFB")] + [NativeName("Type.Name", "XrPassthroughLayerFB")] + [NativeName("Name", "layer")] + public PassthroughLayerFB Layer; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataProviderStateChangedBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataProviderStateChangedBD.gen.cs new file mode 100644 index 0000000000..3107409d33 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataProviderStateChangedBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataSenseDataProviderStateChangedBD")] + public unsafe partial struct EventDataSenseDataProviderStateChangedBD + { + public EventDataSenseDataProviderStateChangedBD + ( + StructureType? type = StructureType.TypeEventDataSenseDataProviderStateChangedBD, + void* next = null, + SenseDataProviderBD? provider = null, + SenseDataProviderStateBD? newState = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (provider is not null) + { + Provider = provider.Value; + } + + if (newState is not null) + { + NewState = newState.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSenseDataProviderBD")] + [NativeName("Type.Name", "XrSenseDataProviderBD")] + [NativeName("Name", "provider")] + public SenseDataProviderBD Provider; +/// + [NativeName("Type", "XrSenseDataProviderStateBD")] + [NativeName("Type.Name", "XrSenseDataProviderStateBD")] + [NativeName("Name", "newState")] + public SenseDataProviderStateBD NewState; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataUpdatedBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataUpdatedBD.gen.cs new file mode 100644 index 0000000000..56018ddac0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSenseDataUpdatedBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataSenseDataUpdatedBD")] + public unsafe partial struct EventDataSenseDataUpdatedBD + { + public EventDataSenseDataUpdatedBD + ( + StructureType? type = StructureType.TypeEventDataSenseDataUpdatedBD, + void* next = null, + SenseDataProviderBD? provider = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (provider is not null) + { + Provider = provider.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSenseDataProviderBD")] + [NativeName("Type.Name", "XrSenseDataProviderBD")] + [NativeName("Name", "provider")] + public SenseDataProviderBD Provider; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataShareSpacesCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataShareSpacesCompleteMETA.gen.cs new file mode 100644 index 0000000000..aeaacaac64 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataShareSpacesCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataShareSpacesCompleteMETA")] + public unsafe partial struct EventDataShareSpacesCompleteMETA + { + public EventDataShareSpacesCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataShareSpacesCompleteMeta, + void* next = null, + ulong? requestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestId is not null) + { + RequestId = requestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "requestId")] + public ulong RequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesEraseResultMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesEraseResultMETA.gen.cs new file mode 100644 index 0000000000..4005c984d0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesEraseResultMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataSpacesEraseResultMETA")] + public unsafe partial struct EventDataSpacesEraseResultMETA + { + public EventDataSpacesEraseResultMETA + ( + StructureType? type = StructureType.TypeEventDataSpacesEraseResultMeta, + void* next = null, + ulong? requestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestId is not null) + { + RequestId = requestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "requestId")] + public ulong RequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesSaveResultMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesSaveResultMETA.gen.cs new file mode 100644 index 0000000000..5e933007ca --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpacesSaveResultMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataSpacesSaveResultMETA")] + public unsafe partial struct EventDataSpacesSaveResultMETA + { + public EventDataSpacesSaveResultMETA + ( + StructureType? type = StructureType.TypeEventDataSpacesSaveResultMeta, + void* next = null, + ulong? requestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestId is not null) + { + RequestId = requestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "requestId")] + public ulong RequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpatialDiscoveryRecommendedEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpatialDiscoveryRecommendedEXT.gen.cs new file mode 100644 index 0000000000..0895e3eda9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataSpatialDiscoveryRecommendedEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataSpatialDiscoveryRecommendedEXT")] + public unsafe partial struct EventDataSpatialDiscoveryRecommendedEXT + { + public EventDataSpatialDiscoveryRecommendedEXT + ( + StructureType? type = StructureType.TypeEventDataSpatialDiscoveryRecommendedExt, + void* next = null, + SpatialContextEXT? spatialContext = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (spatialContext is not null) + { + SpatialContext = spatialContext.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialContextEXT")] + [NativeName("Type.Name", "XrSpatialContextEXT")] + [NativeName("Name", "spatialContext")] + public SpatialContextEXT SpatialContext; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationAdvertisementCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..b3e8eab25d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationAdvertisementCompleteMETA.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataStartColocationAdvertisementCompleteMETA")] + public unsafe partial struct EventDataStartColocationAdvertisementCompleteMETA + { + public EventDataStartColocationAdvertisementCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataStartColocationAdvertisementCompleteMeta, + void* next = null, + ulong? advertisementRequestId = null, + Result? result = null, + Uuid? advertisementUuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (advertisementRequestId is not null) + { + AdvertisementRequestId = advertisementRequestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + + if (advertisementUuid is not null) + { + AdvertisementUuid = advertisementUuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "advertisementRequestId")] + public ulong AdvertisementRequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "advertisementUuid")] + public Uuid AdvertisementUuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationDiscoveryCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..b31ca91766 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStartColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataStartColocationDiscoveryCompleteMETA")] + public unsafe partial struct EventDataStartColocationDiscoveryCompleteMETA + { + public EventDataStartColocationDiscoveryCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataStartColocationDiscoveryCompleteMeta, + void* next = null, + ulong? discoveryRequestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (discoveryRequestId is not null) + { + DiscoveryRequestId = discoveryRequestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "discoveryRequestId")] + public ulong DiscoveryRequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationAdvertisementCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..d8fc622bd0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationAdvertisementCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataStopColocationAdvertisementCompleteMETA")] + public unsafe partial struct EventDataStopColocationAdvertisementCompleteMETA + { + public EventDataStopColocationAdvertisementCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataStopColocationAdvertisementCompleteMeta, + void* next = null, + ulong? requestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestId is not null) + { + RequestId = requestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "requestId")] + public ulong RequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationDiscoveryCompleteMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..2b5f190142 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/EventDataStopColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrEventDataStopColocationDiscoveryCompleteMETA")] + public unsafe partial struct EventDataStopColocationDiscoveryCompleteMETA + { + public EventDataStopColocationDiscoveryCompleteMETA + ( + StructureType? type = StructureType.TypeEventDataStopColocationDiscoveryCompleteMeta, + void* next = null, + ulong? requestId = null, + Result? result = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestId is not null) + { + RequestId = requestId.Value; + } + + if (result is not null) + { + Result = result.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAsyncRequestIdFB")] + [NativeName("Type.Name", "XrAsyncRequestIdFB")] + [NativeName("Name", "requestId")] + public ulong RequestId; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "result")] + public Result Result; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapeGetInfoML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapeGetInfoML.gen.cs new file mode 100644 index 0000000000..b20ca7984a --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapeGetInfoML.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFacialExpressionBlendShapeGetInfoML")] + public unsafe partial struct FacialExpressionBlendShapeGetInfoML + { + public FacialExpressionBlendShapeGetInfoML + ( + StructureType? type = StructureType.TypeFacialExpressionBlendShapeGetInfoML, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapePropertiesML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapePropertiesML.gen.cs new file mode 100644 index 0000000000..eee12f3ccd --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionBlendShapePropertiesML.gen.cs @@ -0,0 +1,94 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFacialExpressionBlendShapePropertiesML")] + public unsafe partial struct FacialExpressionBlendShapePropertiesML + { + public FacialExpressionBlendShapePropertiesML + ( + StructureType? type = StructureType.TypeFacialExpressionBlendShapePropertiesML, + void* next = null, + FacialBlendShapeML? requestedFacialBlendShape = null, + float? weight = null, + FacialExpressionBlendShapePropertiesFlagsML? flags = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestedFacialBlendShape is not null) + { + RequestedFacialBlendShape = requestedFacialBlendShape.Value; + } + + if (weight is not null) + { + Weight = weight.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrFacialBlendShapeML")] + [NativeName("Type.Name", "XrFacialBlendShapeML")] + [NativeName("Name", "requestedFacialBlendShape")] + public FacialBlendShapeML RequestedFacialBlendShape; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "weight")] + public float Weight; +/// + [NativeName("Type", "XrFacialExpressionBlendShapePropertiesFlagsML")] + [NativeName("Type.Name", "XrFacialExpressionBlendShapePropertiesFlagsML")] + [NativeName("Name", "flags")] + public FacialExpressionBlendShapePropertiesFlagsML Flags; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientCreateInfoML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientCreateInfoML.gen.cs new file mode 100644 index 0000000000..19aca731df --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientCreateInfoML.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFacialExpressionClientCreateInfoML")] + public unsafe partial struct FacialExpressionClientCreateInfoML + { + public FacialExpressionClientCreateInfoML + ( + StructureType? type = StructureType.TypeFacialExpressionClientCreateInfoML, + void* next = null, + uint? requestedCount = null, + FacialBlendShapeML* requestedFacialBlendShapes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (requestedCount is not null) + { + RequestedCount = requestedCount.Value; + } + + if (requestedFacialBlendShapes is not null) + { + RequestedFacialBlendShapes = requestedFacialBlendShapes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "requestedCount")] + public uint RequestedCount; +/// + [NativeName("Type", "XrFacialBlendShapeML*")] + [NativeName("Type.Name", "XrFacialBlendShapeML")] + [NativeName("Name", "requestedFacialBlendShapes")] + public FacialBlendShapeML* RequestedFacialBlendShapes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientML.gen.cs new file mode 100644 index 0000000000..5802f88feb --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FacialExpressionClientML.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFacialExpressionClientML")] + public unsafe partial struct FacialExpressionClientML + { + public FacialExpressionClientML + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisConfigViewEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisConfigViewEXT.gen.cs new file mode 100644 index 0000000000..b621936739 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisConfigViewEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFrameSynthesisConfigViewEXT")] + public unsafe partial struct FrameSynthesisConfigViewEXT + { + public FrameSynthesisConfigViewEXT + ( + StructureType? type = StructureType.TypeFrameSynthesisConfigViewExt, + void* next = null, + uint? recommendedMotionVectorImageRectWidth = null, + uint? recommendedMotionVectorImageRectHeight = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (recommendedMotionVectorImageRectWidth is not null) + { + RecommendedMotionVectorImageRectWidth = recommendedMotionVectorImageRectWidth.Value; + } + + if (recommendedMotionVectorImageRectHeight is not null) + { + RecommendedMotionVectorImageRectHeight = recommendedMotionVectorImageRectHeight.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "recommendedMotionVectorImageRectWidth")] + public uint RecommendedMotionVectorImageRectWidth; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "recommendedMotionVectorImageRectHeight")] + public uint RecommendedMotionVectorImageRectHeight; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisInfoEXT.gen.cs new file mode 100644 index 0000000000..d541bba626 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FrameSynthesisInfoEXT.gen.cs @@ -0,0 +1,160 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFrameSynthesisInfoEXT")] + public unsafe partial struct FrameSynthesisInfoEXT + { + public FrameSynthesisInfoEXT + ( + StructureType? type = StructureType.TypeFrameSynthesisInfoExt, + void* next = null, + FrameSynthesisInfoFlagsEXT? layerFlags = null, + SwapchainSubImage? motionVectorSubImage = null, + Vector4f? motionVectorScale = null, + Vector4f? motionVectorOffset = null, + Posef? appSpaceDeltaPose = null, + SwapchainSubImage? depthSubImage = null, + float? minDepth = null, + float? maxDepth = null, + float? nearZ = null, + float? farZ = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (layerFlags is not null) + { + LayerFlags = layerFlags.Value; + } + + if (motionVectorSubImage is not null) + { + MotionVectorSubImage = motionVectorSubImage.Value; + } + + if (motionVectorScale is not null) + { + MotionVectorScale = motionVectorScale.Value; + } + + if (motionVectorOffset is not null) + { + MotionVectorOffset = motionVectorOffset.Value; + } + + if (appSpaceDeltaPose is not null) + { + AppSpaceDeltaPose = appSpaceDeltaPose.Value; + } + + if (depthSubImage is not null) + { + DepthSubImage = depthSubImage.Value; + } + + if (minDepth is not null) + { + MinDepth = minDepth.Value; + } + + if (maxDepth is not null) + { + MaxDepth = maxDepth.Value; + } + + if (nearZ is not null) + { + NearZ = nearZ.Value; + } + + if (farZ is not null) + { + FarZ = farZ.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrFrameSynthesisInfoFlagsEXT")] + [NativeName("Type.Name", "XrFrameSynthesisInfoFlagsEXT")] + [NativeName("Name", "layerFlags")] + public FrameSynthesisInfoFlagsEXT LayerFlags; +/// + [NativeName("Type", "XrSwapchainSubImage")] + [NativeName("Type.Name", "XrSwapchainSubImage")] + [NativeName("Name", "motionVectorSubImage")] + public SwapchainSubImage MotionVectorSubImage; +/// + [NativeName("Type", "XrVector4f")] + [NativeName("Type.Name", "XrVector4f")] + [NativeName("Name", "motionVectorScale")] + public Vector4f MotionVectorScale; +/// + [NativeName("Type", "XrVector4f")] + [NativeName("Type.Name", "XrVector4f")] + [NativeName("Name", "motionVectorOffset")] + public Vector4f MotionVectorOffset; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "appSpaceDeltaPose")] + public Posef AppSpaceDeltaPose; +/// + [NativeName("Type", "XrSwapchainSubImage")] + [NativeName("Type.Name", "XrSwapchainSubImage")] + [NativeName("Name", "depthSubImage")] + public SwapchainSubImage DepthSubImage; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "minDepth")] + public float MinDepth; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "maxDepth")] + public float MaxDepth; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "nearZ")] + public float NearZ; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "farZ")] + public float FarZ; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/FuturePollResultProgressBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/FuturePollResultProgressBD.gen.cs new file mode 100644 index 0000000000..5f314fea6d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/FuturePollResultProgressBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrFuturePollResultProgressBD")] + public unsafe partial struct FuturePollResultProgressBD + { + public FuturePollResultProgressBD + ( + StructureType? type = StructureType.TypeFuturePollResultProgressBD, + void* next = null, + uint? isSupported = null, + uint? progressPercentage = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (isSupported is not null) + { + IsSupported = isSupported.Value; + } + + if (progressPercentage is not null) + { + ProgressPercentage = progressPercentage.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "isSupported")] + public uint IsSupported; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "progressPercentage")] + public uint ProgressPercentage; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelIdsEnumerateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelIdsEnumerateInfoEXT.gen.cs new file mode 100644 index 0000000000..1afa4fee28 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelIdsEnumerateInfoEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrInteractionRenderModelIdsEnumerateInfoEXT")] + public unsafe partial struct InteractionRenderModelIdsEnumerateInfoEXT + { + public InteractionRenderModelIdsEnumerateInfoEXT + ( + StructureType? type = StructureType.TypeInteractionRenderModelIdsEnumerateInfoExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelSubactionPathInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelSubactionPathInfoEXT.gen.cs new file mode 100644 index 0000000000..dd89e606b8 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelSubactionPathInfoEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrInteractionRenderModelSubactionPathInfoEXT")] + public unsafe partial struct InteractionRenderModelSubactionPathInfoEXT + { + public InteractionRenderModelSubactionPathInfoEXT + ( + StructureType? type = StructureType.TypeInteractionRenderModelSubactionPathInfoExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelTopLevelUserPathGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelTopLevelUserPathGetInfoEXT.gen.cs new file mode 100644 index 0000000000..ec2845ad1e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/InteractionRenderModelTopLevelUserPathGetInfoEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrInteractionRenderModelTopLevelUserPathGetInfoEXT")] + public unsafe partial struct InteractionRenderModelTopLevelUserPathGetInfoEXT + { + public InteractionRenderModelTopLevelUserPathGetInfoEXT + ( + StructureType? type = StructureType.TypeInteractionRenderModelTopLevelUserPathGetInfoExt, + void* next = null, + uint? topLevelUserPathCount = null, + ulong* topLevelUserPaths = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (topLevelUserPathCount is not null) + { + TopLevelUserPathCount = topLevelUserPathCount.Value; + } + + if (topLevelUserPaths is not null) + { + TopLevelUserPaths = topLevelUserPaths; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "topLevelUserPathCount")] + public uint TopLevelUserPathCount; +/// + [NativeName("Type", "XrPath*")] + [NativeName("Type.Name", "XrPath")] + [NativeName("Name", "topLevelUserPaths")] + public ulong* TopLevelUserPaths; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitInfoPropertiesEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitInfoPropertiesEXT.gen.cs new file mode 100644 index 0000000000..c865778e8e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitInfoPropertiesEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrLoaderInitInfoPropertiesEXT")] + public unsafe partial struct LoaderInitInfoPropertiesEXT + { + public LoaderInitInfoPropertiesEXT + ( + StructureType? type = StructureType.TypeLoaderInitInfoPropertiesExt, + void* next = null, + uint? propertyValueCount = null, + LoaderInitPropertyValueEXT* propertyValues = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (propertyValueCount is not null) + { + PropertyValueCount = propertyValueCount.Value; + } + + if (propertyValues is not null) + { + PropertyValues = propertyValues; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "propertyValueCount")] + public uint PropertyValueCount; +/// + [NativeName("Type", "XrLoaderInitPropertyValueEXT*")] + [NativeName("Type.Name", "XrLoaderInitPropertyValueEXT")] + [NativeName("Name", "propertyValues")] + public LoaderInitPropertyValueEXT* PropertyValues; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitPropertyValueEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitPropertyValueEXT.gen.cs new file mode 100644 index 0000000000..a7b6566c6a --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/LoaderInitPropertyValueEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrLoaderInitPropertyValueEXT")] + public unsafe partial struct LoaderInitPropertyValueEXT + { + public LoaderInitPropertyValueEXT + ( + byte* name = null, + byte* value = null + ) : this() + { + if (name is not null) + { + Name = name; + } + + if (value is not null) + { + Value = value; + } + } + +/// + [NativeName("Type", "char*")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "name")] + public byte* Name; +/// + [NativeName("Type", "char*")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "value")] + public byte* Value; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/PassthroughCameraStateGetInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/PassthroughCameraStateGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..20a2fa69ea --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/PassthroughCameraStateGetInfoANDROID.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPassthroughCameraStateGetInfoANDROID")] + public unsafe partial struct PassthroughCameraStateGetInfoANDROID + { + public PassthroughCameraStateGetInfoANDROID + ( + StructureType? type = StructureType.TypePassthroughCameraStateGetInfoAndroid, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/PersistSpatialEntityCompletionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistSpatialEntityCompletionEXT.gen.cs new file mode 100644 index 0000000000..ced55c2511 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistSpatialEntityCompletionEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPersistSpatialEntityCompletionEXT")] + public unsafe partial struct PersistSpatialEntityCompletionEXT + { + public PersistSpatialEntityCompletionEXT + ( + StructureType? type = StructureType.TypePersistSpatialEntityCompletionExt, + void* next = null, + Result? futureResult = null, + SpatialPersistenceContextResultEXT? persistResult = null, + Uuid? persistUuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (persistResult is not null) + { + PersistResult = persistResult.Value; + } + + if (persistUuid is not null) + { + PersistUuid = persistUuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Name", "persistResult")] + public SpatialPersistenceContextResultEXT PersistResult; +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "persistUuid")] + public Uuid PersistUuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceCreateInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..9d18abe03c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceCreateInfoANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPersistedAnchorSpaceCreateInfoANDROID")] + public unsafe partial struct PersistedAnchorSpaceCreateInfoANDROID + { + public PersistedAnchorSpaceCreateInfoANDROID + ( + StructureType? type = StructureType.TypePersistedAnchorSpaceCreateInfoAndroid, + void* next = null, + UuidEXT? anchorId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (anchorId is not null) + { + AnchorId = anchorId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "anchorId")] + public UuidEXT AnchorId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceInfoANDROID.gen.cs new file mode 100644 index 0000000000..8492f59400 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/PersistedAnchorSpaceInfoANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrPersistedAnchorSpaceInfoANDROID")] + public unsafe partial struct PersistedAnchorSpaceInfoANDROID + { + public PersistedAnchorSpaceInfoANDROID + ( + StructureType? type = StructureType.TypePersistedAnchorSpaceInfoAndroid, + void* next = null, + Space? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "anchor")] + public Space Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataBD.gen.cs new file mode 100644 index 0000000000..8d613bb72e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrQueriedSenseDataBD")] + public unsafe partial struct QueriedSenseDataBD + { + public QueriedSenseDataBD + ( + StructureType? type = StructureType.TypeQueriedSenseDataBD, + void* next = null, + uint? stateCapacityInput = null, + uint? stateCountOutput = null, + SpatialEntityStateBD* states = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (stateCapacityInput is not null) + { + StateCapacityInput = stateCapacityInput.Value; + } + + if (stateCountOutput is not null) + { + StateCountOutput = stateCountOutput.Value; + } + + if (states is not null) + { + States = states; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "stateCapacityInput")] + public uint StateCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "stateCountOutput")] + public uint StateCountOutput; +/// + [NativeName("Type", "XrSpatialEntityStateBD*")] + [NativeName("Type.Name", "XrSpatialEntityStateBD")] + [NativeName("Name", "states")] + public SpatialEntityStateBD* States; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataGetInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataGetInfoBD.gen.cs new file mode 100644 index 0000000000..21c33cd50b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/QueriedSenseDataGetInfoBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrQueriedSenseDataGetInfoBD")] + public unsafe partial struct QueriedSenseDataGetInfoBD + { + public QueriedSenseDataGetInfoBD + ( + StructureType? type = StructureType.TypeQueriedSenseDataGetInfoBD, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultANDROID.gen.cs new file mode 100644 index 0000000000..482e281261 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRaycastHitResultANDROID")] + public unsafe partial struct RaycastHitResultANDROID + { + public RaycastHitResultANDROID + ( + TrackableTypeANDROID? type = null, + ulong? trackable = null, + Posef? pose = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (trackable is not null) + { + Trackable = trackable.Value; + } + + if (pose is not null) + { + Pose = pose.Value; + } + } + +/// + [NativeName("Type", "XrTrackableTypeANDROID")] + [NativeName("Type.Name", "XrTrackableTypeANDROID")] + [NativeName("Name", "type")] + public TrackableTypeANDROID Type; +/// + [NativeName("Type", "XrTrackableANDROID")] + [NativeName("Type.Name", "XrTrackableANDROID")] + [NativeName("Name", "trackable")] + public ulong Trackable; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "pose")] + public Posef Pose; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultsANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultsANDROID.gen.cs new file mode 100644 index 0000000000..f001377ed9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastHitResultsANDROID.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRaycastHitResultsANDROID")] + public unsafe partial struct RaycastHitResultsANDROID + { + public RaycastHitResultsANDROID + ( + StructureType? type = StructureType.TypeRaycastHitResultsAndroid, + void* next = null, + uint? resultsCapacityInput = null, + uint? resultsCountOutput = null, + RaycastHitResultANDROID* results = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (resultsCapacityInput is not null) + { + ResultsCapacityInput = resultsCapacityInput.Value; + } + + if (resultsCountOutput is not null) + { + ResultsCountOutput = resultsCountOutput.Value; + } + + if (results is not null) + { + Results = results; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "resultsCapacityInput")] + public uint ResultsCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "resultsCountOutput")] + public uint ResultsCountOutput; +/// + [NativeName("Type", "XrRaycastHitResultANDROID*")] + [NativeName("Type.Name", "XrRaycastHitResultANDROID")] + [NativeName("Name", "results")] + public RaycastHitResultANDROID* Results; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastInfoANDROID.gen.cs new file mode 100644 index 0000000000..80d7451b0e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RaycastInfoANDROID.gen.cs @@ -0,0 +1,127 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRaycastInfoANDROID")] + public unsafe partial struct RaycastInfoANDROID + { + public RaycastInfoANDROID + ( + StructureType? type = StructureType.TypeRaycastInfoAndroid, + void* next = null, + uint? maxResults = null, + uint? trackerCount = null, + TrackableTrackerANDROID* trackers = null, + Vector3f? origin = null, + Vector3f? trajectory = null, + Space? space = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (maxResults is not null) + { + MaxResults = maxResults.Value; + } + + if (trackerCount is not null) + { + TrackerCount = trackerCount.Value; + } + + if (trackers is not null) + { + Trackers = trackers; + } + + if (origin is not null) + { + Origin = origin.Value; + } + + if (trajectory is not null) + { + Trajectory = trajectory.Value; + } + + if (space is not null) + { + Space = space.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxResults")] + public uint MaxResults; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "trackerCount")] + public uint TrackerCount; +/// + [NativeName("Type", "XrTrackableTrackerANDROID*")] + [NativeName("Type.Name", "XrTrackableTrackerANDROID")] + [NativeName("Name", "trackers")] + public TrackableTrackerANDROID* Trackers; +/// + [NativeName("Type", "XrVector3f")] + [NativeName("Type.Name", "XrVector3f")] + [NativeName("Name", "origin")] + public Vector3f Origin; +/// + [NativeName("Type", "XrVector3f")] + [NativeName("Type.Name", "XrVector3f")] + [NativeName("Name", "trajectory")] + public Vector3f Trajectory; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "space")] + public Space Space; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..fe7e86ee9b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetCreateInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetCreateInfoEXT")] + public unsafe partial struct RenderModelAssetCreateInfoEXT + { + public RenderModelAssetCreateInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelAssetCreateInfoExt, + void* next = null, + UuidEXT? cacheId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (cacheId is not null) + { + CacheId = cacheId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "cacheId")] + public UuidEXT CacheId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataEXT.gen.cs new file mode 100644 index 0000000000..28b91e4269 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetDataEXT")] + public unsafe partial struct RenderModelAssetDataEXT + { + public RenderModelAssetDataEXT + ( + StructureType? type = StructureType.TypeRenderModelAssetDataExt, + void* next = null, + uint? bufferCapacityInput = null, + uint? bufferCountOutput = null, + byte* buffer = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (bufferCapacityInput is not null) + { + BufferCapacityInput = bufferCapacityInput.Value; + } + + if (bufferCountOutput is not null) + { + BufferCountOutput = bufferCountOutput.Value; + } + + if (buffer is not null) + { + Buffer = buffer; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bufferCapacityInput")] + public uint BufferCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bufferCountOutput")] + public uint BufferCountOutput; +/// + [NativeName("Type", "uint8_t*")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "buffer")] + public byte* Buffer; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataGetInfoEXT.gen.cs new file mode 100644 index 0000000000..4f1197b663 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetDataGetInfoEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetDataGetInfoEXT")] + public unsafe partial struct RenderModelAssetDataGetInfoEXT + { + public RenderModelAssetDataGetInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelAssetDataGetInfoExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetEXT.gen.cs new file mode 100644 index 0000000000..b91a04358d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetEXT")] + public unsafe partial struct RenderModelAssetEXT + { + public RenderModelAssetEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetNodePropertiesEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetNodePropertiesEXT.gen.cs new file mode 100644 index 0000000000..15d6e162ec --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetNodePropertiesEXT.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetNodePropertiesEXT")] + public unsafe partial struct RenderModelAssetNodePropertiesEXT + { + /// + [NativeName("Type", "char")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "uniqueName")] + public fixed byte UniqueName[64]; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesEXT.gen.cs new file mode 100644 index 0000000000..cac6866f66 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetPropertiesEXT")] + public unsafe partial struct RenderModelAssetPropertiesEXT + { + public RenderModelAssetPropertiesEXT + ( + StructureType? type = StructureType.TypeRenderModelAssetPropertiesExt, + void* next = null, + uint? nodePropertyCount = null, + RenderModelAssetNodePropertiesEXT* nodeProperties = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (nodePropertyCount is not null) + { + NodePropertyCount = nodePropertyCount.Value; + } + + if (nodeProperties is not null) + { + NodeProperties = nodeProperties; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "nodePropertyCount")] + public uint NodePropertyCount; +/// + [NativeName("Type", "XrRenderModelAssetNodePropertiesEXT*")] + [NativeName("Type.Name", "XrRenderModelAssetNodePropertiesEXT")] + [NativeName("Name", "nodeProperties")] + public RenderModelAssetNodePropertiesEXT* NodeProperties; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesGetInfoEXT.gen.cs new file mode 100644 index 0000000000..eb124aaf8f --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelAssetPropertiesGetInfoEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelAssetPropertiesGetInfoEXT")] + public unsafe partial struct RenderModelAssetPropertiesGetInfoEXT + { + public RenderModelAssetPropertiesGetInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelAssetPropertiesGetInfoExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..1a01096c1e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelCreateInfoEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelCreateInfoEXT")] + public unsafe partial struct RenderModelCreateInfoEXT + { + public RenderModelCreateInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelCreateInfoExt, + void* next = null, + ulong? renderModelId = null, + uint? gltfExtensionCount = null, + byte** gltfExtensions = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (renderModelId is not null) + { + RenderModelId = renderModelId.Value; + } + + if (gltfExtensionCount is not null) + { + GltfExtensionCount = gltfExtensionCount.Value; + } + + if (gltfExtensions is not null) + { + GltfExtensions = gltfExtensions; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrRenderModelIdEXT")] + [NativeName("Type.Name", "XrRenderModelIdEXT")] + [NativeName("Name", "renderModelId")] + public ulong RenderModelId; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "gltfExtensionCount")] + public uint GltfExtensionCount; +/// + [NativeName("Type", "char**")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "gltfExtensions")] + public byte** GltfExtensions; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelEXT.gen.cs new file mode 100644 index 0000000000..46b7b728fe --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelEXT")] + public unsafe partial struct RenderModelEXT + { + public RenderModelEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelNodeStateEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelNodeStateEXT.gen.cs new file mode 100644 index 0000000000..7dc466ceee --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelNodeStateEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelNodeStateEXT")] + public unsafe partial struct RenderModelNodeStateEXT + { + public RenderModelNodeStateEXT + ( + Posef? nodePose = null, + uint? isVisible = null + ) : this() + { + if (nodePose is not null) + { + NodePose = nodePose.Value; + } + + if (isVisible is not null) + { + IsVisible = isVisible.Value; + } + } + +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "nodePose")] + public Posef NodePose; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "isVisible")] + public uint IsVisible; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesEXT.gen.cs new file mode 100644 index 0000000000..2e498f58bf --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelPropertiesEXT")] + public unsafe partial struct RenderModelPropertiesEXT + { + public RenderModelPropertiesEXT + ( + StructureType? type = StructureType.TypeRenderModelPropertiesExt, + void* next = null, + UuidEXT? cacheId = null, + uint? animatableNodeCount = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (cacheId is not null) + { + CacheId = cacheId.Value; + } + + if (animatableNodeCount is not null) + { + AnimatableNodeCount = animatableNodeCount.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "cacheId")] + public UuidEXT CacheId; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "animatableNodeCount")] + public uint AnimatableNodeCount; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesGetInfoEXT.gen.cs new file mode 100644 index 0000000000..00f39e22c0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelPropertiesGetInfoEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelPropertiesGetInfoEXT")] + public unsafe partial struct RenderModelPropertiesGetInfoEXT + { + public RenderModelPropertiesGetInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelPropertiesGetInfoExt, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelSpaceCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelSpaceCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..2ee27edbe0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelSpaceCreateInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelSpaceCreateInfoEXT")] + public unsafe partial struct RenderModelSpaceCreateInfoEXT + { + public RenderModelSpaceCreateInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelSpaceCreateInfoExt, + void* next = null, + RenderModelEXT? renderModel = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (renderModel is not null) + { + RenderModel = renderModel.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrRenderModelEXT")] + [NativeName("Type.Name", "XrRenderModelEXT")] + [NativeName("Name", "renderModel")] + public RenderModelEXT RenderModel; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateEXT.gen.cs new file mode 100644 index 0000000000..2e5054e375 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelStateEXT")] + public unsafe partial struct RenderModelStateEXT + { + public RenderModelStateEXT + ( + StructureType? type = StructureType.TypeRenderModelStateExt, + void* next = null, + uint? nodeStateCount = null, + RenderModelNodeStateEXT* nodeStates = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (nodeStateCount is not null) + { + NodeStateCount = nodeStateCount.Value; + } + + if (nodeStates is not null) + { + NodeStates = nodeStates; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "nodeStateCount")] + public uint NodeStateCount; +/// + [NativeName("Type", "XrRenderModelNodeStateEXT*")] + [NativeName("Type.Name", "XrRenderModelNodeStateEXT")] + [NativeName("Name", "nodeStates")] + public RenderModelNodeStateEXT* NodeStates; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateGetInfoEXT.gen.cs new file mode 100644 index 0000000000..f8f1b1fa61 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/RenderModelStateGetInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrRenderModelStateGetInfoEXT")] + public unsafe partial struct RenderModelStateGetInfoEXT + { + public RenderModelStateGetInfoEXT + ( + StructureType? type = StructureType.TypeRenderModelStateGetInfoExt, + void* next = null, + long? displayTime = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (displayTime is not null) + { + DisplayTime = displayTime.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "displayTime")] + public long DisplayTime; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SceneCaptureInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SceneCaptureInfoBD.gen.cs new file mode 100644 index 0000000000..b2f8d748a9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SceneCaptureInfoBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSceneCaptureInfoBD")] + public unsafe partial struct SceneCaptureInfoBD + { + public SceneCaptureInfoBD + ( + StructureType? type = StructureType.TypeSceneCaptureInfoBD, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterPlaneOrientationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterPlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..e950aa4843 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterPlaneOrientationBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataFilterPlaneOrientationBD")] + public unsafe partial struct SenseDataFilterPlaneOrientationBD + { + public SenseDataFilterPlaneOrientationBD + ( + StructureType? type = StructureType.TypeSenseDataFilterPlaneOrientationBD, + void* next = null, + uint? orientationCount = null, + PlaneOrientationBD* orientations = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (orientationCount is not null) + { + OrientationCount = orientationCount.Value; + } + + if (orientations is not null) + { + Orientations = orientations; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "orientationCount")] + public uint OrientationCount; +/// + [NativeName("Type", "XrPlaneOrientationBD*")] + [NativeName("Type.Name", "XrPlaneOrientationBD")] + [NativeName("Name", "orientations")] + public PlaneOrientationBD* Orientations; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterSemanticBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterSemanticBD.gen.cs new file mode 100644 index 0000000000..8c58c32244 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterSemanticBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataFilterSemanticBD")] + public unsafe partial struct SenseDataFilterSemanticBD + { + public SenseDataFilterSemanticBD + ( + StructureType? type = StructureType.TypeSenseDataFilterSemanticBD, + void* next = null, + uint? labelCount = null, + SemanticLabelBD* labels = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (labelCount is not null) + { + LabelCount = labelCount.Value; + } + + if (labels is not null) + { + Labels = labels; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "labelCount")] + public uint LabelCount; +/// + [NativeName("Type", "XrSemanticLabelBD*")] + [NativeName("Type.Name", "XrSemanticLabelBD")] + [NativeName("Name", "labels")] + public SemanticLabelBD* Labels; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterUuidBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterUuidBD.gen.cs new file mode 100644 index 0000000000..e39f76c538 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataFilterUuidBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataFilterUuidBD")] + public unsafe partial struct SenseDataFilterUuidBD + { + public SenseDataFilterUuidBD + ( + StructureType? type = StructureType.TypeSenseDataFilterUuidBD, + void* next = null, + uint? uuidCount = null, + UuidEXT* uuids = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (uuidCount is not null) + { + UuidCount = uuidCount.Value; + } + + if (uuids is not null) + { + Uuids = uuids; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "uuidCount")] + public uint UuidCount; +/// + [NativeName("Type", "XrUuidEXT*")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "uuids")] + public UuidEXT* Uuids; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderBD.gen.cs new file mode 100644 index 0000000000..d0a30df26d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderBD.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderBD")] + public unsafe partial struct SenseDataProviderBD + { + public SenseDataProviderBD + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoBD.gen.cs new file mode 100644 index 0000000000..e296c303b5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderCreateInfoBD")] + public unsafe partial struct SenseDataProviderCreateInfoBD + { + public SenseDataProviderCreateInfoBD + ( + StructureType? type = StructureType.TypeSenseDataProviderCreateInfoBD, + void* next = null, + SenseDataProviderTypeBD? providerType = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (providerType is not null) + { + ProviderType = providerType.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSenseDataProviderTypeBD")] + [NativeName("Type.Name", "XrSenseDataProviderTypeBD")] + [NativeName("Name", "providerType")] + public SenseDataProviderTypeBD ProviderType; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs new file mode 100644 index 0000000000..13f75ef878 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderCreateInfoSpatialMeshBD")] + public unsafe partial struct SenseDataProviderCreateInfoSpatialMeshBD + { + public SenseDataProviderCreateInfoSpatialMeshBD + ( + StructureType? type = StructureType.TypeSenseDataProviderCreateInfoSpatialMeshBD, + void* next = null, + SpatialMeshConfigFlagsBD? configFlags = null, + SpatialMeshLodBD? lod = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (configFlags is not null) + { + ConfigFlags = configFlags.Value; + } + + if (lod is not null) + { + Lod = lod.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialMeshConfigFlagsBD")] + [NativeName("Type.Name", "XrSpatialMeshConfigFlagsBD")] + [NativeName("Name", "configFlags")] + public SpatialMeshConfigFlagsBD ConfigFlags; +/// + [NativeName("Type", "XrSpatialMeshLodBD")] + [NativeName("Type.Name", "XrSpatialMeshLodBD")] + [NativeName("Name", "lod")] + public SpatialMeshLodBD Lod; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderStartInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderStartInfoBD.gen.cs new file mode 100644 index 0000000000..e3b0386c59 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataProviderStartInfoBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataProviderStartInfoBD")] + public unsafe partial struct SenseDataProviderStartInfoBD + { + public SenseDataProviderStartInfoBD + ( + StructureType? type = StructureType.TypeSenseDataProviderStartInfoBD, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryCompletionBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryCompletionBD.gen.cs new file mode 100644 index 0000000000..008fba6275 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryCompletionBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataQueryCompletionBD")] + public unsafe partial struct SenseDataQueryCompletionBD + { + public SenseDataQueryCompletionBD + ( + StructureType? type = StructureType.TypeSenseDataQueryCompletionBD, + void* next = null, + Result? futureResult = null, + SenseDataSnapshotBD? snapshot = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (snapshot is not null) + { + Snapshot = snapshot.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSenseDataSnapshotBD")] + [NativeName("Type.Name", "XrSenseDataSnapshotBD")] + [NativeName("Name", "snapshot")] + public SenseDataSnapshotBD Snapshot; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryInfoBD.gen.cs new file mode 100644 index 0000000000..43db9e957d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataQueryInfoBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataQueryInfoBD")] + public unsafe partial struct SenseDataQueryInfoBD + { + public SenseDataQueryInfoBD + ( + StructureType? type = StructureType.TypeSenseDataQueryInfoBD, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataSnapshotBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataSnapshotBD.gen.cs new file mode 100644 index 0000000000..6f88ff9712 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SenseDataSnapshotBD.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSenseDataSnapshotBD")] + public unsafe partial struct SenseDataSnapshotBD + { + public SenseDataSnapshotBD + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesInfoMETA.gen.cs new file mode 100644 index 0000000000..a925300159 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesInfoMETA.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrShareSpacesInfoMETA")] + public unsafe partial struct ShareSpacesInfoMETA + { + public ShareSpacesInfoMETA + ( + StructureType? type = StructureType.TypeShareSpacesInfoMeta, + void* next = null, + uint? spaceCount = null, + Space* spaces = null, + ShareSpacesRecipientBaseHeaderMETA* recipientInfo = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (spaceCount is not null) + { + SpaceCount = spaceCount.Value; + } + + if (spaces is not null) + { + Spaces = spaces; + } + + if (recipientInfo is not null) + { + RecipientInfo = recipientInfo; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "spaceCount")] + public uint SpaceCount; +/// + [NativeName("Type", "XrSpace*")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "spaces")] + public Space* Spaces; +/// + [NativeName("Type", "XrShareSpacesRecipientBaseHeaderMETA*")] + [NativeName("Type.Name", "XrShareSpacesRecipientBaseHeaderMETA")] + [NativeName("Name", "recipientInfo")] + public ShareSpacesRecipientBaseHeaderMETA* RecipientInfo; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientBaseHeaderMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientBaseHeaderMETA.gen.cs new file mode 100644 index 0000000000..257794e7e4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientBaseHeaderMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrShareSpacesRecipientBaseHeaderMETA")] + public unsafe partial struct ShareSpacesRecipientBaseHeaderMETA + { + public ShareSpacesRecipientBaseHeaderMETA + ( + StructureType? type = null, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientGroupsMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientGroupsMETA.gen.cs new file mode 100644 index 0000000000..c19b38e871 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/ShareSpacesRecipientGroupsMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrShareSpacesRecipientGroupsMETA")] + public unsafe partial struct ShareSpacesRecipientGroupsMETA + { + public ShareSpacesRecipientGroupsMETA + ( + StructureType? type = StructureType.TypeShareSpacesRecipientGroupsMeta, + void* next = null, + uint? groupCount = null, + Uuid* groups = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (groupCount is not null) + { + GroupCount = groupCount.Value; + } + + if (groups is not null) + { + Groups = groups; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "groupCount")] + public uint GroupCount; +/// + [NativeName("Type", "XrUuid*")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "groups")] + public Uuid* Groups; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SharedSpatialAnchorDownloadInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SharedSpatialAnchorDownloadInfoBD.gen.cs new file mode 100644 index 0000000000..d2817e1e3a --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SharedSpatialAnchorDownloadInfoBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSharedSpatialAnchorDownloadInfoBD")] + public unsafe partial struct SharedSpatialAnchorDownloadInfoBD + { + public SharedSpatialAnchorDownloadInfoBD + ( + StructureType? type = StructureType.TypeSharedSpatialAnchorDownloadInfoBD, + void* next = null, + UuidEXT? uuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (uuid is not null) + { + Uuid = uuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "uuid")] + public UuidEXT Uuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingPauseInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingPauseInfoMETA.gen.cs new file mode 100644 index 0000000000..77b779f003 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingPauseInfoMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSimultaneousHandsAndControllersTrackingPauseInfoMETA")] + public unsafe partial struct SimultaneousHandsAndControllersTrackingPauseInfoMETA + { + public SimultaneousHandsAndControllersTrackingPauseInfoMETA + ( + StructureType? type = StructureType.TypeSimultaneousHandsAndControllersTrackingPauseInfoMeta, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingResumeInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingResumeInfoMETA.gen.cs new file mode 100644 index 0000000000..e314c3dbb0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SimultaneousHandsAndControllersTrackingResumeInfoMETA.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSimultaneousHandsAndControllersTrackingResumeInfoMETA")] + public unsafe partial struct SimultaneousHandsAndControllersTrackingResumeInfoMETA + { + public SimultaneousHandsAndControllersTrackingResumeInfoMETA + ( + StructureType? type = StructureType.TypeSimultaneousHandsAndControllersTrackingResumeInfoMeta, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpaceGroupUuidFilterInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpaceGroupUuidFilterInfoMETA.gen.cs new file mode 100644 index 0000000000..302be4588c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpaceGroupUuidFilterInfoMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpaceGroupUuidFilterInfoMETA")] + public unsafe partial struct SpaceGroupUuidFilterInfoMETA + { + public SpaceGroupUuidFilterInfoMETA + ( + StructureType? type = StructureType.TypeSpaceGroupUuidFilterInfoMeta, + void* next = null, + Uuid? groupUuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (groupUuid is not null) + { + GroupUuid = groupUuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "groupUuid")] + public Uuid GroupUuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesEraseInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesEraseInfoMETA.gen.cs new file mode 100644 index 0000000000..0fa90a1ee2 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesEraseInfoMETA.gen.cs @@ -0,0 +1,94 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpacesEraseInfoMETA")] + public unsafe partial struct SpacesEraseInfoMETA + { + public SpacesEraseInfoMETA + ( + StructureType? type = StructureType.TypeSpacesEraseInfoMeta, + void* next = null, + uint? spaceCount = null, + Space* spaces = null, + uint? uuidCount = null, + UuidEXT* uuids = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (spaceCount is not null) + { + SpaceCount = spaceCount.Value; + } + + if (spaces is not null) + { + Spaces = spaces; + } + + if (uuidCount is not null) + { + UuidCount = uuidCount.Value; + } + + if (uuids is not null) + { + Uuids = uuids; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "spaceCount")] + public uint SpaceCount; +/// + [NativeName("Type", "XrSpace*")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "spaces")] + public Space* Spaces; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "uuidCount")] + public uint UuidCount; +/// + [NativeName("Type", "XrUuidEXT*")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "uuids")] + public UuidEXT* Uuids; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesSaveInfoMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesSaveInfoMETA.gen.cs new file mode 100644 index 0000000000..124bcf325b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpacesSaveInfoMETA.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpacesSaveInfoMETA")] + public unsafe partial struct SpacesSaveInfoMETA + { + public SpacesSaveInfoMETA + ( + StructureType? type = StructureType.TypeSpacesSaveInfoMeta, + void* next = null, + uint? spaceCount = null, + Space* spaces = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (spaceCount is not null) + { + SpaceCount = spaceCount.Value; + } + + if (spaces is not null) + { + Spaces = spaces; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "spaceCount")] + public uint SpaceCount; +/// + [NativeName("Type", "XrSpace*")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "spaces")] + public Space* Spaces; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateCompletionBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateCompletionBD.gen.cs new file mode 100644 index 0000000000..369a30a584 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateCompletionBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorCreateCompletionBD")] + public unsafe partial struct SpatialAnchorCreateCompletionBD + { + public SpatialAnchorCreateCompletionBD + ( + StructureType? type = StructureType.TypeSpatialAnchorCreateCompletionBD, + void* next = null, + Result? futureResult = null, + UuidEXT? uuid = null, + AnchorBD? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (uuid is not null) + { + Uuid = uuid.Value; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "uuid")] + public UuidEXT Uuid; +/// + [NativeName("Type", "XrAnchorBD")] + [NativeName("Type.Name", "XrAnchorBD")] + [NativeName("Name", "anchor")] + public AnchorBD Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoBD.gen.cs new file mode 100644 index 0000000000..799fbc08fd --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorCreateInfoBD")] + public unsafe partial struct SpatialAnchorCreateInfoBD + { + public SpatialAnchorCreateInfoBD + ( + StructureType? type = StructureType.TypeSpatialAnchorCreateInfoBD, + void* next = null, + Space? space = null, + Posef? pose = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (space is not null) + { + Space = space.Value; + } + + if (pose is not null) + { + Pose = pose.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "space")] + public Space Space; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "pose")] + public Posef Pose; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..8ad65ab3f3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorCreateInfoEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorCreateInfoEXT")] + public unsafe partial struct SpatialAnchorCreateInfoEXT + { + public SpatialAnchorCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialAnchorCreateInfoExt, + void* next = null, + Space? baseSpace = null, + long? time = null, + Posef? pose = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + + if (time is not null) + { + Time = time.Value; + } + + if (pose is not null) + { + Pose = pose.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "pose")] + public Posef Pose; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorPersistInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorPersistInfoBD.gen.cs new file mode 100644 index 0000000000..93fa5874c1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorPersistInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorPersistInfoBD")] + public unsafe partial struct SpatialAnchorPersistInfoBD + { + public SpatialAnchorPersistInfoBD + ( + StructureType? type = StructureType.TypeSpatialAnchorPersistInfoBD, + void* next = null, + PersistenceLocationBD? location = null, + AnchorBD? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (location is not null) + { + Location = location.Value; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrPersistenceLocationBD")] + [NativeName("Type.Name", "XrPersistenceLocationBD")] + [NativeName("Name", "location")] + public PersistenceLocationBD Location; +/// + [NativeName("Type", "XrAnchorBD")] + [NativeName("Type.Name", "XrAnchorBD")] + [NativeName("Name", "anchor")] + public AnchorBD Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorShareInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorShareInfoBD.gen.cs new file mode 100644 index 0000000000..01c633f318 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorShareInfoBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorShareInfoBD")] + public unsafe partial struct SpatialAnchorShareInfoBD + { + public SpatialAnchorShareInfoBD + ( + StructureType? type = StructureType.TypeSpatialAnchorShareInfoBD, + void* next = null, + AnchorBD? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrAnchorBD")] + [NativeName("Type.Name", "XrAnchorBD")] + [NativeName("Name", "anchor")] + public AnchorBD Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorUnpersistInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorUnpersistInfoBD.gen.cs new file mode 100644 index 0000000000..429520cfd7 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialAnchorUnpersistInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialAnchorUnpersistInfoBD")] + public unsafe partial struct SpatialAnchorUnpersistInfoBD + { + public SpatialAnchorUnpersistInfoBD + ( + StructureType? type = StructureType.TypeSpatialAnchorUnpersistInfoBD, + void* next = null, + PersistenceLocationBD? location = null, + AnchorBD? anchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (location is not null) + { + Location = location.Value; + } + + if (anchor is not null) + { + Anchor = anchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrPersistenceLocationBD")] + [NativeName("Type.Name", "XrPersistenceLocationBD")] + [NativeName("Name", "location")] + public PersistenceLocationBD Location; +/// + [NativeName("Type", "XrAnchorBD")] + [NativeName("Type.Name", "XrAnchorBD")] + [NativeName("Name", "anchor")] + public AnchorBD Anchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBounded2DDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBounded2DDataEXT.gen.cs new file mode 100644 index 0000000000..1590e3c1ee --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBounded2DDataEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialBounded2DDataEXT")] + public unsafe partial struct SpatialBounded2DDataEXT + { + public SpatialBounded2DDataEXT + ( + Posef? center = null, + Extent2Df? extents = null + ) : this() + { + if (center is not null) + { + Center = center.Value; + } + + if (extents is not null) + { + Extents = extents.Value; + } + } + +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "center")] + public Posef Center; +/// + [NativeName("Type", "XrExtent2Df")] + [NativeName("Type.Name", "XrExtent2Df")] + [NativeName("Name", "extents")] + public Extent2Df Extents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferEXT.gen.cs new file mode 100644 index 0000000000..d3444222f1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialBufferEXT")] + public unsafe partial struct SpatialBufferEXT + { + public SpatialBufferEXT + ( + ulong? bufferId = null, + SpatialBufferTypeEXT? bufferType = null + ) : this() + { + if (bufferId is not null) + { + BufferId = bufferId.Value; + } + + if (bufferType is not null) + { + BufferType = bufferType.Value; + } + } + +/// + [NativeName("Type", "XrSpatialBufferIdEXT")] + [NativeName("Type.Name", "XrSpatialBufferIdEXT")] + [NativeName("Name", "bufferId")] + public ulong BufferId; +/// + [NativeName("Type", "XrSpatialBufferTypeEXT")] + [NativeName("Type.Name", "XrSpatialBufferTypeEXT")] + [NativeName("Name", "bufferType")] + public SpatialBufferTypeEXT BufferType; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferGetInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferGetInfoEXT.gen.cs new file mode 100644 index 0000000000..bddef6bce6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialBufferGetInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialBufferGetInfoEXT")] + public unsafe partial struct SpatialBufferGetInfoEXT + { + public SpatialBufferGetInfoEXT + ( + StructureType? type = StructureType.TypeSpatialBufferGetInfoExt, + void* next = null, + ulong? bufferId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (bufferId is not null) + { + BufferId = bufferId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialBufferIdEXT")] + [NativeName("Type.Name", "XrSpatialBufferIdEXT")] + [NativeName("Name", "bufferId")] + public ulong BufferId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityComponentTypesEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityComponentTypesEXT.gen.cs new file mode 100644 index 0000000000..d15a63b372 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityComponentTypesEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityComponentTypesEXT")] + public unsafe partial struct SpatialCapabilityComponentTypesEXT + { + public SpatialCapabilityComponentTypesEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityComponentTypesExt, + void* next = null, + uint? componentTypeCapacityInput = null, + uint? componentTypeCountOutput = null, + SpatialComponentTypeEXT* componentTypes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (componentTypeCapacityInput is not null) + { + ComponentTypeCapacityInput = componentTypeCapacityInput.Value; + } + + if (componentTypeCountOutput is not null) + { + ComponentTypeCountOutput = componentTypeCountOutput.Value; + } + + if (componentTypes is not null) + { + ComponentTypes = componentTypes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "componentTypeCapacityInput")] + public uint ComponentTypeCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "componentTypeCountOutput")] + public uint ComponentTypeCountOutput; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "componentTypes")] + public SpatialComponentTypeEXT* ComponentTypes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAnchorEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAnchorEXT.gen.cs new file mode 100644 index 0000000000..a0208d2841 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAnchorEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationAnchorEXT")] + public unsafe partial struct SpatialCapabilityConfigurationAnchorEXT + { + public SpatialCapabilityConfigurationAnchorEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationAnchorExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAprilTagEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAprilTagEXT.gen.cs new file mode 100644 index 0000000000..7d610bb741 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationAprilTagEXT.gen.cs @@ -0,0 +1,94 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationAprilTagEXT")] + public unsafe partial struct SpatialCapabilityConfigurationAprilTagEXT + { + public SpatialCapabilityConfigurationAprilTagEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationAprilTagExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null, + SpatialMarkerAprilTagDictEXT? aprilDict = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + + if (aprilDict is not null) + { + AprilDict = aprilDict.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; +/// + [NativeName("Type", "XrSpatialMarkerAprilTagDictEXT")] + [NativeName("Type.Name", "XrSpatialMarkerAprilTagDictEXT")] + [NativeName("Name", "aprilDict")] + public SpatialMarkerAprilTagDictEXT AprilDict; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs new file mode 100644 index 0000000000..390289473f --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs @@ -0,0 +1,94 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationArucoMarkerEXT")] + public unsafe partial struct SpatialCapabilityConfigurationArucoMarkerEXT + { + public SpatialCapabilityConfigurationArucoMarkerEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationArucoMarkerExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null, + SpatialMarkerArucoDictEXT? arUcoDict = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + + if (arUcoDict is not null) + { + ArUcoDict = arUcoDict.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; +/// + [NativeName("Type", "XrSpatialMarkerArucoDictEXT")] + [NativeName("Type.Name", "XrSpatialMarkerArucoDictEXT")] + [NativeName("Name", "arUcoDict")] + public SpatialMarkerArucoDictEXT ArUcoDict; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationBaseHeaderEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationBaseHeaderEXT.gen.cs new file mode 100644 index 0000000000..793203c3af --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationBaseHeaderEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationBaseHeaderEXT")] + public unsafe partial struct SpatialCapabilityConfigurationBaseHeaderEXT + { + public SpatialCapabilityConfigurationBaseHeaderEXT + ( + StructureType? type = null, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationMicroQrCodeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationMicroQrCodeEXT.gen.cs new file mode 100644 index 0000000000..f47232f7ec --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationMicroQrCodeEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationMicroQrCodeEXT")] + public unsafe partial struct SpatialCapabilityConfigurationMicroQrCodeEXT + { + public SpatialCapabilityConfigurationMicroQrCodeEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationMicroQRCodeExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationPlaneTrackingEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationPlaneTrackingEXT.gen.cs new file mode 100644 index 0000000000..b2c46c9566 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationPlaneTrackingEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationPlaneTrackingEXT")] + public unsafe partial struct SpatialCapabilityConfigurationPlaneTrackingEXT + { + public SpatialCapabilityConfigurationPlaneTrackingEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationPlaneTrackingExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationQrCodeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationQrCodeEXT.gen.cs new file mode 100644 index 0000000000..78daa60d8c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialCapabilityConfigurationQrCodeEXT.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialCapabilityConfigurationQrCodeEXT")] + public unsafe partial struct SpatialCapabilityConfigurationQrCodeEXT + { + public SpatialCapabilityConfigurationQrCodeEXT + ( + StructureType? type = StructureType.TypeSpatialCapabilityConfigurationQRCodeExt, + void* next = null, + SpatialCapabilityEXT? capability = null, + uint? enabledComponentCount = null, + SpatialComponentTypeEXT* enabledComponents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capability is not null) + { + Capability = capability.Value; + } + + if (enabledComponentCount is not null) + { + EnabledComponentCount = enabledComponentCount.Value; + } + + if (enabledComponents is not null) + { + EnabledComponents = enabledComponents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "enabledComponentCount")] + public uint EnabledComponentCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "enabledComponents")] + public SpatialComponentTypeEXT* EnabledComponents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentAnchorListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentAnchorListEXT.gen.cs new file mode 100644 index 0000000000..4f6cc871c4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentAnchorListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentAnchorListEXT")] + public unsafe partial struct SpatialComponentAnchorListEXT + { + public SpatialComponentAnchorListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentAnchorListExt, + void* next = null, + uint? locationCount = null, + Posef* locations = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (locationCount is not null) + { + LocationCount = locationCount.Value; + } + + if (locations is not null) + { + Locations = locations; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "locationCount")] + public uint LocationCount; +/// + [NativeName("Type", "XrPosef*")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "locations")] + public Posef* Locations; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded2DListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded2DListEXT.gen.cs new file mode 100644 index 0000000000..bfb91d6881 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded2DListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentBounded2DListEXT")] + public unsafe partial struct SpatialComponentBounded2DListEXT + { + public SpatialComponentBounded2DListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentBounded2DListExt, + void* next = null, + uint? boundCount = null, + SpatialBounded2DDataEXT* bounds = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (boundCount is not null) + { + BoundCount = boundCount.Value; + } + + if (bounds is not null) + { + Bounds = bounds; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "boundCount")] + public uint BoundCount; +/// + [NativeName("Type", "XrSpatialBounded2DDataEXT*")] + [NativeName("Type.Name", "XrSpatialBounded2DDataEXT")] + [NativeName("Name", "bounds")] + public SpatialBounded2DDataEXT* Bounds; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded3DListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded3DListEXT.gen.cs new file mode 100644 index 0000000000..faa224b829 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentBounded3DListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentBounded3DListEXT")] + public unsafe partial struct SpatialComponentBounded3DListEXT + { + public SpatialComponentBounded3DListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentBounded3DListExt, + void* next = null, + uint? boundCount = null, + Boxf* bounds = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (boundCount is not null) + { + BoundCount = boundCount.Value; + } + + if (bounds is not null) + { + Bounds = bounds; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "boundCount")] + public uint BoundCount; +/// + [NativeName("Type", "XrBoxf*")] + [NativeName("Type.Name", "XrBoxf")] + [NativeName("Name", "bounds")] + public Boxf* Bounds; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryConditionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryConditionEXT.gen.cs new file mode 100644 index 0000000000..464dba0b3e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryConditionEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentDataQueryConditionEXT")] + public unsafe partial struct SpatialComponentDataQueryConditionEXT + { + public SpatialComponentDataQueryConditionEXT + ( + StructureType? type = StructureType.TypeSpatialComponentDataQueryConditionExt, + void* next = null, + uint? componentTypeCount = null, + SpatialComponentTypeEXT* componentTypes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (componentTypeCount is not null) + { + ComponentTypeCount = componentTypeCount.Value; + } + + if (componentTypes is not null) + { + ComponentTypes = componentTypes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "componentTypeCount")] + public uint ComponentTypeCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "componentTypes")] + public SpatialComponentTypeEXT* ComponentTypes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryResultEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryResultEXT.gen.cs new file mode 100644 index 0000000000..73056dbdc4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentDataQueryResultEXT.gen.cs @@ -0,0 +1,116 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentDataQueryResultEXT")] + public unsafe partial struct SpatialComponentDataQueryResultEXT + { + public SpatialComponentDataQueryResultEXT + ( + StructureType? type = StructureType.TypeSpatialComponentDataQueryResultExt, + void* next = null, + uint? entityIdCapacityInput = null, + uint? entityIdCountOutput = null, + ulong* entityIds = null, + uint? entityStateCapacityInput = null, + uint? entityStateCountOutput = null, + SpatialEntityTrackingStateEXT* entityStates = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (entityIdCapacityInput is not null) + { + EntityIdCapacityInput = entityIdCapacityInput.Value; + } + + if (entityIdCountOutput is not null) + { + EntityIdCountOutput = entityIdCountOutput.Value; + } + + if (entityIds is not null) + { + EntityIds = entityIds; + } + + if (entityStateCapacityInput is not null) + { + EntityStateCapacityInput = entityStateCapacityInput.Value; + } + + if (entityStateCountOutput is not null) + { + EntityStateCountOutput = entityStateCountOutput.Value; + } + + if (entityStates is not null) + { + EntityStates = entityStates; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entityIdCapacityInput")] + public uint EntityIdCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entityIdCountOutput")] + public uint EntityIdCountOutput; +/// + [NativeName("Type", "XrSpatialEntityIdEXT*")] + [NativeName("Type.Name", "XrSpatialEntityIdEXT")] + [NativeName("Name", "entityIds")] + public ulong* EntityIds; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entityStateCapacityInput")] + public uint EntityStateCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entityStateCountOutput")] + public uint EntityStateCountOutput; +/// + [NativeName("Type", "XrSpatialEntityTrackingStateEXT*")] + [NativeName("Type.Name", "XrSpatialEntityTrackingStateEXT")] + [NativeName("Name", "entityStates")] + public SpatialEntityTrackingStateEXT* EntityStates; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMarkerListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMarkerListEXT.gen.cs new file mode 100644 index 0000000000..1402c71200 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMarkerListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentMarkerListEXT")] + public unsafe partial struct SpatialComponentMarkerListEXT + { + public SpatialComponentMarkerListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentMarkerListExt, + void* next = null, + uint? markerCount = null, + SpatialMarkerDataEXT* markers = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (markerCount is not null) + { + MarkerCount = markerCount.Value; + } + + if (markers is not null) + { + Markers = markers; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "markerCount")] + public uint MarkerCount; +/// + [NativeName("Type", "XrSpatialMarkerDataEXT*")] + [NativeName("Type.Name", "XrSpatialMarkerDataEXT")] + [NativeName("Name", "markers")] + public SpatialMarkerDataEXT* Markers; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh2DListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh2DListEXT.gen.cs new file mode 100644 index 0000000000..6e59f0990b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh2DListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentMesh2DListEXT")] + public unsafe partial struct SpatialComponentMesh2DListEXT + { + public SpatialComponentMesh2DListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentMesh2DListExt, + void* next = null, + uint? meshCount = null, + SpatialMeshDataEXT* meshes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (meshCount is not null) + { + MeshCount = meshCount.Value; + } + + if (meshes is not null) + { + Meshes = meshes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "meshCount")] + public uint MeshCount; +/// + [NativeName("Type", "XrSpatialMeshDataEXT*")] + [NativeName("Type.Name", "XrSpatialMeshDataEXT")] + [NativeName("Name", "meshes")] + public SpatialMeshDataEXT* Meshes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh3DListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh3DListEXT.gen.cs new file mode 100644 index 0000000000..4528e74dde --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentMesh3DListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentMesh3DListEXT")] + public unsafe partial struct SpatialComponentMesh3DListEXT + { + public SpatialComponentMesh3DListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentMesh3DListExt, + void* next = null, + uint? meshCount = null, + SpatialMeshDataEXT* meshes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (meshCount is not null) + { + MeshCount = meshCount.Value; + } + + if (meshes is not null) + { + Meshes = meshes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "meshCount")] + public uint MeshCount; +/// + [NativeName("Type", "XrSpatialMeshDataEXT*")] + [NativeName("Type.Name", "XrSpatialMeshDataEXT")] + [NativeName("Name", "meshes")] + public SpatialMeshDataEXT* Meshes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentParentListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentParentListEXT.gen.cs new file mode 100644 index 0000000000..87c39a0341 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentParentListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentParentListEXT")] + public unsafe partial struct SpatialComponentParentListEXT + { + public SpatialComponentParentListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentParentListExt, + void* next = null, + uint? parentCount = null, + ulong* parents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (parentCount is not null) + { + ParentCount = parentCount.Value; + } + + if (parents is not null) + { + Parents = parents; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "parentCount")] + public uint ParentCount; +/// + [NativeName("Type", "XrSpatialEntityIdEXT*")] + [NativeName("Type.Name", "XrSpatialEntityIdEXT")] + [NativeName("Name", "parents")] + public ulong* Parents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPersistenceListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPersistenceListEXT.gen.cs new file mode 100644 index 0000000000..630bdf371d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPersistenceListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentPersistenceListEXT")] + public unsafe partial struct SpatialComponentPersistenceListEXT + { + public SpatialComponentPersistenceListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentPersistenceListExt, + void* next = null, + uint? persistDataCount = null, + SpatialPersistenceDataEXT* persistData = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (persistDataCount is not null) + { + PersistDataCount = persistDataCount.Value; + } + + if (persistData is not null) + { + PersistData = persistData; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "persistDataCount")] + public uint PersistDataCount; +/// + [NativeName("Type", "XrSpatialPersistenceDataEXT*")] + [NativeName("Type.Name", "XrSpatialPersistenceDataEXT")] + [NativeName("Name", "persistData")] + public SpatialPersistenceDataEXT* PersistData; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneAlignmentListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneAlignmentListEXT.gen.cs new file mode 100644 index 0000000000..4e6823bf9e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneAlignmentListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentPlaneAlignmentListEXT")] + public unsafe partial struct SpatialComponentPlaneAlignmentListEXT + { + public SpatialComponentPlaneAlignmentListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentPlaneAlignmentListExt, + void* next = null, + uint? planeAlignmentCount = null, + SpatialPlaneAlignmentEXT* planeAlignments = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (planeAlignmentCount is not null) + { + PlaneAlignmentCount = planeAlignmentCount.Value; + } + + if (planeAlignments is not null) + { + PlaneAlignments = planeAlignments; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "planeAlignmentCount")] + public uint PlaneAlignmentCount; +/// + [NativeName("Type", "XrSpatialPlaneAlignmentEXT*")] + [NativeName("Type.Name", "XrSpatialPlaneAlignmentEXT")] + [NativeName("Name", "planeAlignments")] + public SpatialPlaneAlignmentEXT* PlaneAlignments; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneSemanticLabelListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneSemanticLabelListEXT.gen.cs new file mode 100644 index 0000000000..66a29efab9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPlaneSemanticLabelListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentPlaneSemanticLabelListEXT")] + public unsafe partial struct SpatialComponentPlaneSemanticLabelListEXT + { + public SpatialComponentPlaneSemanticLabelListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentPlaneSemanticLabelListExt, + void* next = null, + uint? semanticLabelCount = null, + SpatialPlaneSemanticLabelEXT* semanticLabels = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (semanticLabelCount is not null) + { + SemanticLabelCount = semanticLabelCount.Value; + } + + if (semanticLabels is not null) + { + SemanticLabels = semanticLabels; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "semanticLabelCount")] + public uint SemanticLabelCount; +/// + [NativeName("Type", "XrSpatialPlaneSemanticLabelEXT*")] + [NativeName("Type.Name", "XrSpatialPlaneSemanticLabelEXT")] + [NativeName("Name", "semanticLabels")] + public SpatialPlaneSemanticLabelEXT* SemanticLabels; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPolygon2DListEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPolygon2DListEXT.gen.cs new file mode 100644 index 0000000000..95a4822ba1 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialComponentPolygon2DListEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialComponentPolygon2DListEXT")] + public unsafe partial struct SpatialComponentPolygon2DListEXT + { + public SpatialComponentPolygon2DListEXT + ( + StructureType? type = StructureType.TypeSpatialComponentPolygon2DListExt, + void* next = null, + uint? polygonCount = null, + SpatialPolygon2DDataEXT* polygons = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (polygonCount is not null) + { + PolygonCount = polygonCount.Value; + } + + if (polygons is not null) + { + Polygons = polygons; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "polygonCount")] + public uint PolygonCount; +/// + [NativeName("Type", "XrSpatialPolygon2DDataEXT*")] + [NativeName("Type.Name", "XrSpatialPolygon2DDataEXT")] + [NativeName("Name", "polygons")] + public SpatialPolygon2DDataEXT* Polygons; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..88d81cccd3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextCreateInfoEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialContextCreateInfoEXT")] + public unsafe partial struct SpatialContextCreateInfoEXT + { + public SpatialContextCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialContextCreateInfoExt, + void* next = null, + uint? capabilityConfigCount = null, + SpatialCapabilityConfigurationBaseHeaderEXT** capabilityConfigs = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (capabilityConfigCount is not null) + { + CapabilityConfigCount = capabilityConfigCount.Value; + } + + if (capabilityConfigs is not null) + { + CapabilityConfigs = capabilityConfigs; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "capabilityConfigCount")] + public uint CapabilityConfigCount; +/// + [NativeName("Type", "XrSpatialCapabilityConfigurationBaseHeaderEXT**")] + [NativeName("Type.Name", "XrSpatialCapabilityConfigurationBaseHeaderEXT")] + [NativeName("Name", "capabilityConfigs")] + public SpatialCapabilityConfigurationBaseHeaderEXT** CapabilityConfigs; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextEXT.gen.cs new file mode 100644 index 0000000000..4bb078115e --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialContextEXT")] + public unsafe partial struct SpatialContextEXT + { + public SpatialContextEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextPersistenceConfigEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextPersistenceConfigEXT.gen.cs new file mode 100644 index 0000000000..44841a0242 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialContextPersistenceConfigEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialContextPersistenceConfigEXT")] + public unsafe partial struct SpatialContextPersistenceConfigEXT + { + public SpatialContextPersistenceConfigEXT + ( + StructureType? type = StructureType.TypeSpatialContextPersistenceConfigExt, + void* next = null, + uint? persistenceContextCount = null, + SpatialPersistenceContextEXT* persistenceContexts = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (persistenceContextCount is not null) + { + PersistenceContextCount = persistenceContextCount.Value; + } + + if (persistenceContexts is not null) + { + PersistenceContexts = persistenceContexts; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "persistenceContextCount")] + public uint PersistenceContextCount; +/// + [NativeName("Type", "XrSpatialPersistenceContextEXT*")] + [NativeName("Type.Name", "XrSpatialPersistenceContextEXT")] + [NativeName("Name", "persistenceContexts")] + public SpatialPersistenceContextEXT* PersistenceContexts; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoveryPersistenceUuidFilterEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoveryPersistenceUuidFilterEXT.gen.cs new file mode 100644 index 0000000000..d4f999599c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoveryPersistenceUuidFilterEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialDiscoveryPersistenceUuidFilterEXT")] + public unsafe partial struct SpatialDiscoveryPersistenceUuidFilterEXT + { + public SpatialDiscoveryPersistenceUuidFilterEXT + ( + StructureType? type = StructureType.TypeSpatialDiscoveryPersistenceUuidFilterExt, + void* next = null, + uint? persistedUuidCount = null, + Uuid* persistedUuids = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (persistedUuidCount is not null) + { + PersistedUuidCount = persistedUuidCount.Value; + } + + if (persistedUuids is not null) + { + PersistedUuids = persistedUuids; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "persistedUuidCount")] + public uint PersistedUuidCount; +/// + [NativeName("Type", "XrUuid*")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "persistedUuids")] + public Uuid* PersistedUuids; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..696ac3756b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialDiscoverySnapshotCreateInfoEXT")] + public unsafe partial struct SpatialDiscoverySnapshotCreateInfoEXT + { + public SpatialDiscoverySnapshotCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialDiscoverySnapshotCreateInfoExt, + void* next = null, + uint? componentTypeCount = null, + SpatialComponentTypeEXT* componentTypes = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (componentTypeCount is not null) + { + ComponentTypeCount = componentTypeCount.Value; + } + + if (componentTypes is not null) + { + ComponentTypes = componentTypes; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "componentTypeCount")] + public uint ComponentTypeCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "componentTypes")] + public SpatialComponentTypeEXT* ComponentTypes; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityAnchorCreateInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityAnchorCreateInfoBD.gen.cs new file mode 100644 index 0000000000..0c5e708eb5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityAnchorCreateInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityAnchorCreateInfoBD")] + public unsafe partial struct SpatialEntityAnchorCreateInfoBD + { + public SpatialEntityAnchorCreateInfoBD + ( + StructureType? type = StructureType.TypeSpatialEntityAnchorCreateInfoBD, + void* next = null, + SenseDataSnapshotBD? snapshot = null, + ulong? entityId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (snapshot is not null) + { + Snapshot = snapshot.Value; + } + + if (entityId is not null) + { + EntityId = entityId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSenseDataSnapshotBD")] + [NativeName("Type.Name", "XrSenseDataSnapshotBD")] + [NativeName("Name", "snapshot")] + public SenseDataSnapshotBD Snapshot; +/// + [NativeName("Type", "XrSpatialEntityIdBD")] + [NativeName("Type.Name", "XrSpatialEntityIdBD")] + [NativeName("Name", "entityId")] + public ulong EntityId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBaseHeaderBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBaseHeaderBD.gen.cs new file mode 100644 index 0000000000..36f45b99e3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBaseHeaderBD.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataBaseHeaderBD")] + public unsafe partial struct SpatialEntityComponentDataBaseHeaderBD + { + public SpatialEntityComponentDataBaseHeaderBD + ( + StructureType? type = null, + void* next = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox2DBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox2DBD.gen.cs new file mode 100644 index 0000000000..2b098c5a1c --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox2DBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataBoundingBox2DBD")] + public unsafe partial struct SpatialEntityComponentDataBoundingBox2DBD + { + public SpatialEntityComponentDataBoundingBox2DBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataBoundingBox2DBD, + void* next = null, + Rect2Df? boundingBox2D = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (boundingBox2D is not null) + { + BoundingBox2D = boundingBox2D.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrRect2Df")] + [NativeName("Type.Name", "XrRect2Df")] + [NativeName("Name", "boundingBox2D")] + public Rect2Df BoundingBox2D; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox3DBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox3DBD.gen.cs new file mode 100644 index 0000000000..ad580e5032 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataBoundingBox3DBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataBoundingBox3DBD")] + public unsafe partial struct SpatialEntityComponentDataBoundingBox3DBD + { + public SpatialEntityComponentDataBoundingBox3DBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataBoundingBox3DBD, + void* next = null, + Boxf? boundingBox3D = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (boundingBox3D is not null) + { + BoundingBox3D = boundingBox3D.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBoxf")] + [NativeName("Type.Name", "XrBoxf")] + [NativeName("Name", "boundingBox3D")] + public Boxf BoundingBox3D; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataLocationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataLocationBD.gen.cs new file mode 100644 index 0000000000..bfa9e71623 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataLocationBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataLocationBD")] + public unsafe partial struct SpatialEntityComponentDataLocationBD + { + public SpatialEntityComponentDataLocationBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataLocationBD, + void* next = null, + SpaceLocation? location = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (location is not null) + { + Location = location.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpaceLocation")] + [NativeName("Type.Name", "XrSpaceLocation")] + [NativeName("Name", "location")] + public SpaceLocation Location; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPlaneOrientationBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..bba4e7f1ca --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPlaneOrientationBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataPlaneOrientationBD")] + public unsafe partial struct SpatialEntityComponentDataPlaneOrientationBD + { + public SpatialEntityComponentDataPlaneOrientationBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataPlaneOrientationBD, + void* next = null, + PlaneOrientationBD? orientation = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (orientation is not null) + { + Orientation = orientation.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrPlaneOrientationBD")] + [NativeName("Type.Name", "XrPlaneOrientationBD")] + [NativeName("Name", "orientation")] + public PlaneOrientationBD Orientation; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPolygonBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPolygonBD.gen.cs new file mode 100644 index 0000000000..192dc3c354 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataPolygonBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataPolygonBD")] + public unsafe partial struct SpatialEntityComponentDataPolygonBD + { + public SpatialEntityComponentDataPolygonBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataPolygonBD, + void* next = null, + uint? vertexCapacityInput = null, + uint? vertexCountOutput = null, + Vector2f* vertices = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (vertexCapacityInput is not null) + { + VertexCapacityInput = vertexCapacityInput.Value; + } + + if (vertexCountOutput is not null) + { + VertexCountOutput = vertexCountOutput.Value; + } + + if (vertices is not null) + { + Vertices = vertices; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCapacityInput")] + public uint VertexCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCountOutput")] + public uint VertexCountOutput; +/// + [NativeName("Type", "XrVector2f*")] + [NativeName("Type.Name", "XrVector2f")] + [NativeName("Name", "vertices")] + public Vector2f* Vertices; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataSemanticBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataSemanticBD.gen.cs new file mode 100644 index 0000000000..ea081d8670 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataSemanticBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataSemanticBD")] + public unsafe partial struct SpatialEntityComponentDataSemanticBD + { + public SpatialEntityComponentDataSemanticBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataSemanticBD, + void* next = null, + uint? labelCapacityInput = null, + uint? labelCountOutput = null, + SemanticLabelBD* labels = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (labelCapacityInput is not null) + { + LabelCapacityInput = labelCapacityInput.Value; + } + + if (labelCountOutput is not null) + { + LabelCountOutput = labelCountOutput.Value; + } + + if (labels is not null) + { + Labels = labels; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "labelCapacityInput")] + public uint LabelCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "labelCountOutput")] + public uint LabelCountOutput; +/// + [NativeName("Type", "XrSemanticLabelBD*")] + [NativeName("Type.Name", "XrSemanticLabelBD")] + [NativeName("Name", "labels")] + public SemanticLabelBD* Labels; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataTriangleMeshBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataTriangleMeshBD.gen.cs new file mode 100644 index 0000000000..c7a1515d26 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentDataTriangleMeshBD.gen.cs @@ -0,0 +1,116 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentDataTriangleMeshBD")] + public unsafe partial struct SpatialEntityComponentDataTriangleMeshBD + { + public SpatialEntityComponentDataTriangleMeshBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentDataTriangleMeshBD, + void* next = null, + uint? vertexCapacityInput = null, + uint? vertexCountOutput = null, + Vector3f* vertices = null, + uint? indexCapacityInput = null, + uint? indexCountOutput = null, + ushort* indices = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (vertexCapacityInput is not null) + { + VertexCapacityInput = vertexCapacityInput.Value; + } + + if (vertexCountOutput is not null) + { + VertexCountOutput = vertexCountOutput.Value; + } + + if (vertices is not null) + { + Vertices = vertices; + } + + if (indexCapacityInput is not null) + { + IndexCapacityInput = indexCapacityInput.Value; + } + + if (indexCountOutput is not null) + { + IndexCountOutput = indexCountOutput.Value; + } + + if (indices is not null) + { + Indices = indices; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCapacityInput")] + public uint VertexCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCountOutput")] + public uint VertexCountOutput; +/// + [NativeName("Type", "XrVector3f*")] + [NativeName("Type.Name", "XrVector3f")] + [NativeName("Name", "vertices")] + public Vector3f* Vertices; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "indexCapacityInput")] + public uint IndexCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "indexCountOutput")] + public uint IndexCountOutput; +/// + [NativeName("Type", "uint16_t*")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "indices")] + public ushort* Indices; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentGetInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentGetInfoBD.gen.cs new file mode 100644 index 0000000000..b5674d2edc --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityComponentGetInfoBD.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityComponentGetInfoBD")] + public unsafe partial struct SpatialEntityComponentGetInfoBD + { + public SpatialEntityComponentGetInfoBD + ( + StructureType? type = StructureType.TypeSpatialEntityComponentGetInfoBD, + void* next = null, + ulong? entityId = null, + SpatialEntityComponentTypeBD? componentType = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (entityId is not null) + { + EntityId = entityId.Value; + } + + if (componentType is not null) + { + ComponentType = componentType.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialEntityIdBD")] + [NativeName("Type.Name", "XrSpatialEntityIdBD")] + [NativeName("Name", "entityId")] + public ulong EntityId; +/// + [NativeName("Type", "XrSpatialEntityComponentTypeBD")] + [NativeName("Type.Name", "XrSpatialEntityComponentTypeBD")] + [NativeName("Name", "componentType")] + public SpatialEntityComponentTypeBD ComponentType; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityEXT.gen.cs new file mode 100644 index 0000000000..e8fc4563d3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityEXT")] + public unsafe partial struct SpatialEntityEXT + { + public SpatialEntityEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityFromIdCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityFromIdCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..b2c4e9ad90 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityFromIdCreateInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityFromIdCreateInfoEXT")] + public unsafe partial struct SpatialEntityFromIdCreateInfoEXT + { + public SpatialEntityFromIdCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialEntityFromIDCreateInfoExt, + void* next = null, + ulong? entityId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (entityId is not null) + { + EntityId = entityId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialEntityIdEXT")] + [NativeName("Type.Name", "XrSpatialEntityIdEXT")] + [NativeName("Name", "entityId")] + public ulong EntityId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityLocationGetInfoBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityLocationGetInfoBD.gen.cs new file mode 100644 index 0000000000..0b62d3b973 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityLocationGetInfoBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityLocationGetInfoBD")] + public unsafe partial struct SpatialEntityLocationGetInfoBD + { + public SpatialEntityLocationGetInfoBD + ( + StructureType? type = StructureType.TypeSpatialEntityLocationGetInfoBD, + void* next = null, + Space? baseSpace = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityPersistInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityPersistInfoEXT.gen.cs new file mode 100644 index 0000000000..e194cd78fc --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityPersistInfoEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityPersistInfoEXT")] + public unsafe partial struct SpatialEntityPersistInfoEXT + { + public SpatialEntityPersistInfoEXT + ( + StructureType? type = StructureType.TypeSpatialEntityPersistInfoExt, + void* next = null, + SpatialContextEXT? spatialContext = null, + ulong? spatialEntityId = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (spatialContext is not null) + { + SpatialContext = spatialContext.Value; + } + + if (spatialEntityId is not null) + { + SpatialEntityId = spatialEntityId.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialContextEXT")] + [NativeName("Type.Name", "XrSpatialContextEXT")] + [NativeName("Name", "spatialContext")] + public SpatialContextEXT SpatialContext; +/// + [NativeName("Type", "XrSpatialEntityIdEXT")] + [NativeName("Type.Name", "XrSpatialEntityIdEXT")] + [NativeName("Name", "spatialEntityId")] + public ulong SpatialEntityId; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityStateBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityStateBD.gen.cs new file mode 100644 index 0000000000..7da86639eb --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityStateBD.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityStateBD")] + public unsafe partial struct SpatialEntityStateBD + { + public SpatialEntityStateBD + ( + StructureType? type = StructureType.TypeSpatialEntityStateBD, + void* next = null, + ulong? entityId = null, + long? lastUpdateTime = null, + UuidEXT? uuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (entityId is not null) + { + EntityId = entityId.Value; + } + + if (lastUpdateTime is not null) + { + LastUpdateTime = lastUpdateTime.Value; + } + + if (uuid is not null) + { + Uuid = uuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialEntityIdBD")] + [NativeName("Type.Name", "XrSpatialEntityIdBD")] + [NativeName("Name", "entityId")] + public ulong EntityId; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "lastUpdateTime")] + public long LastUpdateTime; +/// + [NativeName("Type", "XrUuidEXT")] + [NativeName("Type.Name", "XrUuidEXT")] + [NativeName("Name", "uuid")] + public UuidEXT Uuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityUnpersistInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityUnpersistInfoEXT.gen.cs new file mode 100644 index 0000000000..8f9cb3b3c4 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialEntityUnpersistInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialEntityUnpersistInfoEXT")] + public unsafe partial struct SpatialEntityUnpersistInfoEXT + { + public SpatialEntityUnpersistInfoEXT + ( + StructureType? type = StructureType.TypeSpatialEntityUnpersistInfoExt, + void* next = null, + Uuid? persistUuid = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (persistUuid is not null) + { + PersistUuid = persistUuid.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "persistUuid")] + public Uuid PersistUuid; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialFilterTrackingStateEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialFilterTrackingStateEXT.gen.cs new file mode 100644 index 0000000000..9f7a5be870 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialFilterTrackingStateEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialFilterTrackingStateEXT")] + public unsafe partial struct SpatialFilterTrackingStateEXT + { + public SpatialFilterTrackingStateEXT + ( + StructureType? type = StructureType.TypeSpatialFilterTrackingStateExt, + void* next = null, + SpatialEntityTrackingStateEXT? trackingState = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackingState is not null) + { + TrackingState = trackingState.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialEntityTrackingStateEXT")] + [NativeName("Type.Name", "XrSpatialEntityTrackingStateEXT")] + [NativeName("Name", "trackingState")] + public SpatialEntityTrackingStateEXT TrackingState; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerDataEXT.gen.cs new file mode 100644 index 0000000000..a127843f16 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerDataEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMarkerDataEXT")] + public unsafe partial struct SpatialMarkerDataEXT + { + public SpatialMarkerDataEXT + ( + SpatialCapabilityEXT? capability = null, + uint? markerId = null, + SpatialBufferEXT? data = null + ) : this() + { + if (capability is not null) + { + Capability = capability.Value; + } + + if (markerId is not null) + { + MarkerId = markerId.Value; + } + + if (data is not null) + { + Data = data.Value; + } + } + +/// + [NativeName("Type", "XrSpatialCapabilityEXT")] + [NativeName("Type.Name", "XrSpatialCapabilityEXT")] + [NativeName("Name", "capability")] + public SpatialCapabilityEXT Capability; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "markerId")] + public uint MarkerId; +/// + [NativeName("Type", "XrSpatialBufferEXT")] + [NativeName("Type.Name", "XrSpatialBufferEXT")] + [NativeName("Name", "data")] + public SpatialBufferEXT Data; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerSizeEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerSizeEXT.gen.cs new file mode 100644 index 0000000000..ff4ffd2b2d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerSizeEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMarkerSizeEXT")] + public unsafe partial struct SpatialMarkerSizeEXT + { + public SpatialMarkerSizeEXT + ( + StructureType? type = StructureType.TypeSpatialMarkerSizeExt, + void* next = null, + float? markerSideLength = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (markerSideLength is not null) + { + MarkerSideLength = markerSideLength.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "markerSideLength")] + public float MarkerSideLength; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerStaticOptimizationEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerStaticOptimizationEXT.gen.cs new file mode 100644 index 0000000000..37a017a781 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMarkerStaticOptimizationEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMarkerStaticOptimizationEXT")] + public unsafe partial struct SpatialMarkerStaticOptimizationEXT + { + public SpatialMarkerStaticOptimizationEXT + ( + StructureType? type = StructureType.TypeSpatialMarkerStaticOptimizationExt, + void* next = null, + uint? optimizeForStaticMarker = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (optimizeForStaticMarker is not null) + { + OptimizeForStaticMarker = optimizeForStaticMarker.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "optimizeForStaticMarker")] + public uint OptimizeForStaticMarker; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMeshDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMeshDataEXT.gen.cs new file mode 100644 index 0000000000..3ca17f3ff2 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialMeshDataEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialMeshDataEXT")] + public unsafe partial struct SpatialMeshDataEXT + { + public SpatialMeshDataEXT + ( + Posef? origin = null, + SpatialBufferEXT? vertexBuffer = null, + SpatialBufferEXT? indexBuffer = null + ) : this() + { + if (origin is not null) + { + Origin = origin.Value; + } + + if (vertexBuffer is not null) + { + VertexBuffer = vertexBuffer.Value; + } + + if (indexBuffer is not null) + { + IndexBuffer = indexBuffer.Value; + } + } + +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "origin")] + public Posef Origin; +/// + [NativeName("Type", "XrSpatialBufferEXT")] + [NativeName("Type.Name", "XrSpatialBufferEXT")] + [NativeName("Name", "vertexBuffer")] + public SpatialBufferEXT VertexBuffer; +/// + [NativeName("Type", "XrSpatialBufferEXT")] + [NativeName("Type.Name", "XrSpatialBufferEXT")] + [NativeName("Name", "indexBuffer")] + public SpatialBufferEXT IndexBuffer; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..e8b2274505 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextCreateInfoEXT.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceContextCreateInfoEXT")] + public unsafe partial struct SpatialPersistenceContextCreateInfoEXT + { + public SpatialPersistenceContextCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialPersistenceContextCreateInfoExt, + void* next = null, + SpatialPersistenceScopeEXT? scope = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (scope is not null) + { + Scope = scope.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrSpatialPersistenceScopeEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceScopeEXT")] + [NativeName("Name", "scope")] + public SpatialPersistenceScopeEXT Scope; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextEXT.gen.cs new file mode 100644 index 0000000000..d866bbb39d --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceContextEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceContextEXT")] + public unsafe partial struct SpatialPersistenceContextEXT + { + public SpatialPersistenceContextEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceDataEXT.gen.cs new file mode 100644 index 0000000000..7dad07381b --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPersistenceDataEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPersistenceDataEXT")] + public unsafe partial struct SpatialPersistenceDataEXT + { + public SpatialPersistenceDataEXT + ( + Uuid? persistUuid = null, + SpatialPersistenceStateEXT? persistState = null + ) : this() + { + if (persistUuid is not null) + { + PersistUuid = persistUuid.Value; + } + + if (persistState is not null) + { + PersistState = persistState.Value; + } + } + +/// + [NativeName("Type", "XrUuid")] + [NativeName("Type.Name", "XrUuid")] + [NativeName("Name", "persistUuid")] + public Uuid PersistUuid; +/// + [NativeName("Type", "XrSpatialPersistenceStateEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceStateEXT")] + [NativeName("Name", "persistState")] + public SpatialPersistenceStateEXT PersistState; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPolygon2DDataEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPolygon2DDataEXT.gen.cs new file mode 100644 index 0000000000..60e0e8fed6 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialPolygon2DDataEXT.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialPolygon2DDataEXT")] + public unsafe partial struct SpatialPolygon2DDataEXT + { + public SpatialPolygon2DDataEXT + ( + Posef? origin = null, + SpatialBufferEXT? vertexBuffer = null + ) : this() + { + if (origin is not null) + { + Origin = origin.Value; + } + + if (vertexBuffer is not null) + { + VertexBuffer = vertexBuffer.Value; + } + } + +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "origin")] + public Posef Origin; +/// + [NativeName("Type", "XrSpatialBufferEXT")] + [NativeName("Type.Name", "XrSpatialBufferEXT")] + [NativeName("Name", "vertexBuffer")] + public SpatialBufferEXT VertexBuffer; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialSnapshotEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialSnapshotEXT.gen.cs new file mode 100644 index 0000000000..c9eeed4279 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialSnapshotEXT.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialSnapshotEXT")] + public unsafe partial struct SpatialSnapshotEXT + { + public SpatialSnapshotEXT + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialUpdateSnapshotCreateInfoEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialUpdateSnapshotCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..a28ffd4084 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SpatialUpdateSnapshotCreateInfoEXT.gen.cs @@ -0,0 +1,116 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSpatialUpdateSnapshotCreateInfoEXT")] + public unsafe partial struct SpatialUpdateSnapshotCreateInfoEXT + { + public SpatialUpdateSnapshotCreateInfoEXT + ( + StructureType? type = StructureType.TypeSpatialUpdateSnapshotCreateInfoExt, + void* next = null, + uint? entityCount = null, + SpatialEntityEXT* entities = null, + uint? componentTypeCount = null, + SpatialComponentTypeEXT* componentTypes = null, + Space? baseSpace = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (entityCount is not null) + { + EntityCount = entityCount.Value; + } + + if (entities is not null) + { + Entities = entities; + } + + if (componentTypeCount is not null) + { + ComponentTypeCount = componentTypeCount.Value; + } + + if (componentTypes is not null) + { + ComponentTypes = componentTypes; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entityCount")] + public uint EntityCount; +/// + [NativeName("Type", "XrSpatialEntityEXT*")] + [NativeName("Type.Name", "XrSpatialEntityEXT")] + [NativeName("Name", "entities")] + public SpatialEntityEXT* Entities; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "componentTypeCount")] + public uint ComponentTypeCount; +/// + [NativeName("Type", "XrSpatialComponentTypeEXT*")] + [NativeName("Type.Name", "XrSpatialComponentTypeEXT")] + [NativeName("Name", "componentTypes")] + public SpatialComponentTypeEXT* ComponentTypes; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemAnchorSharingExportPropertiesANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemAnchorSharingExportPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..990528fb63 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemAnchorSharingExportPropertiesANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemAnchorSharingExportPropertiesANDROID")] + public unsafe partial struct SystemAnchorSharingExportPropertiesANDROID + { + public SystemAnchorSharingExportPropertiesANDROID + ( + StructureType? type = StructureType.TypeSystemAnchorSharingExportPropertiesAndroid, + void* next = null, + uint? supportsAnchorSharingExport = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsAnchorSharingExport is not null) + { + SupportsAnchorSharingExport = supportsAnchorSharingExport.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsAnchorSharingExport")] + public uint SupportsAnchorSharingExport; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemBodyTrackingPropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemBodyTrackingPropertiesBD.gen.cs new file mode 100644 index 0000000000..2514fe2080 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemBodyTrackingPropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemBodyTrackingPropertiesBD")] + public unsafe partial struct SystemBodyTrackingPropertiesBD + { + public SystemBodyTrackingPropertiesBD + ( + StructureType? type = StructureType.TypeSystemBodyTrackingPropertiesBD, + void* next = null, + uint? supportsBodyTracking = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsBodyTracking is not null) + { + SupportsBodyTracking = supportsBodyTracking.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsBodyTracking")] + public uint SupportsBodyTracking; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemColocationDiscoveryPropertiesMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemColocationDiscoveryPropertiesMETA.gen.cs new file mode 100644 index 0000000000..c845e34938 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemColocationDiscoveryPropertiesMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemColocationDiscoveryPropertiesMETA")] + public unsafe partial struct SystemColocationDiscoveryPropertiesMETA + { + public SystemColocationDiscoveryPropertiesMETA + ( + StructureType? type = StructureType.TypeSystemColocationDiscoveryPropertiesMeta, + void* next = null, + uint? supportsColocationDiscovery = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsColocationDiscovery is not null) + { + SupportsColocationDiscovery = supportsColocationDiscovery.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsColocationDiscovery")] + public uint SupportsColocationDiscovery; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemDeviceAnchorPersistencePropertiesANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemDeviceAnchorPersistencePropertiesANDROID.gen.cs new file mode 100644 index 0000000000..0c93831a92 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemDeviceAnchorPersistencePropertiesANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemDeviceAnchorPersistencePropertiesANDROID")] + public unsafe partial struct SystemDeviceAnchorPersistencePropertiesANDROID + { + public SystemDeviceAnchorPersistencePropertiesANDROID + ( + StructureType? type = StructureType.TypeSystemDeviceAnchorPersistencePropertiesAndroid, + void* next = null, + uint? supportsAnchorPersistence = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsAnchorPersistence is not null) + { + SupportsAnchorPersistence = supportsAnchorPersistence.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsAnchorPersistence")] + public uint SupportsAnchorPersistence; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemFacialExpressionPropertiesML.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemFacialExpressionPropertiesML.gen.cs new file mode 100644 index 0000000000..135df81fdd --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemFacialExpressionPropertiesML.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemFacialExpressionPropertiesML")] + public unsafe partial struct SystemFacialExpressionPropertiesML + { + public SystemFacialExpressionPropertiesML + ( + StructureType? type = StructureType.TypeSystemFacialExpressionPropertiesML, + void* next = null, + uint? supportsFacialExpression = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsFacialExpression is not null) + { + SupportsFacialExpression = supportsFacialExpression.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsFacialExpression")] + public uint SupportsFacialExpression; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemMarkerTrackingPropertiesANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemMarkerTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..9dc1811990 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemMarkerTrackingPropertiesANDROID.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemMarkerTrackingPropertiesANDROID")] + public unsafe partial struct SystemMarkerTrackingPropertiesANDROID + { + public SystemMarkerTrackingPropertiesANDROID + ( + StructureType? type = StructureType.TypeSystemMarkerTrackingPropertiesAndroid, + void* next = null, + uint? supportsMarkerTracking = null, + uint? supportsMarkerSizeEstimation = null, + ushort? maxMarkerCount = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsMarkerTracking is not null) + { + SupportsMarkerTracking = supportsMarkerTracking.Value; + } + + if (supportsMarkerSizeEstimation is not null) + { + SupportsMarkerSizeEstimation = supportsMarkerSizeEstimation.Value; + } + + if (maxMarkerCount is not null) + { + MaxMarkerCount = maxMarkerCount.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsMarkerTracking")] + public uint SupportsMarkerTracking; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsMarkerSizeEstimation")] + public uint SupportsMarkerSizeEstimation; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "maxMarkerCount")] + public ushort MaxMarkerCount; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPassthroughCameraStatePropertiesANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPassthroughCameraStatePropertiesANDROID.gen.cs new file mode 100644 index 0000000000..75922a1c39 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPassthroughCameraStatePropertiesANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemPassthroughCameraStatePropertiesANDROID")] + public unsafe partial struct SystemPassthroughCameraStatePropertiesANDROID + { + public SystemPassthroughCameraStatePropertiesANDROID + ( + StructureType? type = StructureType.TypeSystemPassthroughCameraStatePropertiesAndroid, + void* next = null, + uint? supportsPassthroughCameraState = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsPassthroughCameraState is not null) + { + SupportsPassthroughCameraState = supportsPassthroughCameraState.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsPassthroughCameraState")] + public uint SupportsPassthroughCameraState; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingCalibrationMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingCalibrationMETA.gen.cs new file mode 100644 index 0000000000..1bed701af8 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingCalibrationMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemPropertiesBodyTrackingCalibrationMETA")] + public unsafe partial struct SystemPropertiesBodyTrackingCalibrationMETA + { + public SystemPropertiesBodyTrackingCalibrationMETA + ( + StructureType? type = StructureType.TypeSystemPropertiesBodyTrackingCalibrationMeta, + void* next = null, + uint? supportsHeightOverride = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsHeightOverride is not null) + { + SupportsHeightOverride = supportsHeightOverride.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsHeightOverride")] + public uint SupportsHeightOverride; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs new file mode 100644 index 0000000000..c9a4db5056 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemPropertiesBodyTrackingFullBodyMETA")] + public unsafe partial struct SystemPropertiesBodyTrackingFullBodyMETA + { + public SystemPropertiesBodyTrackingFullBodyMETA + ( + StructureType? type = StructureType.TypeSystemPropertiesBodyTrackingFullBodyMeta, + void* next = null, + uint? supportsFullBodyTracking = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsFullBodyTracking is not null) + { + SupportsFullBodyTracking = supportsFullBodyTracking.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsFullBodyTracking")] + public uint SupportsFullBodyTracking; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSimultaneousHandsAndControllersPropertiesMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSimultaneousHandsAndControllersPropertiesMETA.gen.cs new file mode 100644 index 0000000000..461f008057 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSimultaneousHandsAndControllersPropertiesMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSimultaneousHandsAndControllersPropertiesMETA")] + public unsafe partial struct SystemSimultaneousHandsAndControllersPropertiesMETA + { + public SystemSimultaneousHandsAndControllersPropertiesMETA + ( + StructureType? type = StructureType.TypeSystemSimultaneousHandsAndControllersPropertiesMeta, + void* next = null, + uint? supportsSimultaneousHandsAndControllers = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSimultaneousHandsAndControllers is not null) + { + SupportsSimultaneousHandsAndControllers = supportsSimultaneousHandsAndControllers.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSimultaneousHandsAndControllers")] + public uint SupportsSimultaneousHandsAndControllers; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpacePersistencePropertiesMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpacePersistencePropertiesMETA.gen.cs new file mode 100644 index 0000000000..39f6d107a3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpacePersistencePropertiesMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpacePersistencePropertiesMETA")] + public unsafe partial struct SystemSpacePersistencePropertiesMETA + { + public SystemSpacePersistencePropertiesMETA + ( + StructureType? type = StructureType.TypeSystemSpacePersistencePropertiesMeta, + void* next = null, + uint? supportsSpacePersistence = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpacePersistence is not null) + { + SupportsSpacePersistence = supportsSpacePersistence.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpacePersistence")] + public uint SupportsSpacePersistence; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorPropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorPropertiesBD.gen.cs new file mode 100644 index 0000000000..2e7e595bd2 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorPropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialAnchorPropertiesBD")] + public unsafe partial struct SystemSpatialAnchorPropertiesBD + { + public SystemSpatialAnchorPropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialAnchorPropertiesBD, + void* next = null, + uint? supportsSpatialAnchor = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialAnchor is not null) + { + SupportsSpatialAnchor = supportsSpatialAnchor.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialAnchor")] + public uint SupportsSpatialAnchor; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorSharingPropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorSharingPropertiesBD.gen.cs new file mode 100644 index 0000000000..41ab976120 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialAnchorSharingPropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialAnchorSharingPropertiesBD")] + public unsafe partial struct SystemSpatialAnchorSharingPropertiesBD + { + public SystemSpatialAnchorSharingPropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialAnchorSharingPropertiesBD, + void* next = null, + uint? supportsSpatialAnchorSharing = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialAnchorSharing is not null) + { + SupportsSpatialAnchorSharing = supportsSpatialAnchorSharing.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialAnchorSharing")] + public uint SupportsSpatialAnchorSharing; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntityGroupSharingPropertiesMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntityGroupSharingPropertiesMETA.gen.cs new file mode 100644 index 0000000000..153bec5fc2 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntityGroupSharingPropertiesMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialEntityGroupSharingPropertiesMETA")] + public unsafe partial struct SystemSpatialEntityGroupSharingPropertiesMETA + { + public SystemSpatialEntityGroupSharingPropertiesMETA + ( + StructureType? type = StructureType.TypeSystemSpatialEntityGroupSharingPropertiesMeta, + void* next = null, + uint? supportsSpatialEntityGroupSharing = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialEntityGroupSharing is not null) + { + SupportsSpatialEntityGroupSharing = supportsSpatialEntityGroupSharing.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialEntityGroupSharing")] + public uint SupportsSpatialEntityGroupSharing; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntitySharingPropertiesMETA.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntitySharingPropertiesMETA.gen.cs new file mode 100644 index 0000000000..01197baa54 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialEntitySharingPropertiesMETA.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialEntitySharingPropertiesMETA")] + public unsafe partial struct SystemSpatialEntitySharingPropertiesMETA + { + public SystemSpatialEntitySharingPropertiesMETA + ( + StructureType? type = StructureType.TypeSystemSpatialEntitySharingPropertiesMeta, + void* next = null, + uint? supportsSpatialEntitySharing = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialEntitySharing is not null) + { + SupportsSpatialEntitySharing = supportsSpatialEntitySharing.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialEntitySharing")] + public uint SupportsSpatialEntitySharing; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialMeshPropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialMeshPropertiesBD.gen.cs new file mode 100644 index 0000000000..9cf9a49b7f --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialMeshPropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialMeshPropertiesBD")] + public unsafe partial struct SystemSpatialMeshPropertiesBD + { + public SystemSpatialMeshPropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialMeshPropertiesBD, + void* next = null, + uint? supportsSpatialMesh = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialMesh is not null) + { + SupportsSpatialMesh = supportsSpatialMesh.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialMesh")] + public uint SupportsSpatialMesh; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialPlanePropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialPlanePropertiesBD.gen.cs new file mode 100644 index 0000000000..cf88d50f22 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialPlanePropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialPlanePropertiesBD")] + public unsafe partial struct SystemSpatialPlanePropertiesBD + { + public SystemSpatialPlanePropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialPlanePropertiesBD, + void* next = null, + uint? supportsSpatialPlane = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialPlane is not null) + { + SupportsSpatialPlane = supportsSpatialPlane.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialPlane")] + public uint SupportsSpatialPlane; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialScenePropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialScenePropertiesBD.gen.cs new file mode 100644 index 0000000000..4b683e9fa0 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialScenePropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialScenePropertiesBD")] + public unsafe partial struct SystemSpatialScenePropertiesBD + { + public SystemSpatialScenePropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialScenePropertiesBD, + void* next = null, + uint? supportsSpatialScene = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialScene is not null) + { + SupportsSpatialScene = supportsSpatialScene.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialScene")] + public uint SupportsSpatialScene; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialSensingPropertiesBD.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialSensingPropertiesBD.gen.cs new file mode 100644 index 0000000000..4988bcc5a9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemSpatialSensingPropertiesBD.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemSpatialSensingPropertiesBD")] + public unsafe partial struct SystemSpatialSensingPropertiesBD + { + public SystemSpatialSensingPropertiesBD + ( + StructureType? type = StructureType.TypeSystemSpatialSensingPropertiesBD, + void* next = null, + uint? supportsSpatialSensing = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsSpatialSensing is not null) + { + SupportsSpatialSensing = supportsSpatialSensing.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsSpatialSensing")] + public uint SupportsSpatialSensing; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/SystemTrackablesPropertiesANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemTrackablesPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..149b9b3111 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/SystemTrackablesPropertiesANDROID.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrSystemTrackablesPropertiesANDROID")] + public unsafe partial struct SystemTrackablesPropertiesANDROID + { + public SystemTrackablesPropertiesANDROID + ( + StructureType? type = StructureType.TypeSystemTrackablesPropertiesAndroid, + void* next = null, + uint? supportsAnchor = null, + uint? maxAnchors = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (supportsAnchor is not null) + { + SupportsAnchor = supportsAnchor.Value; + } + + if (maxAnchors is not null) + { + MaxAnchors = maxAnchors.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrBool32")] + [NativeName("Type.Name", "XrBool32")] + [NativeName("Name", "supportsAnchor")] + public uint SupportsAnchor; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxAnchors")] + public uint MaxAnchors; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableGetInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..6c046ec430 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableGetInfoANDROID.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableGetInfoANDROID")] + public unsafe partial struct TrackableGetInfoANDROID + { + public TrackableGetInfoANDROID + ( + StructureType? type = StructureType.TypeTrackableGetInfoAndroid, + void* next = null, + ulong? trackable = null, + Space? baseSpace = null, + long? time = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackable is not null) + { + Trackable = trackable.Value; + } + + if (baseSpace is not null) + { + BaseSpace = baseSpace.Value; + } + + if (time is not null) + { + Time = time.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackableANDROID")] + [NativeName("Type.Name", "XrTrackableANDROID")] + [NativeName("Name", "trackable")] + public ulong Trackable; +/// + [NativeName("Type", "XrSpace")] + [NativeName("Type.Name", "XrSpace")] + [NativeName("Name", "baseSpace")] + public Space BaseSpace; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "time")] + public long Time; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerANDROID.gen.cs new file mode 100644 index 0000000000..72bba5dab5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerANDROID.gen.cs @@ -0,0 +1,116 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerANDROID")] + public unsafe partial struct TrackableMarkerANDROID + { + public TrackableMarkerANDROID + ( + StructureType? type = StructureType.TypeTrackableMarkerAndroid, + void* next = null, + TrackingStateANDROID? trackingState = null, + long? lastUpdatedTime = null, + TrackableMarkerDictionaryANDROID? dictionary = null, + int? markerId = null, + Posef? centerPose = null, + Extent2Df? extents = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackingState is not null) + { + TrackingState = trackingState.Value; + } + + if (lastUpdatedTime is not null) + { + LastUpdatedTime = lastUpdatedTime.Value; + } + + if (dictionary is not null) + { + Dictionary = dictionary.Value; + } + + if (markerId is not null) + { + MarkerId = markerId.Value; + } + + if (centerPose is not null) + { + CenterPose = centerPose.Value; + } + + if (extents is not null) + { + Extents = extents.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackingStateANDROID")] + [NativeName("Type.Name", "XrTrackingStateANDROID")] + [NativeName("Name", "trackingState")] + public TrackingStateANDROID TrackingState; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "lastUpdatedTime")] + public long LastUpdatedTime; +/// + [NativeName("Type", "XrTrackableMarkerDictionaryANDROID")] + [NativeName("Type.Name", "XrTrackableMarkerDictionaryANDROID")] + [NativeName("Name", "dictionary")] + public TrackableMarkerDictionaryANDROID Dictionary; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "markerId")] + public int MarkerId; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "centerPose")] + public Posef CenterPose; +/// + [NativeName("Type", "XrExtent2Df")] + [NativeName("Type.Name", "XrExtent2Df")] + [NativeName("Name", "extents")] + public Extent2Df Extents; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerConfigurationANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..1aac0a39bd --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerConfigurationANDROID.gen.cs @@ -0,0 +1,83 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerConfigurationANDROID")] + public unsafe partial struct TrackableMarkerConfigurationANDROID + { + public TrackableMarkerConfigurationANDROID + ( + StructureType? type = StructureType.TypeTrackableMarkerConfigurationAndroid, + void* next = null, + TrackableMarkerTrackingModeANDROID? trackingMode = null, + uint? databaseCount = null, + TrackableMarkerDatabaseANDROID* databases = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackingMode is not null) + { + TrackingMode = trackingMode.Value; + } + + if (databaseCount is not null) + { + DatabaseCount = databaseCount.Value; + } + + if (databases is not null) + { + Databases = databases; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackableMarkerTrackingModeANDROID")] + [NativeName("Type.Name", "XrTrackableMarkerTrackingModeANDROID")] + [NativeName("Name", "trackingMode")] + public TrackableMarkerTrackingModeANDROID TrackingMode; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "databaseCount")] + public uint DatabaseCount; +/// + [NativeName("Type", "XrTrackableMarkerDatabaseANDROID*")] + [NativeName("Type.Name", "XrTrackableMarkerDatabaseANDROID")] + [NativeName("Name", "databases")] + public TrackableMarkerDatabaseANDROID* Databases; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseANDROID.gen.cs new file mode 100644 index 0000000000..37fcc7c7c9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerDatabaseANDROID")] + public unsafe partial struct TrackableMarkerDatabaseANDROID + { + public TrackableMarkerDatabaseANDROID + ( + TrackableMarkerDictionaryANDROID? dictionary = null, + uint? entryCount = null, + TrackableMarkerDatabaseEntryANDROID* entries = null + ) : this() + { + if (dictionary is not null) + { + Dictionary = dictionary.Value; + } + + if (entryCount is not null) + { + EntryCount = entryCount.Value; + } + + if (entries is not null) + { + Entries = entries; + } + } + +/// + [NativeName("Type", "XrTrackableMarkerDictionaryANDROID")] + [NativeName("Type.Name", "XrTrackableMarkerDictionaryANDROID")] + [NativeName("Name", "dictionary")] + public TrackableMarkerDictionaryANDROID Dictionary; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "entryCount")] + public uint EntryCount; +/// + [NativeName("Type", "XrTrackableMarkerDatabaseEntryANDROID*")] + [NativeName("Type.Name", "XrTrackableMarkerDatabaseEntryANDROID")] + [NativeName("Name", "entries")] + public TrackableMarkerDatabaseEntryANDROID* Entries; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseEntryANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseEntryANDROID.gen.cs new file mode 100644 index 0000000000..e6eb3b9032 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableMarkerDatabaseEntryANDROID.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableMarkerDatabaseEntryANDROID")] + public unsafe partial struct TrackableMarkerDatabaseEntryANDROID + { + public TrackableMarkerDatabaseEntryANDROID + ( + int? id = null, + float? edgeSize = null + ) : this() + { + if (id is not null) + { + Id = id.Value; + } + + if (edgeSize is not null) + { + EdgeSize = edgeSize.Value; + } + } + +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "id")] + public int Id; +/// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "edgeSize")] + public float EdgeSize; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectANDROID.gen.cs new file mode 100644 index 0000000000..2d2aed32f8 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectANDROID.gen.cs @@ -0,0 +1,105 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableObjectANDROID")] + public unsafe partial struct TrackableObjectANDROID + { + public TrackableObjectANDROID + ( + StructureType? type = StructureType.TypeTrackableObjectAndroid, + void* next = null, + TrackingStateANDROID? trackingState = null, + Posef? centerPose = null, + Extent3DfEXT? extents = null, + ObjectLabelANDROID? objectLabel = null, + long? lastUpdatedTime = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackingState is not null) + { + TrackingState = trackingState.Value; + } + + if (centerPose is not null) + { + CenterPose = centerPose.Value; + } + + if (extents is not null) + { + Extents = extents.Value; + } + + if (objectLabel is not null) + { + ObjectLabel = objectLabel.Value; + } + + if (lastUpdatedTime is not null) + { + LastUpdatedTime = lastUpdatedTime.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackingStateANDROID")] + [NativeName("Type.Name", "XrTrackingStateANDROID")] + [NativeName("Name", "trackingState")] + public TrackingStateANDROID TrackingState; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "centerPose")] + public Posef CenterPose; +/// + [NativeName("Type", "XrExtent3DfEXT")] + [NativeName("Type.Name", "XrExtent3DfEXT")] + [NativeName("Name", "extents")] + public Extent3DfEXT Extents; +/// + [NativeName("Type", "XrObjectLabelANDROID")] + [NativeName("Type.Name", "XrObjectLabelANDROID")] + [NativeName("Name", "objectLabel")] + public ObjectLabelANDROID ObjectLabel; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "lastUpdatedTime")] + public long LastUpdatedTime; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectConfigurationANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..f7b80e70b5 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableObjectConfigurationANDROID.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableObjectConfigurationANDROID")] + public unsafe partial struct TrackableObjectConfigurationANDROID + { + public TrackableObjectConfigurationANDROID + ( + StructureType? type = StructureType.TypeTrackableObjectConfigurationAndroid, + void* next = null, + uint? labelCount = null, + ObjectLabelANDROID* activeLabels = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (labelCount is not null) + { + LabelCount = labelCount.Value; + } + + if (activeLabels is not null) + { + ActiveLabels = activeLabels; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "labelCount")] + public uint LabelCount; +/// + [NativeName("Type", "XrObjectLabelANDROID*")] + [NativeName("Type.Name", "XrObjectLabelANDROID")] + [NativeName("Name", "activeLabels")] + public ObjectLabelANDROID* ActiveLabels; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackablePlaneANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackablePlaneANDROID.gen.cs new file mode 100644 index 0000000000..75e0276548 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackablePlaneANDROID.gen.cs @@ -0,0 +1,160 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackablePlaneANDROID")] + public unsafe partial struct TrackablePlaneANDROID + { + public TrackablePlaneANDROID + ( + StructureType? type = StructureType.TypeTrackablePlaneAndroid, + void* next = null, + TrackingStateANDROID? trackingState = null, + Posef? centerPose = null, + Extent2Df? extents = null, + PlaneTypeANDROID? planeType = null, + PlaneLabelANDROID? planeLabel = null, + ulong? subsumedByPlane = null, + long? lastUpdatedTime = null, + uint? vertexCapacityInput = null, + uint? vertexCountOutput = null, + Vector2f* vertices = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackingState is not null) + { + TrackingState = trackingState.Value; + } + + if (centerPose is not null) + { + CenterPose = centerPose.Value; + } + + if (extents is not null) + { + Extents = extents.Value; + } + + if (planeType is not null) + { + PlaneType = planeType.Value; + } + + if (planeLabel is not null) + { + PlaneLabel = planeLabel.Value; + } + + if (subsumedByPlane is not null) + { + SubsumedByPlane = subsumedByPlane.Value; + } + + if (lastUpdatedTime is not null) + { + LastUpdatedTime = lastUpdatedTime.Value; + } + + if (vertexCapacityInput is not null) + { + VertexCapacityInput = vertexCapacityInput.Value; + } + + if (vertexCountOutput is not null) + { + VertexCountOutput = vertexCountOutput.Value; + } + + if (vertices is not null) + { + Vertices = vertices; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackingStateANDROID")] + [NativeName("Type.Name", "XrTrackingStateANDROID")] + [NativeName("Name", "trackingState")] + public TrackingStateANDROID TrackingState; +/// + [NativeName("Type", "XrPosef")] + [NativeName("Type.Name", "XrPosef")] + [NativeName("Name", "centerPose")] + public Posef CenterPose; +/// + [NativeName("Type", "XrExtent2Df")] + [NativeName("Type.Name", "XrExtent2Df")] + [NativeName("Name", "extents")] + public Extent2Df Extents; +/// + [NativeName("Type", "XrPlaneTypeANDROID")] + [NativeName("Type.Name", "XrPlaneTypeANDROID")] + [NativeName("Name", "planeType")] + public PlaneTypeANDROID PlaneType; +/// + [NativeName("Type", "XrPlaneLabelANDROID")] + [NativeName("Type.Name", "XrPlaneLabelANDROID")] + [NativeName("Name", "planeLabel")] + public PlaneLabelANDROID PlaneLabel; +/// + [NativeName("Type", "XrTrackableANDROID")] + [NativeName("Type.Name", "XrTrackableANDROID")] + [NativeName("Name", "subsumedByPlane")] + public ulong SubsumedByPlane; +/// + [NativeName("Type", "XrTime")] + [NativeName("Type.Name", "XrTime")] + [NativeName("Name", "lastUpdatedTime")] + public long LastUpdatedTime; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCapacityInput")] + public uint VertexCapacityInput; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexCountOutput")] + public uint VertexCountOutput; +/// + [NativeName("Type", "XrVector2f*")] + [NativeName("Type.Name", "XrVector2f")] + [NativeName("Name", "vertices")] + public Vector2f* Vertices; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerANDROID.gen.cs new file mode 100644 index 0000000000..ce07248eb9 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerANDROID.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableTrackerANDROID")] + public unsafe partial struct TrackableTrackerANDROID + { + public TrackableTrackerANDROID + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerCreateInfoANDROID.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..b0bacc08c3 --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/TrackableTrackerCreateInfoANDROID.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrTrackableTrackerCreateInfoANDROID")] + public unsafe partial struct TrackableTrackerCreateInfoANDROID + { + public TrackableTrackerCreateInfoANDROID + ( + StructureType? type = StructureType.TypeTrackableTrackerCreateInfoAndroid, + void* next = null, + TrackableTypeANDROID? trackableType = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (trackableType is not null) + { + TrackableType = trackableType.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrTrackableTypeANDROID")] + [NativeName("Type.Name", "XrTrackableTypeANDROID")] + [NativeName("Name", "trackableType")] + public TrackableTypeANDROID TrackableType; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/UnpersistSpatialEntityCompletionEXT.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/UnpersistSpatialEntityCompletionEXT.gen.cs new file mode 100644 index 0000000000..86a11db1aa --- /dev/null +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/UnpersistSpatialEntityCompletionEXT.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.OpenXR +{ + [NativeName("Name", "XrUnpersistSpatialEntityCompletionEXT")] + public unsafe partial struct UnpersistSpatialEntityCompletionEXT + { + public UnpersistSpatialEntityCompletionEXT + ( + StructureType? type = StructureType.TypeUnpersistSpatialEntityCompletionExt, + void* next = null, + Result? futureResult = null, + SpatialPersistenceContextResultEXT? unpersistResult = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (next is not null) + { + Next = next; + } + + if (futureResult is not null) + { + FutureResult = futureResult.Value; + } + + if (unpersistResult is not null) + { + UnpersistResult = unpersistResult.Value; + } + } + +/// + [NativeName("Type", "XrStructureType")] + [NativeName("Type.Name", "XrStructureType")] + [NativeName("Name", "type")] + public StructureType Type; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "next")] + public void* Next; +/// + [NativeName("Type", "XrResult")] + [NativeName("Type.Name", "XrResult")] + [NativeName("Name", "futureResult")] + public Result FutureResult; +/// + [NativeName("Type", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Type.Name", "XrSpatialPersistenceContextResultEXT")] + [NativeName("Name", "unpersistResult")] + public SpatialPersistenceContextResultEXT UnpersistResult; + } +} diff --git a/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs index 4baf1d112a..b1bf9f9df5 100644 --- a/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs @@ -29,9 +29,15 @@ public unsafe partial class XR : NativeAPI [NativeName("Name", "XR_API_LAYER_NEXT_INFO_STRUCT_VERSION")] public const uint ApiLayerNextInfoStructVersion = unchecked((uint) 1); [NativeName("Type", "")] + [NativeName("Name", "XR_BODY_JOINT_COUNT_BD")] + public const uint BodyJointCountBD = unchecked((uint) 24); + [NativeName("Type", "")] [NativeName("Name", "XR_BODY_JOINT_COUNT_HTC")] public const uint BodyJointCountHtc = unchecked((uint) 26); [NativeName("Type", "")] + [NativeName("Name", "XR_BODY_JOINT_WITHOUT_ARM_COUNT_BD")] + public const uint BodyJointWithoutArmCountBD = unchecked((uint) 16); + [NativeName("Type", "")] [NativeName("Name", "XR_CURRENT_LOADER_API_LAYER_VERSION")] public const uint CurrentLoaderApiLayerVersion = unchecked((uint) 1); [NativeName("Type", "")] @@ -131,9 +137,18 @@ public unsafe partial class XR : NativeAPI [NativeName("Name", "XR_NULL_RENDER_MODEL_KEY_FB")] public const uint NullRenderModelKeyFB = unchecked((uint) 0); [NativeName("Type", "")] + [NativeName("Name", "XR_NULL_SPATIAL_BUFFER_ID_EXT")] + public const uint NullSpatialBufferIDExt = unchecked((uint) 0); + [NativeName("Type", "")] + [NativeName("Name", "XR_NULL_SPATIAL_ENTITY_ID_EXT")] + public const uint NullSpatialEntityIDExt = unchecked((uint) 0); + [NativeName("Type", "")] [NativeName("Name", "XR_NULL_SYSTEM_ID")] public const uint NullSystemID = unchecked((uint) 0); [NativeName("Type", "")] + [NativeName("Name", "XR_NULL_TRACKABLE_ANDROID")] + public const uint NullTrackableAndroid = unchecked((uint) 0); + [NativeName("Type", "")] [NativeName("Name", "XR_RUNTIME_INFO_STRUCT_VERSION")] public const uint RuntimeInfoStructVersion = unchecked((uint) 1); [NativeName("Type", "")] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraph.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraph.gen.cs new file mode 100644 index 0000000000..57bd0a9cd0 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraph.gen.cs @@ -0,0 +1,358 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.ARM +{ + [Extension("VK_ARM_data_graph")] + public unsafe partial class ArmDataGraph : NativeExtension + { + public const string ExtensionName = "VK_ARM_data_graph"; + /// To be documented. + [NativeApi(EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result BindDataGraphPipelineSessionMemory([Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] BindDataGraphPipelineSessionMemoryInfoARM* pBindInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM", Convention = CallingConvention.Winapi)] + public partial Result BindDataGraphPipelineSessionMemory([Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BindDataGraphPipelineSessionMemoryInfoARM pBindInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdDispatchDataGraphARM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdDispatchDataGraph([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineDispatchInfoARM* pInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdDispatchDataGraphARM", Convention = CallingConvention.Winapi)] + public partial void CmdDispatchDataGraph([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineDispatchInfoARM pInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Pipeline pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Pipeline pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineCreateInfoARM pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineCreateInfoARM pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Pipeline pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineCreateInfoARM pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelinesARM", Convention = CallingConvention.Winapi)] + public partial Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineCreateInfoARM pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Pipeline pPipelines); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionARM pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionARM pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionARM pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public partial Result CreateDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionARM pSession); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public unsafe partial void DestroyDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyDataGraphPipelineSessionARM", Convention = CallingConvention.Winapi)] + public partial void DestroyDataGraphPipelineSession([Count(Count = 0)] Device device, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] ref uint pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] ref uint pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] ref uint pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM", Convention = CallingConvention.Winapi)] + public partial Result GetDataGraphPipelineAvailableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] ref uint pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelinePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyQueryResultARM* pProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelinePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyQueryResultARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelinePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyQueryResultARM* pProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelinePropertiesARM", Convention = CallingConvention.Winapi)] + public partial Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelinePropertyQueryResultARM pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionBindPointRequirementARM pBindPointRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] ref uint pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] ref uint pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionBindPointRequirementARM pBindPointRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionBindPointRequirementsInfoARM pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionBindPointRequirementsInfoARM pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionBindPointRequirementARM pBindPointRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionBindPointRequirementsInfoARM pInfo, [Count(Count = 0)] ref uint pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM", Convention = CallingConvention.Winapi)] + public partial Result GetDataGraphPipelineSessionBindPointRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionBindPointRequirementsInfoARM pInfo, [Count(Count = 0)] ref uint pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out DataGraphPipelineSessionBindPointRequirementARM pBindPointRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionMemoryRequirementsInfoARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public partial void GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionMemoryRequirementsInfoARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM* pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphProcessingEnginePropertiesARM* pQueueFamilyDataGraphProcessingEngineProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM* pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out QueueFamilyDataGraphProcessingEnginePropertiesARM pQueueFamilyDataGraphProcessingEngineProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphProcessingEnginePropertiesARM* pQueueFamilyDataGraphProcessingEngineProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM", Convention = CallingConvention.Winapi)] + public partial void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out QueueFamilyDataGraphProcessingEnginePropertiesARM pQueueFamilyDataGraphProcessingEngineProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceQueueFamilyDataGraphProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] uint* pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProperties = new(StructureType.QueueFamilyDataGraphPropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceQueueFamilyDataGraphProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] uint* pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out QueueFamilyDataGraphPropertiesARM pQueueFamilyDataGraphProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceQueueFamilyDataGraphProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref uint pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProperties = new(StructureType.QueueFamilyDataGraphPropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM", Convention = CallingConvention.Winapi)] + public partial Result GetPhysicalDeviceQueueFamilyDataGraphProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref uint pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out QueueFamilyDataGraphPropertiesARM pQueueFamilyDataGraphProperties); + + /// To be documented. + public unsafe Result BindDataGraphPipelineSessionMemory([Count(Count = 0)] Device device, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindInfos) + { + // ImplicitCountSpanOverloader + return BindDataGraphPipelineSessionMemory(device, (uint) pBindInfos.Length, in pBindInfos.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pPipelines.Length, pCreateInfos, pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pPipelines.Length, pCreateInfos, in pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pCreateInfos.Length, in pCreateInfos.GetPinnableReference(), pAllocator, pPipelines); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pPipelines.Length, in pCreateInfos.GetPinnableReference(), pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pCreateInfos.Length, in pCreateInfos.GetPinnableReference(), in pAllocator, pPipelines); + } + + /// To be documented. + public unsafe Result CreateDataGraphPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // ImplicitCountSpanOverloader + return CreateDataGraphPipelines(device, deferredOperation, pipelineCache, (uint) pPipelines.Length, in pCreateInfos.GetPinnableReference(), in pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + public unsafe Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // ImplicitCountSpanOverloader + return GetDataGraphPipelineProperties(device, pPipelineInfo, (uint) pProperties.Length, out pProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + public unsafe Result GetDataGraphPipelineProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineInfoARM pPipelineInfo, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // ImplicitCountSpanOverloader + return GetDataGraphPipelineProperties(device, in pPipelineInfo, (uint) pProperties.Length, out pProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionMemoryRequirementsInfoARM* pInfo) + { + // NonKhrReturnTypeOverloader + GetDataGraphPipelineSessionMemoryRequirements(device, pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetDataGraphPipelineSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DataGraphPipelineSessionMemoryRequirementsInfoARM pInfo) + { + // NonKhrReturnTypeOverloader + GetDataGraphPipelineSessionMemoryRequirements(device, in pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + public unsafe QueueFamilyDataGraphProcessingEnginePropertiesARM GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM* pQueueFamilyDataGraphProcessingEngineInfo) + { + // NonKhrReturnTypeOverloader + GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(physicalDevice, pQueueFamilyDataGraphProcessingEngineInfo, out QueueFamilyDataGraphProcessingEnginePropertiesARM silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + public unsafe QueueFamilyDataGraphProcessingEnginePropertiesARM GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM pQueueFamilyDataGraphProcessingEngineInfo) + { + // NonKhrReturnTypeOverloader + GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(physicalDevice, in pQueueFamilyDataGraphProcessingEngineInfo, out QueueFamilyDataGraphProcessingEnginePropertiesARM silkRet); + return silkRet; + } + + public ArmDataGraph(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraphOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraphOverloads.gen.cs new file mode 100644 index 0000000000..3a4fb6c24c --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmDataGraphOverloads.gen.cs @@ -0,0 +1,334 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.ARM +{ + public static class ArmDataGraphOverloads + { + /// To be documented. + public static unsafe Result BindDataGraphPipelineSessionMemory(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindInfos) + { + // SpanOverloader + return thisApi.BindDataGraphPipelineSessionMemory(device, bindInfoCount, in pBindInfos.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdDispatchDataGraph(this ArmDataGraph thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo) + { + // SpanOverloader + thisApi.CmdDispatchDataGraph(commandBuffer, session, in pInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, in pAllocator.GetPinnableReference(), pPipelines); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineCreateInfoARM* pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, in pAllocator.GetPinnableReference(), out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, in pCreateInfos.GetPinnableReference(), pAllocator, pPipelines); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, in pCreateInfos.GetPinnableReference(), pAllocator, out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Pipeline* pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, in pCreateInfos.GetPinnableReference(), in pAllocator.GetPinnableReference(), pPipelines); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelines(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR deferredOperation, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfos, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Parameter = "createInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pPipelines) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelines(device, deferredOperation, pipelineCache, createInfoCount, in pCreateInfos.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pPipelines.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, pCreateInfo, pAllocator, out pSession.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, pCreateInfo, in pAllocator.GetPinnableReference(), pSession); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, pCreateInfo, in pAllocator.GetPinnableReference(), out pSession.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, in pCreateInfo.GetPinnableReference(), pAllocator, pSession); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, in pCreateInfo.GetPinnableReference(), pAllocator, out pSession.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionARM* pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pSession); + } + + /// To be documented. + public static unsafe Result CreateDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSession) + { + // SpanOverloader + return thisApi.CreateDataGraphPipelineSession(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pSession.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void DestroyDataGraphPipelineSession(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DataGraphPipelineSessionARM session, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator) + { + // SpanOverloader + thisApi.DestroyDataGraphPipelineSession(device, session, in pAllocator.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, pPipelineInfo, pPropertiesCount, out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] Span pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, pPipelineInfo, ref pPropertiesCount.GetPinnableReference(), pProperties); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] Span pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, pPipelineInfo, ref pPropertiesCount.GetPinnableReference(), out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, in pPipelineInfo.GetPinnableReference(), pPropertiesCount, pProperties); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] uint* pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, in pPipelineInfo.GetPinnableReference(), pPropertiesCount, out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] Span pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyARM* pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, in pPipelineInfo.GetPinnableReference(), ref pPropertiesCount.GetPinnableReference(), pProperties); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineAvailableProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] Span pPropertiesCount, [Count(Parameter = "pPropertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineAvailableProperties(device, in pPipelineInfo.GetPinnableReference(), ref pPropertiesCount.GetPinnableReference(), out pProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + public static unsafe Result GetDataGraphPipelineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineInfoARM* pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineProperties(device, pPipelineInfo, propertiesCount, out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelinePropertyQueryResultARM* pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineProperties(device, in pPipelineInfo.GetPinnableReference(), propertiesCount, pProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DataGraphPipelinePropertyQueryResultArm);")] + public static unsafe Result GetDataGraphPipelineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] uint propertiesCount, [Count(Parameter = "propertiesCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineProperties(device, in pPipelineInfo.GetPinnableReference(), propertiesCount, out pProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, pInfo, pBindPointRequirementCount, out pBindPointRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] Span pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, pInfo, ref pBindPointRequirementCount.GetPinnableReference(), pBindPointRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionBindPointRequirementsInfoARM* pInfo, [Count(Count = 0)] Span pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, pInfo, ref pBindPointRequirementCount.GetPinnableReference(), out pBindPointRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, in pInfo.GetPinnableReference(), pBindPointRequirementCount, pBindPointRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] uint* pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, in pInfo.GetPinnableReference(), pBindPointRequirementCount, out pBindPointRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] DataGraphPipelineSessionBindPointRequirementARM* pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, in pInfo.GetPinnableReference(), ref pBindPointRequirementCount.GetPinnableReference(), pBindPointRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pBindPointRequirements = new(StructureType.DataGraphPipelineSessionBindPointRequirementArm);")] + public static unsafe Result GetDataGraphPipelineSessionBindPointRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pBindPointRequirementCount, [Count(Parameter = "pBindPointRequirementCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pBindPointRequirements) + { + // SpanOverloader + return thisApi.GetDataGraphPipelineSessionBindPointRequirements(device, in pInfo.GetPinnableReference(), ref pBindPointRequirementCount.GetPinnableReference(), out pBindPointRequirements.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetDataGraphPipelineSessionMemoryRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DataGraphPipelineSessionMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDataGraphPipelineSessionMemoryRequirements(device, pInfo, out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetDataGraphPipelineSessionMemoryRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDataGraphPipelineSessionMemoryRequirements(device, in pInfo.GetPinnableReference(), pMemoryRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetDataGraphPipelineSessionMemoryRequirements(this ArmDataGraph thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDataGraphPipelineSessionMemoryRequirements(device, in pInfo.GetPinnableReference(), out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + public static unsafe void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM* pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pQueueFamilyDataGraphProcessingEngineProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(physicalDevice, pQueueFamilyDataGraphProcessingEngineInfo, out pQueueFamilyDataGraphProcessingEngineProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphProcessingEnginePropertiesARM* pQueueFamilyDataGraphProcessingEngineProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(physicalDevice, in pQueueFamilyDataGraphProcessingEngineInfo.GetPinnableReference(), pQueueFamilyDataGraphProcessingEngineProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProcessingEngineProperties = new(StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm);")] + public static unsafe void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pQueueFamilyDataGraphProcessingEngineInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pQueueFamilyDataGraphProcessingEngineProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperties(physicalDevice, in pQueueFamilyDataGraphProcessingEngineInfo.GetPinnableReference(), out pQueueFamilyDataGraphProcessingEngineProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProperties = new(StructureType.QueueFamilyDataGraphPropertiesArm);")] + public static unsafe Result GetPhysicalDeviceQueueFamilyDataGraphProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] uint* pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pQueueFamilyDataGraphProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceQueueFamilyDataGraphProperties(physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphPropertyCount, out pQueueFamilyDataGraphProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetPhysicalDeviceQueueFamilyDataGraphProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceQueueFamilyDataGraphProperties(physicalDevice, queueFamilyIndex, ref pQueueFamilyDataGraphPropertyCount.GetPinnableReference(), pQueueFamilyDataGraphProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyDataGraphProperties = new(StructureType.QueueFamilyDataGraphPropertiesArm);")] + public static unsafe Result GetPhysicalDeviceQueueFamilyDataGraphProperties(this ArmDataGraph thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span pQueueFamilyDataGraphPropertyCount, [Count(Parameter = "pQueueFamilyDataGraphPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pQueueFamilyDataGraphProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceQueueFamilyDataGraphProperties(physicalDevice, queueFamilyIndex, ref pQueueFamilyDataGraphPropertyCount.GetPinnableReference(), out pQueueFamilyDataGraphProperties.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensors.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensors.gen.cs new file mode 100644 index 0000000000..a11174bd2f --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensors.gen.cs @@ -0,0 +1,272 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.ARM +{ + [Extension("VK_ARM_tensors")] + public unsafe partial class ArmTensors : NativeExtension + { + public const string ExtensionName = "VK_ARM_tensors"; + /// To be documented. + [NativeApi(EntryPoint = "vkBindTensorMemoryARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result BindTensorMemory([Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] BindTensorMemoryInfoARM* pBindInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkBindTensorMemoryARM", Convention = CallingConvention.Winapi)] + public partial Result BindTensorMemory([Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BindTensorMemoryInfoARM pBindInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdCopyTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdCopyTensor([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTensorInfoARM* pCopyTensorInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdCopyTensorARM", Convention = CallingConvention.Winapi)] + public partial void CmdCopyTensor([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyTensorInfoARM pCopyTensorInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorARM pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorARM pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorARM pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorARM", Convention = CallingConvention.Winapi)] + public partial Result CreateTensor([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorARM pTensor); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorViewARM pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorViewARM pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorViewARM pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateTensorViewARM", Convention = CallingConvention.Winapi)] + public partial Result CreateTensorView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCreateInfoARM pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out TensorViewARM pView); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyTensorARM", Convention = CallingConvention.Winapi)] + public unsafe partial void DestroyTensor([Count(Count = 0)] Device device, [Count(Count = 0)] TensorARM tensor, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyTensorARM", Convention = CallingConvention.Winapi)] + public partial void DestroyTensor([Count(Count = 0)] Device device, [Count(Count = 0)] TensorARM tensor, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyTensorViewARM", Convention = CallingConvention.Winapi)] + public unsafe partial void DestroyTensorView([Count(Count = 0)] Device device, [Count(Count = 0)] TensorViewARM tensorView, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyTensorViewARM", Convention = CallingConvention.Winapi)] + public partial void DestroyTensorView([Count(Count = 0)] Device device, [Count(Count = 0)] TensorViewARM tensorView, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDeviceTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceTensorMemoryRequirementsARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetDeviceTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceTensorMemoryRequirementsARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDeviceTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceTensorMemoryRequirementsARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetDeviceTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public partial void GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceTensorMemoryRequirementsARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalTensorPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceExternalTensorInfoARM* pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalTensorPropertiesARM* pExternalTensorProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalTensorPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceExternalTensorInfoARM* pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalTensorPropertiesARM pExternalTensorProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalTensorPropertiesARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceExternalTensorInfoARM pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalTensorPropertiesARM* pExternalTensorProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalTensorPropertiesARM", Convention = CallingConvention.Winapi)] + public partial void GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceExternalTensorInfoARM pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalTensorPropertiesARM pExternalTensorProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public unsafe partial void GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorMemoryRequirementsInfoARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + [NativeApi(EntryPoint = "vkGetTensorMemoryRequirementsARM", Convention = CallingConvention.Winapi)] + public partial void GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorMemoryRequirementsInfoARM pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCaptureDescriptorDataInfoARM pInfo, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public partial Result GetTensorOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorCaptureDescriptorDataInfoARM pInfo, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorViewOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorViewOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorViewOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorViewOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorViewOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetTensorViewOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCaptureDescriptorDataInfoARM pInfo, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetTensorViewOpaqueCaptureDescriptorDataARM", Convention = CallingConvention.Winapi)] + public partial Result GetTensorViewOpaqueCaptureDescriptorData([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorViewCaptureDescriptorDataInfoARM pInfo, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + public unsafe Result BindTensorMemory([Count(Count = 0)] Device device, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindInfos) + { + // ImplicitCountSpanOverloader + return BindTensorMemory(device, (uint) pBindInfos.Length, in pBindInfos.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceTensorMemoryRequirementsARM* pInfo) + { + // NonKhrReturnTypeOverloader + GetDeviceTensorMemoryRequirements(device, pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetDeviceTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceTensorMemoryRequirementsARM pInfo) + { + // NonKhrReturnTypeOverloader + GetDeviceTensorMemoryRequirements(device, in pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + public unsafe ExternalTensorPropertiesARM GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceExternalTensorInfoARM* pExternalTensorInfo) + { + // NonKhrReturnTypeOverloader + GetPhysicalDeviceExternalTensorProperties(physicalDevice, pExternalTensorInfo, out ExternalTensorPropertiesARM silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + public unsafe ExternalTensorPropertiesARM GetPhysicalDeviceExternalTensorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PhysicalDeviceExternalTensorInfoARM pExternalTensorInfo) + { + // NonKhrReturnTypeOverloader + GetPhysicalDeviceExternalTensorProperties(physicalDevice, in pExternalTensorInfo, out ExternalTensorPropertiesARM silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorMemoryRequirementsInfoARM* pInfo) + { + // NonKhrReturnTypeOverloader + GetTensorMemoryRequirements(device, pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public unsafe MemoryRequirements2 GetTensorMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TensorMemoryRequirementsInfoARM pInfo) + { + // NonKhrReturnTypeOverloader + GetTensorMemoryRequirements(device, in pInfo, out MemoryRequirements2 silkRet); + return silkRet; + } + + public ArmTensors(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensorsOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensorsOverloads.gen.cs new file mode 100644 index 0000000000..18953a8982 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ARM/ArmTensorsOverloads.gen.cs @@ -0,0 +1,258 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.ARM +{ + public static class ArmTensorsOverloads + { + /// To be documented. + public static unsafe Result BindTensorMemory(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint bindInfoCount, [Count(Parameter = "bindInfoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindInfos) + { + // SpanOverloader + return thisApi.BindTensorMemory(device, bindInfoCount, in pBindInfos.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdCopyTensor(this ArmTensors thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyTensorInfo) + { + // SpanOverloader + thisApi.CmdCopyTensor(commandBuffer, in pCopyTensorInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, pCreateInfo, pAllocator, out pTensor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, pCreateInfo, in pAllocator.GetPinnableReference(), pTensor); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, pCreateInfo, in pAllocator.GetPinnableReference(), out pTensor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, in pCreateInfo.GetPinnableReference(), pAllocator, pTensor); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, in pCreateInfo.GetPinnableReference(), pAllocator, out pTensor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorARM* pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pTensor); + } + + /// To be documented. + public static unsafe Result CreateTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pTensor) + { + // SpanOverloader + return thisApi.CreateTensor(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pTensor.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, pCreateInfo, pAllocator, out pView.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, pCreateInfo, in pAllocator.GetPinnableReference(), pView); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCreateInfoARM* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, pCreateInfo, in pAllocator.GetPinnableReference(), out pView.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, in pCreateInfo.GetPinnableReference(), pAllocator, pView); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, in pCreateInfo.GetPinnableReference(), pAllocator, out pView.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] TensorViewARM* pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pView); + } + + /// To be documented. + public static unsafe Result CreateTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pView) + { + // SpanOverloader + return thisApi.CreateTensorView(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pView.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void DestroyTensor(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] TensorARM tensor, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator) + { + // SpanOverloader + thisApi.DestroyTensor(device, tensor, in pAllocator.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void DestroyTensorView(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] TensorViewARM tensorView, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator) + { + // SpanOverloader + thisApi.DestroyTensorView(device, tensorView, in pAllocator.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetDeviceTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceTensorMemoryRequirementsARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDeviceTensorMemoryRequirements(device, pInfo, out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetDeviceTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDeviceTensorMemoryRequirements(device, in pInfo.GetPinnableReference(), pMemoryRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetDeviceTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetDeviceTensorMemoryRequirements(device, in pInfo.GetPinnableReference(), out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + public static unsafe void GetPhysicalDeviceExternalTensorProperties(this ArmTensors thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PhysicalDeviceExternalTensorInfoARM* pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalTensorProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceExternalTensorProperties(physicalDevice, pExternalTensorInfo, out pExternalTensorProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetPhysicalDeviceExternalTensorProperties(this ArmTensors thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalTensorPropertiesARM* pExternalTensorProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceExternalTensorProperties(physicalDevice, in pExternalTensorInfo.GetPinnableReference(), pExternalTensorProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalTensorProperties = new(StructureType.ExternalTensorPropertiesArm);")] + public static unsafe void GetPhysicalDeviceExternalTensorProperties(this ArmTensors thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pExternalTensorInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalTensorProperties) + { + // SpanOverloader + thisApi.GetPhysicalDeviceExternalTensorProperties(physicalDevice, in pExternalTensorInfo.GetPinnableReference(), out pExternalTensorProperties.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorMemoryRequirementsInfoARM* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetTensorMemoryRequirements(device, pInfo, out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements) + { + // SpanOverloader + thisApi.GetTensorMemoryRequirements(device, in pInfo.GetPinnableReference(), pMemoryRequirements); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] + public static unsafe void GetTensorMemoryRequirements(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryRequirements) + { + // SpanOverloader + thisApi.GetTensorMemoryRequirements(device, in pInfo.GetPinnableReference(), out pMemoryRequirements.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTensorOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetTensorOpaqueCaptureDescriptorData(device, pInfo, ref pData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTensorOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] void* pData) + { + // SpanOverloader + return thisApi.GetTensorOpaqueCaptureDescriptorData(device, in pInfo.GetPinnableReference(), pData); + } + + /// To be documented. + public static unsafe Result GetTensorOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetTensorOpaqueCaptureDescriptorData(device, in pInfo.GetPinnableReference(), ref pData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTensorViewOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TensorViewCaptureDescriptorDataInfoARM* pInfo, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetTensorViewOpaqueCaptureDescriptorData(device, pInfo, ref pData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetTensorViewOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] void* pData) + { + // SpanOverloader + return thisApi.GetTensorViewOpaqueCaptureDescriptorData(device, in pInfo.GetPinnableReference(), pData); + } + + /// To be documented. + public static unsafe Result GetTensorViewOpaqueCaptureDescriptorData(this ArmTensors thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetTensorViewOpaqueCaptureDescriptorData(device, in pInfo.GetPinnableReference(), ref pData.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetal.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetal.gen.cs new file mode 100644 index 0000000000..0ada532276 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetal.gen.cs @@ -0,0 +1,63 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.EXT +{ + [Extension("VK_EXT_external_memory_metal")] + public unsafe partial class ExtExternalMemoryMetal : NativeExtension + { + public const string ExtensionName = "VK_EXT_external_memory_metal"; + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandleEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryGetMetalHandleInfoEXT* pGetMetalHandleInfo, [Count(Count = 0)] void** pHandle); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandleEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryGetMetalHandleInfoEXT* pGetMetalHandleInfo, [Count(Count = 0)] ref void* pHandle); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandleEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryGetMetalHandleInfoEXT pGetMetalHandleInfo, [Count(Count = 0)] void** pHandle); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandleEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryGetMetalHandleInfoEXT pGetMetalHandleInfo, [Count(Count = 0)] ref void* pHandle); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandlePropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryMetalHandlePropertiesEXT* pMemoryMetalHandleProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryMetalHandleProperties = new(StructureType.MemoryMetalHandlePropertiesExt);")] + [NativeApi(EntryPoint = "vkGetMemoryMetalHandlePropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryMetalHandlePropertiesEXT pMemoryMetalHandleProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetMemoryMetalHandlePropertiesEXT", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetMemoryMetalHandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] ref T0 pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryMetalHandlePropertiesEXT* pMemoryMetalHandleProperties) where T0 : unmanaged; + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryMetalHandleProperties = new(StructureType.MemoryMetalHandlePropertiesExt);")] + [NativeApi(EntryPoint = "vkGetMemoryMetalHandlePropertiesEXT", Convention = CallingConvention.Winapi)] + public partial Result GetMemoryMetalHandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] ref T0 pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out MemoryMetalHandlePropertiesEXT pMemoryMetalHandleProperties) where T0 : unmanaged; + + public ExtExternalMemoryMetal(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetalOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetalOverloads.gen.cs new file mode 100644 index 0000000000..510ab405dd --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryMetalOverloads.gen.cs @@ -0,0 +1,58 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.EXT +{ + public static class ExtExternalMemoryMetalOverloads + { + /// To be documented. + public static unsafe Result GetMemoryMetalHandle(this ExtExternalMemoryMetal thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pGetMetalHandleInfo, [Count(Count = 0)] void** pHandle) + { + // SpanOverloader + return thisApi.GetMemoryMetalHandle(device, in pGetMetalHandleInfo.GetPinnableReference(), pHandle); + } + + /// To be documented. + public static unsafe Result GetMemoryMetalHandle(this ExtExternalMemoryMetal thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pGetMetalHandleInfo, [Count(Count = 0)] ref void* pHandle) + { + // SpanOverloader + return thisApi.GetMemoryMetalHandle(device, in pGetMetalHandleInfo.GetPinnableReference(), ref pHandle); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryMetalHandleProperties = new(StructureType.MemoryMetalHandlePropertiesExt);")] + public static unsafe Result GetMemoryMetalHandleProperties(this ExtExternalMemoryMetal thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryMetalHandleProperties) + { + // SpanOverloader + return thisApi.GetMemoryMetalHandleProperties(device, handleType, pHandle, out pMemoryMetalHandleProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetMemoryMetalHandleProperties(this ExtExternalMemoryMetal thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] Span pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] MemoryMetalHandlePropertiesEXT* pMemoryMetalHandleProperties) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetMemoryMetalHandleProperties(device, handleType, ref pHandle.GetPinnableReference(), pMemoryMetalHandleProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryMetalHandleProperties = new(StructureType.MemoryMetalHandlePropertiesExt);")] + public static unsafe Result GetMemoryMetalHandleProperties(this ExtExternalMemoryMetal thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] Span pHandle, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pMemoryMetalHandleProperties) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetMemoryMetalHandleProperties(device, handleType, ref pHandle.GetPinnableReference(), out pMemoryMetalHandleProperties.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffset.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffset.gen.cs new file mode 100644 index 0000000000..b30c0bb6fd --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffset.gen.cs @@ -0,0 +1,37 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.EXT +{ + [Extension("VK_EXT_fragment_density_map_offset")] + public unsafe partial class ExtFragmentDensityMapOffset : NativeExtension + { + public const string ExtensionName = "VK_EXT_fragment_density_map_offset"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdEndRendering2EXT", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdEndRendering2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingEndInfoEXT* pRenderingEndInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdEndRendering2EXT", Convention = CallingConvention.Winapi)] + public partial void CmdEndRendering2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingEndInfoEXT pRenderingEndInfo); + + public ExtFragmentDensityMapOffset(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffsetOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffsetOverloads.gen.cs new file mode 100644 index 0000000000..6bfc01c885 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtFragmentDensityMapOffsetOverloads.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.EXT +{ + public static class ExtFragmentDensityMapOffsetOverloads + { + /// To be documented. + public static unsafe void CmdEndRendering2(this ExtFragmentDensityMapOffset thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingEndInfo) + { + // SpanOverloader + thisApi.CmdEndRendering2(commandBuffer, in pRenderingEndInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopy.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopy.gen.cs index ec9db74bda..e48545e685 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopy.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopy.gen.cs @@ -22,76 +22,76 @@ public unsafe partial class ExtHostImageCopy : NativeExtension public const string ExtensionName = "VK_EXT_host_image_copy"; /// To be documented. [NativeApi(EntryPoint = "vkCopyImageToImageEXT", Convention = CallingConvention.Winapi)] - public unsafe partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToImageInfoEXT* pCopyImageToImageInfo); + public unsafe partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToImageInfo* pCopyImageToImageInfo); /// To be documented. [NativeApi(EntryPoint = "vkCopyImageToImageEXT", Convention = CallingConvention.Winapi)] - public partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToImageInfoEXT pCopyImageToImageInfo); + public partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToImageInfo pCopyImageToImageInfo); /// To be documented. [NativeApi(EntryPoint = "vkCopyImageToMemoryEXT", Convention = CallingConvention.Winapi)] - public unsafe partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToMemoryInfoEXT* pCopyImageToMemoryInfo); + public unsafe partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToMemoryInfo* pCopyImageToMemoryInfo); /// To be documented. [NativeApi(EntryPoint = "vkCopyImageToMemoryEXT", Convention = CallingConvention.Winapi)] - public partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToMemoryInfoEXT pCopyImageToMemoryInfo); + public partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToMemoryInfo pCopyImageToMemoryInfo); /// To be documented. [NativeApi(EntryPoint = "vkCopyMemoryToImageEXT", Convention = CallingConvention.Winapi)] - public unsafe partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyMemoryToImageInfoEXT* pCopyMemoryToImageInfo); + public unsafe partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyMemoryToImageInfo* pCopyMemoryToImageInfo); /// To be documented. [NativeApi(EntryPoint = "vkCopyMemoryToImageEXT", Convention = CallingConvention.Winapi)] - public partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyMemoryToImageInfoEXT pCopyMemoryToImageInfo); + public partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyMemoryToImageInfo pCopyMemoryToImageInfo); /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkTransitionImageLayoutEXT", Convention = CallingConvention.Winapi)] - public unsafe partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] HostImageLayoutTransitionInfoEXT* pTransitions); + public unsafe partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] HostImageLayoutTransitionInfo* pTransitions); /// To be documented. [NativeApi(EntryPoint = "vkTransitionImageLayoutEXT", Convention = CallingConvention.Winapi)] - public partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in HostImageLayoutTransitionInfoEXT pTransitions); + public partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in HostImageLayoutTransitionInfo pTransitions); /// To be documented. - public unsafe Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) + public unsafe Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) { // ImplicitCountSpanOverloader return TransitionImageLayout(device, (uint) pTransitions.Length, in pTransitions.GetPinnableReference()); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2 silkRet); return silkRet; } diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopyOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopyOverloads.gen.cs index e968044dc7..b28a6707ac 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopyOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtHostImageCopyOverloads.gen.cs @@ -17,51 +17,51 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtHostImageCopyOverloads { /// To be documented. - public static unsafe Result CopyImageToImage(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToImageInfo) + public static unsafe Result CopyImageToImage(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToImageInfo) { // SpanOverloader return thisApi.CopyImageToImage(device, in pCopyImageToImageInfo.GetPinnableReference()); } /// To be documented. - public static unsafe Result CopyImageToMemory(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToMemoryInfo) + public static unsafe Result CopyImageToMemory(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToMemoryInfo) { // SpanOverloader return thisApi.CopyImageToMemory(device, in pCopyImageToMemoryInfo.GetPinnableReference()); } /// To be documented. - public static unsafe Result CopyMemoryToImage(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyMemoryToImageInfo) + public static unsafe Result CopyMemoryToImage(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyMemoryToImageInfo) { // SpanOverloader return thisApi.CopyMemoryToImage(device, in pCopyMemoryToImageInfo.GetPinnableReference()); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, pSubresource, out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout) + public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), pLayout); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe Result TransitionImageLayout(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) + public static unsafe Result TransitionImageLayout(this ExtHostImageCopy thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) { // SpanOverloader return thisApi.TransitionImageLayout(device, transitionCount, in pTransitions.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControl.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControl.gen.cs index 2484953836..fa8590534c 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControl.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControl.gen.cs @@ -22,37 +22,37 @@ public unsafe partial class ExtImageCompressionControl : NativeExtension public const string ExtensionName = "VK_EXT_image_compression_control"; /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2EXT", Convention = CallingConvention.Winapi)] - public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2 silkRet); return silkRet; } diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControlOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControlOverloads.gen.cs index 48d3a468b7..711bbc90b3 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControlOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageCompressionControlOverloads.gen.cs @@ -17,23 +17,23 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtImageCompressionControlOverloads { /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, pSubresource, out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout) + public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), pLayout); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this ExtImageCompressionControl thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), out pLayout.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1.gen.cs index 5f84957092..5958fbddc5 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1.gen.cs @@ -22,11 +22,11 @@ public unsafe partial class ExtSwapchainMaintenance1 : NativeExtension public const string ExtensionName = "VK_EXT_swapchain_maintenance1"; /// To be documented. [NativeApi(EntryPoint = "vkReleaseSwapchainImagesEXT", Convention = CallingConvention.Winapi)] - public unsafe partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReleaseSwapchainImagesInfoEXT* pReleaseInfo); + public unsafe partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReleaseSwapchainImagesInfoKHR* pReleaseInfo); /// To be documented. [NativeApi(EntryPoint = "vkReleaseSwapchainImagesEXT", Convention = CallingConvention.Winapi)] - public partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ReleaseSwapchainImagesInfoEXT pReleaseInfo); + public partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ReleaseSwapchainImagesInfoKHR pReleaseInfo); public ExtSwapchainMaintenance1(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1Overloads.gen.cs index 2ca62eef3e..4a37efdb3d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSwapchainMaintenance1Overloads.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtSwapchainMaintenance1Overloads { /// To be documented. - public static unsafe Result ReleaseSwapchainImages(this ExtSwapchainMaintenance1 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pReleaseInfo) + public static unsafe Result ReleaseSwapchainImages(this ExtSwapchainMaintenance1 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pReleaseInfo) { // SpanOverloader return thisApi.ReleaseSwapchainImages(device, in pReleaseInfo.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalRead.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalRead.gen.cs index 59c4c9a189..a336759f80 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalRead.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalRead.gen.cs @@ -22,19 +22,19 @@ public unsafe partial class KhrDynamicRenderingLocalRead : NativeExtension public const string ExtensionName = "VK_KHR_dynamic_rendering_local_read"; /// To be documented. [NativeApi(EntryPoint = "vkCmdSetRenderingAttachmentLocationsKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAttachmentLocationInfoKHR* pLocationInfo); + public unsafe partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAttachmentLocationInfo* pLocationInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdSetRenderingAttachmentLocationsKHR", Convention = CallingConvention.Winapi)] - public partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAttachmentLocationInfoKHR pLocationInfo); + public partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAttachmentLocationInfo pLocationInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdSetRenderingInputAttachmentIndicesKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo); + public unsafe partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingInputAttachmentIndexInfo* pInputAttachmentIndexInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdSetRenderingInputAttachmentIndicesKHR", Convention = CallingConvention.Winapi)] - public partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingInputAttachmentIndexInfoKHR pInputAttachmentIndexInfo); + public partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingInputAttachmentIndexInfo pInputAttachmentIndexInfo); public KhrDynamicRenderingLocalRead(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalReadOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalReadOverloads.gen.cs index 6a3c53eda1..4e8c4e7fc2 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalReadOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDynamicRenderingLocalReadOverloads.gen.cs @@ -17,14 +17,14 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrDynamicRenderingLocalReadOverloads { /// To be documented. - public static unsafe void CmdSetRenderingAttachmentLocation(this KhrDynamicRenderingLocalRead thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pLocationInfo) + public static unsafe void CmdSetRenderingAttachmentLocation(this KhrDynamicRenderingLocalRead thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pLocationInfo) { // SpanOverloader thisApi.CmdSetRenderingAttachmentLocation(commandBuffer, in pLocationInfo.GetPinnableReference()); } /// To be documented. - public static unsafe void CmdSetRenderingInputAttachmentIndices(this KhrDynamicRenderingLocalRead thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInputAttachmentIndexInfo) + public static unsafe void CmdSetRenderingInputAttachmentIndices(this KhrDynamicRenderingLocalRead thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInputAttachmentIndexInfo) { // SpanOverloader thisApi.CmdSetRenderingInputAttachmentIndices(commandBuffer, in pInputAttachmentIndexInfo.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5.gen.cs index d73aa34b04..179f305df7 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5.gen.cs @@ -26,94 +26,94 @@ public unsafe partial class KhrMaintenance5 : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayoutKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfoKHR* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayoutKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfoKHR* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayoutKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfoKHR pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayoutKHR", Convention = CallingConvention.Winapi)] - public partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfoKHR pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout); + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2KHR", Convention = CallingConvention.Winapi)] - public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2KHR pLayout); + public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); /// To be documented. [NativeApi(EntryPoint = "vkGetRenderingAreaGranularityKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfoKHR* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); /// To be documented. [NativeApi(EntryPoint = "vkGetRenderingAreaGranularityKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfoKHR* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); /// To be documented. [NativeApi(EntryPoint = "vkGetRenderingAreaGranularityKHR", Convention = CallingConvention.Winapi)] - public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfoKHR pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); /// To be documented. [NativeApi(EntryPoint = "vkGetRenderingAreaGranularityKHR", Convention = CallingConvention.Winapi)] - public partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfoKHR pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); + public partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfoKHR* pInfo) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo) { // NonKhrReturnTypeOverloader - GetDeviceImageSubresourceLayout(device, pInfo, out SubresourceLayout2KHR silkRet); + GetDeviceImageSubresourceLayout(device, pInfo, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfoKHR pInfo) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo) { // NonKhrReturnTypeOverloader - GetDeviceImageSubresourceLayout(device, in pInfo, out SubresourceLayout2KHR silkRet); + GetDeviceImageSubresourceLayout(device, in pInfo, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public unsafe SubresourceLayout2KHR GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2KHR pSubresource) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource) { // NonKhrReturnTypeOverloader - GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2KHR silkRet); + GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2 silkRet); return silkRet; } /// To be documented. - public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfoKHR* pRenderingAreaInfo) + public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo) { // NonKhrReturnTypeOverloader GetRenderingAreaGranularity(device, pRenderingAreaInfo, out Extent2D silkRet); @@ -121,7 +121,7 @@ public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device dev } /// To be documented. - public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfoKHR pRenderingAreaInfo) + public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo) { // NonKhrReturnTypeOverloader GetRenderingAreaGranularity(device, in pRenderingAreaInfo, out Extent2D silkRet); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5Overloads.gen.cs index fb09ebf708..59f00a051d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance5Overloads.gen.cs @@ -17,67 +17,67 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrMaintenance5Overloads { /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfoKHR* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetDeviceImageSubresourceLayout(device, pInfo, out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout) + public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) { // SpanOverloader thisApi.GetDeviceImageSubresourceLayout(device, in pInfo.GetPinnableReference(), pLayout); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetDeviceImageSubresourceLayout(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetDeviceImageSubresourceLayout(device, in pInfo.GetPinnableReference(), out pLayout.GetPinnableReference()); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2KHR* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, pSubresource, out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2KHR* pLayout) + public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), pLayout); } /// To be documented. - [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2Khr);")] - public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) { // SpanOverloader thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), out pLayout.GetPinnableReference()); } /// To be documented. - public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfoKHR* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) + public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) { // SpanOverloader thisApi.GetRenderingAreaGranularity(device, pRenderingAreaInfo, out pGranularity.GetPinnableReference()); } /// To be documented. - public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity) + public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity) { // SpanOverloader thisApi.GetRenderingAreaGranularity(device, in pRenderingAreaInfo.GetPinnableReference(), pGranularity); } /// To be documented. - public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) + public static unsafe void GetRenderingAreaGranularity(this KhrMaintenance5 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) { // SpanOverloader thisApi.GetRenderingAreaGranularity(device, in pRenderingAreaInfo.GetPinnableReference(), out pGranularity.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6.gen.cs index 9e4761d61f..656f8f6349 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6.gen.cs @@ -30,35 +30,35 @@ public unsafe partial class KhrMaintenance6 : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkCmdBindDescriptorSets2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BindDescriptorSetsInfoKHR* pBindDescriptorSetsInfo); + public unsafe partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BindDescriptorSetsInfo* pBindDescriptorSetsInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdBindDescriptorSets2KHR", Convention = CallingConvention.Winapi)] - public partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BindDescriptorSetsInfoKHR pBindDescriptorSetsInfo); + public partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BindDescriptorSetsInfo pBindDescriptorSetsInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushConstants2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushConstantsInfoKHR* pPushConstantsInfo); + public unsafe partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushConstantsInfo* pPushConstantsInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushConstants2KHR", Convention = CallingConvention.Winapi)] - public partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushConstantsInfoKHR pPushConstantsInfo); + public partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushConstantsInfo pPushConstantsInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushDescriptorSet2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetInfoKHR* pPushDescriptorSetInfo); + public unsafe partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetInfo* pPushDescriptorSetInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushDescriptorSet2KHR", Convention = CallingConvention.Winapi)] - public partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetInfoKHR pPushDescriptorSetInfo); + public partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetInfo pPushDescriptorSetInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetWithTemplateInfoKHR* pPushDescriptorSetWithTemplateInfo); + public unsafe partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetWithTemplateInfo* pPushDescriptorSetWithTemplateInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate2KHR", Convention = CallingConvention.Winapi)] - public partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetWithTemplateInfoKHR pPushDescriptorSetWithTemplateInfo); + public partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetWithTemplateInfo pPushDescriptorSetWithTemplateInfo); /// To be documented. [NativeApi(EntryPoint = "vkCmdSetDescriptorBufferOffsets2EXT", Convention = CallingConvention.Winapi)] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6Overloads.gen.cs index de1388280d..50abfa9239 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance6Overloads.gen.cs @@ -24,28 +24,28 @@ public static unsafe void CmdBindDescriptorBufferEmbeddedSamplers2(this KhrMaint } /// To be documented. - public static unsafe void CmdBindDescriptorSets2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindDescriptorSetsInfo) + public static unsafe void CmdBindDescriptorSets2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindDescriptorSetsInfo) { // SpanOverloader thisApi.CmdBindDescriptorSets2(commandBuffer, in pBindDescriptorSetsInfo.GetPinnableReference()); } /// To be documented. - public static unsafe void CmdPushConstants2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushConstantsInfo) + public static unsafe void CmdPushConstants2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushConstantsInfo) { // SpanOverloader thisApi.CmdPushConstants2(commandBuffer, in pPushConstantsInfo.GetPinnableReference()); } /// To be documented. - public static unsafe void CmdPushDescriptorSet2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetInfo) + public static unsafe void CmdPushDescriptorSet2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetInfo) { // SpanOverloader thisApi.CmdPushDescriptorSet2(commandBuffer, in pPushDescriptorSetInfo.GetPinnableReference()); } /// To be documented. - public static unsafe void CmdPushDescriptorSetWithTemplate2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetWithTemplateInfo) + public static unsafe void CmdPushDescriptorSetWithTemplate2(this KhrMaintenance6 thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetWithTemplateInfo) { // SpanOverloader thisApi.CmdPushDescriptorSetWithTemplate2(commandBuffer, in pPushDescriptorSetWithTemplateInfo.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2.gen.cs index 1b1670e14f..8c3d34465f 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2.gen.cs @@ -22,27 +22,27 @@ public unsafe partial class KhrMapMemory2 : NativeExtension public const string ExtensionName = "VK_KHR_map_memory2"; /// To be documented. [NativeApi(EntryPoint = "vkMapMemory2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfoKHR* pMemoryMapInfo, [Count(Count = 0)] void** ppData); + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfo* pMemoryMapInfo, [Count(Count = 0)] void** ppData); /// To be documented. [NativeApi(EntryPoint = "vkMapMemory2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfoKHR* pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfo* pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); /// To be documented. [NativeApi(EntryPoint = "vkMapMemory2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfoKHR pMemoryMapInfo, [Count(Count = 0)] void** ppData); + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfo pMemoryMapInfo, [Count(Count = 0)] void** ppData); /// To be documented. [NativeApi(EntryPoint = "vkMapMemory2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfoKHR pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfo pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); /// To be documented. [NativeApi(EntryPoint = "vkUnmapMemory2KHR", Convention = CallingConvention.Winapi)] - public unsafe partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryUnmapInfoKHR* pMemoryUnmapInfo); + public unsafe partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryUnmapInfo* pMemoryUnmapInfo); /// To be documented. [NativeApi(EntryPoint = "vkUnmapMemory2KHR", Convention = CallingConvention.Winapi)] - public partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryUnmapInfoKHR pMemoryUnmapInfo); + public partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryUnmapInfo pMemoryUnmapInfo); public KhrMapMemory2(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2Overloads.gen.cs index ced4b085ff..cd42331793 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMapMemory2Overloads.gen.cs @@ -17,21 +17,21 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrMapMemory2Overloads { /// To be documented. - public static unsafe Result MapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] void** ppData) + public static unsafe Result MapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] void** ppData) { // SpanOverloader return thisApi.MapMemory2(device, in pMemoryMapInfo.GetPinnableReference(), ppData); } /// To be documented. - public static unsafe Result MapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] ref void* ppData) + public static unsafe Result MapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] ref void* ppData) { // SpanOverloader return thisApi.MapMemory2(device, in pMemoryMapInfo.GetPinnableReference(), ref ppData); } /// To be documented. - public static unsafe Result UnmapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryUnmapInfo) + public static unsafe Result UnmapMemory2(this KhrMapMemory2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryUnmapInfo) { // SpanOverloader return thisApi.UnmapMemory2(device, in pMemoryUnmapInfo.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2.gen.cs new file mode 100644 index 0000000000..434f210069 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2.gen.cs @@ -0,0 +1,37 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.KHR +{ + [Extension("VK_KHR_present_wait2")] + public unsafe partial class KhrPresentWait2 : NativeExtension + { + public const string ExtensionName = "VK_KHR_present_wait2"; + /// To be documented. + [NativeApi(EntryPoint = "vkWaitForPresent2KHR", Convention = CallingConvention.Winapi)] + public unsafe partial Result WaitForPresent2([Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PresentWait2InfoKHR* pPresentWait2Info); + + /// To be documented. + [NativeApi(EntryPoint = "vkWaitForPresent2KHR", Convention = CallingConvention.Winapi)] + public partial Result WaitForPresent2([Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PresentWait2InfoKHR pPresentWait2Info); + + public KhrPresentWait2(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2Overloads.gen.cs new file mode 100644 index 0000000000..68231dc23f --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPresentWait2Overloads.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.KHR +{ + public static class KhrPresentWait2Overloads + { + /// To be documented. + public static unsafe Result WaitForPresent2(this KhrPresentWait2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPresentWait2Info) + { + // SpanOverloader + return thisApi.WaitForPresent2(device, swapchain, in pPresentWait2Info.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1.gen.cs new file mode 100644 index 0000000000..51b70f4311 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1.gen.cs @@ -0,0 +1,37 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.KHR +{ + [Extension("VK_KHR_swapchain_maintenance1")] + public unsafe partial class KhrSwapchainMaintenance1 : NativeExtension + { + public const string ExtensionName = "VK_KHR_swapchain_maintenance1"; + /// To be documented. + [NativeApi(EntryPoint = "vkReleaseSwapchainImagesKHR", Convention = CallingConvention.Winapi)] + public unsafe partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReleaseSwapchainImagesInfoKHR* pReleaseInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkReleaseSwapchainImagesKHR", Convention = CallingConvention.Winapi)] + public partial Result ReleaseSwapchainImages([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ReleaseSwapchainImagesInfoKHR pReleaseInfo); + + public KhrSwapchainMaintenance1(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1Overloads.gen.cs new file mode 100644 index 0000000000..93d9873c38 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainMaintenance1Overloads.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.KHR +{ + public static class KhrSwapchainMaintenance1Overloads + { + /// To be documented. + public static unsafe Result ReleaseSwapchainImages(this KhrSwapchainMaintenance1 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pReleaseInfo) + { + // SpanOverloader + return thisApi.ReleaseSwapchainImages(device, in pReleaseInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.MTK/Silk.NET.Vulkan.Extensions.MTK.csproj b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.MTK/Silk.NET.Vulkan.Extensions.MTK.csproj new file mode 100644 index 0000000000..3a6fbc9cc7 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.MTK/Silk.NET.Vulkan.Extensions.MTK.csproj @@ -0,0 +1,14 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + 10 + + + + + + + + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructure.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructure.gen.cs new file mode 100644 index 0000000000..1ded3cd352 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructure.gen.cs @@ -0,0 +1,73 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + [Extension("VK_NV_cluster_acceleration_structure")] + public unsafe partial class NVClusterAccelerationStructure : NativeExtension + { + public const string ExtensionName = "VK_NV_cluster_acceleration_structure"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBuildClusterAccelerationStructureIndirectNV", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdBuildClusterAccelerationStructureIndirect([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ClusterAccelerationStructureCommandsInfoNV* pCommandInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBuildClusterAccelerationStructureIndirectNV", Convention = CallingConvention.Winapi)] + public partial void CmdBuildClusterAccelerationStructureIndirect([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ClusterAccelerationStructureCommandsInfoNV pCommandInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetClusterAccelerationStructureBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ClusterAccelerationStructureInputInfoNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + [NativeApi(EntryPoint = "vkGetClusterAccelerationStructureBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ClusterAccelerationStructureInputInfoNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetClusterAccelerationStructureBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ClusterAccelerationStructureInputInfoNV pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + [NativeApi(EntryPoint = "vkGetClusterAccelerationStructureBuildSizesNV", Convention = CallingConvention.Winapi)] + public partial void GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ClusterAccelerationStructureInputInfoNV pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public unsafe AccelerationStructureBuildSizesInfoKHR GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ClusterAccelerationStructureInputInfoNV* pInfo) + { + // NonKhrReturnTypeOverloader + GetClusterAccelerationStructureBuildSizes(device, pInfo, out AccelerationStructureBuildSizesInfoKHR silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public unsafe AccelerationStructureBuildSizesInfoKHR GetClusterAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ClusterAccelerationStructureInputInfoNV pInfo) + { + // NonKhrReturnTypeOverloader + GetClusterAccelerationStructureBuildSizes(device, in pInfo, out AccelerationStructureBuildSizesInfoKHR silkRet); + return silkRet; + } + + public NVClusterAccelerationStructure(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructureOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructureOverloads.gen.cs new file mode 100644 index 0000000000..69929e0960 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVClusterAccelerationStructureOverloads.gen.cs @@ -0,0 +1,51 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + public static class NVClusterAccelerationStructureOverloads + { + /// To be documented. + public static unsafe void CmdBuildClusterAccelerationStructureIndirect(this NVClusterAccelerationStructure thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCommandInfos) + { + // SpanOverloader + thisApi.CmdBuildClusterAccelerationStructureIndirect(commandBuffer, in pCommandInfos.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public static unsafe void GetClusterAccelerationStructureBuildSizes(this NVClusterAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ClusterAccelerationStructureInputInfoNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSizeInfo) + { + // SpanOverloader + thisApi.GetClusterAccelerationStructureBuildSizes(device, pInfo, out pSizeInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetClusterAccelerationStructureBuildSizes(this NVClusterAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo) + { + // SpanOverloader + thisApi.GetClusterAccelerationStructureBuildSizes(device, in pInfo.GetPinnableReference(), pSizeInfo); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public static unsafe void GetClusterAccelerationStructureBuildSizes(this NVClusterAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSizeInfo) + { + // SpanOverloader + thisApi.GetClusterAccelerationStructureBuildSizes(device, in pInfo.GetPinnableReference(), out pSizeInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVector.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVector.gen.cs new file mode 100644 index 0000000000..83545d6967 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVector.gen.cs @@ -0,0 +1,70 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + [Extension("VK_NV_cooperative_vector")] + public unsafe partial class NVCooperativeVector : NativeExtension + { + public const string ExtensionName = "VK_NV_cooperative_vector"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdConvertCooperativeVectorMatrixNV", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdConvertCooperativeVectorMatrix([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint infoCount, [Count(Parameter = "infoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ConvertCooperativeVectorMatrixInfoNV* pInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdConvertCooperativeVectorMatrixNV", Convention = CallingConvention.Winapi)] + public partial void CmdConvertCooperativeVectorMatrix([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint infoCount, [Count(Parameter = "infoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ConvertCooperativeVectorMatrixInfoNV pInfos); + + /// To be documented. + [NativeApi(EntryPoint = "vkConvertCooperativeVectorMatrixNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result ConvertCooperativeVectorMatrix([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ConvertCooperativeVectorMatrixInfoNV* pInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkConvertCooperativeVectorMatrixNV", Convention = CallingConvention.Winapi)] + public partial Result ConvertCooperativeVectorMatrix([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ConvertCooperativeVectorMatrixInfoNV pInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeVectorPropertiesNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceCooperativeVectorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CooperativeVectorPropertiesNV* pProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeVectorPropertiesNV);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeVectorPropertiesNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceCooperativeVectorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CooperativeVectorPropertiesNV pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeVectorPropertiesNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result GetPhysicalDeviceCooperativeVectorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CooperativeVectorPropertiesNV* pProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeVectorPropertiesNV);")] + [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeVectorPropertiesNV", Convention = CallingConvention.Winapi)] + public partial Result GetPhysicalDeviceCooperativeVectorProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out CooperativeVectorPropertiesNV pProperties); + + /// To be documented. + public unsafe void CmdConvertCooperativeVectorMatrix([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Parameter = "infoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfos) + { + // ImplicitCountSpanOverloader + CmdConvertCooperativeVectorMatrix(commandBuffer, (uint) pInfos.Length, in pInfos.GetPinnableReference()); + } + + public NVCooperativeVector(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVectorOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVectorOverloads.gen.cs new file mode 100644 index 0000000000..dcc5b1de64 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeVectorOverloads.gen.cs @@ -0,0 +1,58 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + public static class NVCooperativeVectorOverloads + { + /// To be documented. + public static unsafe void CmdConvertCooperativeVectorMatrix(this NVCooperativeVector thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint infoCount, [Count(Parameter = "infoCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfos) + { + // SpanOverloader + thisApi.CmdConvertCooperativeVectorMatrix(commandBuffer, infoCount, in pInfos.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result ConvertCooperativeVectorMatrix(this NVCooperativeVector thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo) + { + // SpanOverloader + return thisApi.ConvertCooperativeVectorMatrix(device, in pInfo.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeVectorPropertiesNV);")] + public static unsafe Result GetPhysicalDeviceCooperativeVectorProperties(this NVCooperativeVector thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceCooperativeVectorProperties(physicalDevice, pPropertyCount, out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result GetPhysicalDeviceCooperativeVectorProperties(this NVCooperativeVector thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] CooperativeVectorPropertiesNV* pProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceCooperativeVectorProperties(physicalDevice, ref pPropertyCount.GetPinnableReference(), pProperties); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeVectorPropertiesNV);")] + public static unsafe Result GetPhysicalDeviceCooperativeVectorProperties(this NVCooperativeVector thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetPhysicalDeviceCooperativeVectorProperties(physicalDevice, ref pPropertyCount.GetPinnableReference(), out pProperties.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueue.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueue.gen.cs new file mode 100644 index 0000000000..7fcc7b86be --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueue.gen.cs @@ -0,0 +1,85 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + [Extension("VK_NV_external_compute_queue")] + public unsafe partial class NVExternalComputeQueue : NativeExtension + { + public const string ExtensionName = "VK_NV_external_compute_queue"; + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalComputeQueueNV pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalComputeQueueNV pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ExternalComputeQueueCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ExternalComputeQueueCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalComputeQueueNV pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ExternalComputeQueueCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public partial Result CreateExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ExternalComputeQueueCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out ExternalComputeQueueNV pExternalQueue); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public unsafe partial void DestroyExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyExternalComputeQueueNV", Convention = CallingConvention.Winapi)] + public partial void DestroyExternalComputeQueue([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetExternalComputeQueueDataNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetExternalComputeQueueData([Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] ExternalComputeQueueDataParamsNV* @params, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetExternalComputeQueueDataNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetExternalComputeQueueData([Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] ExternalComputeQueueDataParamsNV* @params, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + [NativeApi(EntryPoint = "vkGetExternalComputeQueueDataNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetExternalComputeQueueData([Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] ref ExternalComputeQueueDataParamsNV @params, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetExternalComputeQueueDataNV", Convention = CallingConvention.Winapi)] + public partial void GetExternalComputeQueueData([Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] ref ExternalComputeQueueDataParamsNV @params, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + public NVExternalComputeQueue(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueueOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueueOverloads.gen.cs new file mode 100644 index 0000000000..a292892a77 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalComputeQueueOverloads.gen.cs @@ -0,0 +1,98 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + public static class NVExternalComputeQueueOverloads + { + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, pCreateInfo, pAllocator, out pExternalQueue.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, pCreateInfo, in pAllocator.GetPinnableReference(), pExternalQueue); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalComputeQueueCreateInfoNV* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, pCreateInfo, in pAllocator.GetPinnableReference(), out pExternalQueue.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, in pCreateInfo.GetPinnableReference(), pAllocator, pExternalQueue); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, in pCreateInfo.GetPinnableReference(), pAllocator, out pExternalQueue.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] ExternalComputeQueueNV* pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pExternalQueue); + } + + /// To be documented. + public static unsafe Result CreateExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pExternalQueue) + { + // SpanOverloader + return thisApi.CreateExternalComputeQueue(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pExternalQueue.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void DestroyExternalComputeQueue(this NVExternalComputeQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator) + { + // SpanOverloader + thisApi.DestroyExternalComputeQueue(device, externalQueue, in pAllocator.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetExternalComputeQueueData(this NVExternalComputeQueue thisApi, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] ExternalComputeQueueDataParamsNV* @params, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + thisApi.GetExternalComputeQueueData(externalQueue, @params, ref pData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetExternalComputeQueueData(this NVExternalComputeQueue thisApi, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] Span @params, [Count(Count = 0)] void* pData) + { + // SpanOverloader + thisApi.GetExternalComputeQueueData(externalQueue, ref @params.GetPinnableReference(), pData); + } + + /// To be documented. + public static unsafe void GetExternalComputeQueueData(this NVExternalComputeQueue thisApi, [Count(Count = 0)] ExternalComputeQueueNV externalQueue, [Count(Count = 0)] Span @params, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + thisApi.GetExternalComputeQueueData(externalQueue, ref @params.GetPinnableReference(), ref pData.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructure.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructure.gen.cs new file mode 100644 index 0000000000..b31509ba1d --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructure.gen.cs @@ -0,0 +1,73 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + [Extension("VK_NV_partitioned_acceleration_structure")] + public unsafe partial class NVPartitionedAccelerationStructure : NativeExtension + { + public const string ExtensionName = "VK_NV_partitioned_acceleration_structure"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBuildPartitionedAccelerationStructuresNV", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdBuildPartitionedAccelerationStructures([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BuildPartitionedAccelerationStructureInfoNV* pBuildInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBuildPartitionedAccelerationStructuresNV", Convention = CallingConvention.Winapi)] + public partial void CmdBuildPartitionedAccelerationStructures([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BuildPartitionedAccelerationStructureInfoNV pBuildInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPartitionedAccelerationStructuresBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PartitionedAccelerationStructureInstancesInputNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + [NativeApi(EntryPoint = "vkGetPartitionedAccelerationStructuresBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PartitionedAccelerationStructureInstancesInputNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetPartitionedAccelerationStructuresBuildSizesNV", Convention = CallingConvention.Winapi)] + public unsafe partial void GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PartitionedAccelerationStructureInstancesInputNV pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + [NativeApi(EntryPoint = "vkGetPartitionedAccelerationStructuresBuildSizesNV", Convention = CallingConvention.Winapi)] + public partial void GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PartitionedAccelerationStructureInstancesInputNV pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public unsafe AccelerationStructureBuildSizesInfoKHR GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PartitionedAccelerationStructureInstancesInputNV* pInfo) + { + // NonKhrReturnTypeOverloader + GetPartitionedAccelerationStructuresBuildSizes(device, pInfo, out AccelerationStructureBuildSizesInfoKHR silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public unsafe AccelerationStructureBuildSizesInfoKHR GetPartitionedAccelerationStructuresBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PartitionedAccelerationStructureInstancesInputNV pInfo) + { + // NonKhrReturnTypeOverloader + GetPartitionedAccelerationStructuresBuildSizes(device, in pInfo, out AccelerationStructureBuildSizesInfoKHR silkRet); + return silkRet; + } + + public NVPartitionedAccelerationStructure(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructureOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructureOverloads.gen.cs new file mode 100644 index 0000000000..90842a0c78 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVPartitionedAccelerationStructureOverloads.gen.cs @@ -0,0 +1,51 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.NV +{ + public static class NVPartitionedAccelerationStructureOverloads + { + /// To be documented. + public static unsafe void CmdBuildPartitionedAccelerationStructures(this NVPartitionedAccelerationStructure thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBuildInfo) + { + // SpanOverloader + thisApi.CmdBuildPartitionedAccelerationStructures(commandBuffer, in pBuildInfo.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public static unsafe void GetPartitionedAccelerationStructuresBuildSizes(this NVPartitionedAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PartitionedAccelerationStructureInstancesInputNV* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSizeInfo) + { + // SpanOverloader + thisApi.GetPartitionedAccelerationStructuresBuildSizes(device, pInfo, out pSizeInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetPartitionedAccelerationStructuresBuildSizes(this NVPartitionedAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo) + { + // SpanOverloader + thisApi.GetPartitionedAccelerationStructuresBuildSizes(device, in pInfo.GetPinnableReference(), pSizeInfo); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] + public static unsafe void GetPartitionedAccelerationStructuresBuildSizes(this NVPartitionedAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSizeInfo) + { + // SpanOverloader + thisApi.GetPartitionedAccelerationStructuresBuildSizes(device, in pInfo.GetPinnableReference(), out pSizeInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs index cac8321e2f..f9b162dfc0 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs @@ -37,6 +37,14 @@ public unsafe partial class NvxImageViewHandle : NativeExtension [NativeApi(EntryPoint = "vkGetImageViewHandleNVX", Convention = CallingConvention.Winapi)] public partial uint GetImageViewHandle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageViewHandleInfoNVX pInfo); + /// To be documented. + [NativeApi(EntryPoint = "vkGetImageViewHandle64NVX", Convention = CallingConvention.Winapi)] + public unsafe partial ulong GetImageViewHandle64([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageViewHandleInfoNVX* pInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetImageViewHandle64NVX", Convention = CallingConvention.Winapi)] + public partial ulong GetImageViewHandle64([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageViewHandleInfoNVX pInfo); + public NvxImageViewHandle(INativeContext ctx) : base(ctx) { diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs index b1263f15ca..f105f1b23e 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs @@ -31,6 +31,13 @@ public static unsafe uint GetImageViewHandle(this NvxImageViewHandle thisApi, [C return thisApi.GetImageViewHandle(device, in pInfo.GetPinnableReference()); } + /// To be documented. + public static unsafe ulong GetImageViewHandle64(this NvxImageViewHandle thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo) + { + // SpanOverloader + return thisApi.GetImageViewHandle64(device, in pInfo.GetPinnableReference()); + } + } } diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurface.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurface.gen.cs new file mode 100644 index 0000000000..8f539e8012 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurface.gen.cs @@ -0,0 +1,61 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.OHOS +{ + [Extension("VK_OHOS_surface")] + public unsafe partial class OhosSurface : NativeExtension + { + public const string ExtensionName = "VK_OHOS_surface"; + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SurfaceKHR pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SurfaceKHR pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SurfaceCreateInfoOHOS pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SurfaceCreateInfoOHOS pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SurfaceKHR pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public unsafe partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SurfaceCreateInfoOHOS pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateSurfaceOHOS", Convention = CallingConvention.Winapi)] + public partial Result CreateSurfaceOhos([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SurfaceCreateInfoOHOS pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SurfaceKHR pSurface); + + public OhosSurface(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurfaceOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurfaceOverloads.gen.cs new file mode 100644 index 0000000000..f84fa35ed0 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/OhosSurfaceOverloads.gen.cs @@ -0,0 +1,70 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.OHOS +{ + public static class OhosSurfaceOverloads + { + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, pCreateInfo, pAllocator, out pSurface.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, pCreateInfo, in pAllocator.GetPinnableReference(), pSurface); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceCreateInfoOHOS* pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, pCreateInfo, in pAllocator.GetPinnableReference(), out pSurface.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, in pCreateInfo.GetPinnableReference(), pAllocator, pSurface); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, in pCreateInfo.GetPinnableReference(), pAllocator, out pSurface.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SurfaceKHR* pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pSurface); + } + + /// To be documented. + public static unsafe Result CreateSurfaceOhos(this OhosSurface thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pSurface) + { + // SpanOverloader + return thisApi.CreateSurfaceOhos(instance, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pSurface.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/Silk.NET.Vulkan.Extensions.OHOS.csproj b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/Silk.NET.Vulkan.Extensions.OHOS.csproj new file mode 100644 index 0000000000..3a6fbc9cc7 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.OHOS/Silk.NET.Vulkan.Extensions.OHOS.csproj @@ -0,0 +1,14 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + 10 + + + + + + + + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeap.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeap.gen.cs new file mode 100644 index 0000000000..78cc3837ee --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeap.gen.cs @@ -0,0 +1,37 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.QCOM +{ + [Extension("VK_QCOM_tile_memory_heap")] + public unsafe partial class QComTileMemoryHeap : NativeExtension + { + public const string ExtensionName = "VK_QCOM_tile_memory_heap"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBindTileMemoryQCOM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdBindTileMemory([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] TileMemoryBindInfoQCOM* pTileMemoryBindInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBindTileMemoryQCOM", Convention = CallingConvention.Winapi)] + public partial void CmdBindTileMemory([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in TileMemoryBindInfoQCOM pTileMemoryBindInfo); + + public QComTileMemoryHeap(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeapOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeapOverloads.gen.cs new file mode 100644 index 0000000000..71967f22db --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileMemoryHeapOverloads.gen.cs @@ -0,0 +1,28 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.QCOM +{ + public static class QComTileMemoryHeapOverloads + { + /// To be documented. + public static unsafe void CmdBindTileMemory(this QComTileMemoryHeap thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTileMemoryBindInfo) + { + // SpanOverloader + thisApi.CmdBindTileMemory(commandBuffer, in pTileMemoryBindInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShading.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShading.gen.cs new file mode 100644 index 0000000000..797dd2bd45 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShading.gen.cs @@ -0,0 +1,53 @@ +// 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.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.QCOM +{ + [Extension("VK_QCOM_tile_shading")] + public unsafe partial class QComTileShading : NativeExtension + { + public const string ExtensionName = "VK_QCOM_tile_shading"; + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBeginPerTileExecutionQCOM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdBeginPerTileExecution([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PerTileBeginInfoQCOM* pPerTileBeginInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBeginPerTileExecutionQCOM", Convention = CallingConvention.Winapi)] + public partial void CmdBeginPerTileExecution([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PerTileBeginInfoQCOM pPerTileBeginInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdDispatchTileQCOM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdDispatchTile([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DispatchTileInfoQCOM* pDispatchTileInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdDispatchTileQCOM", Convention = CallingConvention.Winapi)] + public partial void CmdDispatchTile([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DispatchTileInfoQCOM pDispatchTileInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdEndPerTileExecutionQCOM", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdEndPerTileExecution([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PerTileEndInfoQCOM* pPerTileEndInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdEndPerTileExecutionQCOM", Convention = CallingConvention.Winapi)] + public partial void CmdEndPerTileExecution([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PerTileEndInfoQCOM pPerTileEndInfo); + + public QComTileShading(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShadingOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShadingOverloads.gen.cs new file mode 100644 index 0000000000..faab3e0e43 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.QCOM/QComTileShadingOverloads.gen.cs @@ -0,0 +1,42 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.QCOM +{ + public static class QComTileShadingOverloads + { + /// To be documented. + public static unsafe void CmdBeginPerTileExecution(this QComTileShading thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPerTileBeginInfo) + { + // SpanOverloader + thisApi.CmdBeginPerTileExecution(commandBuffer, in pPerTileBeginInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdDispatchTile(this QComTileShading thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pDispatchTileInfo) + { + // SpanOverloader + thisApi.CmdDispatchTile(commandBuffer, in pDispatchTileInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdEndPerTileExecution(this QComTileShading thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPerTileEndInfo) + { + // SpanOverloader + thisApi.CmdEndPerTileExecution(commandBuffer, in pPerTileEndInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2.gen.cs index 5d8ea7da89..44b3f3dea0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2.gen.cs @@ -16,129 +16,66 @@ public enum AccessFlags2 : long [Obsolete("Deprecated in favour of \"None\"")] [NativeName("Name", "VK_ACCESS_2_NONE")] Access2None = 0, - [Obsolete("Deprecated in favour of \"NoneKhr\"")] - [NativeName("Name", "VK_ACCESS_2_NONE_KHR")] - Access2NoneKhr = 0, [Obsolete("Deprecated in favour of \"IndirectCommandReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT")] Access2IndirectCommandReadBit = 1, - [Obsolete("Deprecated in favour of \"IndirectCommandReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR")] - Access2IndirectCommandReadBitKhr = 1, [Obsolete("Deprecated in favour of \"IndexReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT")] Access2IndexReadBit = 2, - [Obsolete("Deprecated in favour of \"IndexReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT_KHR")] - Access2IndexReadBitKhr = 2, [Obsolete("Deprecated in favour of \"VertexAttributeReadBit\"")] [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT")] Access2VertexAttributeReadBit = 4, - [Obsolete("Deprecated in favour of \"VertexAttributeReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR")] - Access2VertexAttributeReadBitKhr = 4, [Obsolete("Deprecated in favour of \"UniformReadBit\"")] [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT")] Access2UniformReadBit = 8, - [Obsolete("Deprecated in favour of \"UniformReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT_KHR")] - Access2UniformReadBitKhr = 8, [Obsolete("Deprecated in favour of \"InputAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT")] Access2InputAttachmentReadBit = 16, - [Obsolete("Deprecated in favour of \"InputAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR")] - Access2InputAttachmentReadBitKhr = 16, [Obsolete("Deprecated in favour of \"ShaderReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT")] Access2ShaderReadBit = 32, - [Obsolete("Deprecated in favour of \"ShaderReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT_KHR")] - Access2ShaderReadBitKhr = 32, [Obsolete("Deprecated in favour of \"ShaderWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT")] Access2ShaderWriteBit = 64, - [Obsolete("Deprecated in favour of \"ShaderWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT_KHR")] - Access2ShaderWriteBitKhr = 64, [Obsolete("Deprecated in favour of \"ColorAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT")] Access2ColorAttachmentReadBit = 128, - [Obsolete("Deprecated in favour of \"ColorAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR")] - Access2ColorAttachmentReadBitKhr = 128, [Obsolete("Deprecated in favour of \"ColorAttachmentWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT")] Access2ColorAttachmentWriteBit = 256, - [Obsolete("Deprecated in favour of \"ColorAttachmentWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR")] - Access2ColorAttachmentWriteBitKhr = 256, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT")] Access2DepthStencilAttachmentReadBit = 512, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR")] - Access2DepthStencilAttachmentReadBitKhr = 512, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT")] Access2DepthStencilAttachmentWriteBit = 1024, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR")] - Access2DepthStencilAttachmentWriteBitKhr = 1024, [Obsolete("Deprecated in favour of \"TransferReadBit\"")] [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT")] Access2TransferReadBit = 2048, - [Obsolete("Deprecated in favour of \"TransferReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT_KHR")] - Access2TransferReadBitKhr = 2048, [Obsolete("Deprecated in favour of \"TransferWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT")] Access2TransferWriteBit = 4096, - [Obsolete("Deprecated in favour of \"TransferWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR")] - Access2TransferWriteBitKhr = 4096, [Obsolete("Deprecated in favour of \"HostReadBit\"")] [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT")] Access2HostReadBit = 8192, - [Obsolete("Deprecated in favour of \"HostReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT_KHR")] - Access2HostReadBitKhr = 8192, [Obsolete("Deprecated in favour of \"HostWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT")] Access2HostWriteBit = 16384, - [Obsolete("Deprecated in favour of \"HostWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT_KHR")] - Access2HostWriteBitKhr = 16384, [Obsolete("Deprecated in favour of \"MemoryReadBit\"")] [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT")] Access2MemoryReadBit = 32768, - [Obsolete("Deprecated in favour of \"MemoryReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT_KHR")] - Access2MemoryReadBitKhr = 32768, [Obsolete("Deprecated in favour of \"MemoryWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT")] Access2MemoryWriteBit = 65536, - [Obsolete("Deprecated in favour of \"MemoryWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT_KHR")] - Access2MemoryWriteBitKhr = 65536, [Obsolete("Deprecated in favour of \"ShaderSampledReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT")] Access2ShaderSampledReadBit = 4294967296, - [Obsolete("Deprecated in favour of \"ShaderSampledReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR")] - Access2ShaderSampledReadBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"ShaderStorageReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT")] Access2ShaderStorageReadBit = 8589934592, - [Obsolete("Deprecated in favour of \"ShaderStorageReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR")] - Access2ShaderStorageReadBitKhr = 8589934592, [Obsolete("Deprecated in favour of \"ShaderStorageWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT")] Access2ShaderStorageWriteBit = 17179869184, - [Obsolete("Deprecated in favour of \"ShaderStorageWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR")] - Access2ShaderStorageWriteBitKhr = 17179869184, [Obsolete("Deprecated in favour of \"VideoDecodeReadBitKhr\"")] [NativeName("Name", "VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR")] Access2VideoDecodeReadBitKhr = 34359738368, @@ -151,6 +88,12 @@ public enum AccessFlags2 : long [Obsolete("Deprecated in favour of \"VideoEncodeWriteBitKhr\"")] [NativeName("Name", "VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR")] Access2VideoEncodeWriteBitKhr = 274877906944, + [Obsolete("Deprecated in favour of \"ShaderTileAttachmentReadBitQCom\"")] + [NativeName("Name", "VK_ACCESS_2_SHADER_TILE_ATTACHMENT_READ_BIT_QCOM")] + Access2ShaderTileAttachmentReadBitQCom = 2251799813685248, + [Obsolete("Deprecated in favour of \"ShaderTileAttachmentWriteBitQCom\"")] + [NativeName("Name", "VK_ACCESS_2_SHADER_TILE_ATTACHMENT_WRITE_BIT_QCOM")] + Access2ShaderTileAttachmentWriteBitQCom = 4503599627370496, [Obsolete("Deprecated in favour of \"TransformFeedbackWriteBitExt\"")] [NativeName("Name", "VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT")] Access2TransformFeedbackWriteBitExt = 33554432, @@ -220,90 +163,54 @@ public enum AccessFlags2 : long [Obsolete("Deprecated in favour of \"OpticalFlowWriteBitNV\"")] [NativeName("Name", "VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV")] Access2OpticalFlowWriteBitNV = 8796093022208, + [Obsolete("Deprecated in favour of \"DataGraphReadBitArm\"")] + [NativeName("Name", "VK_ACCESS_2_DATA_GRAPH_READ_BIT_ARM")] + Access2DataGraphReadBitArm = 140737488355328, + [Obsolete("Deprecated in favour of \"DataGraphWriteBitArm\"")] + [NativeName("Name", "VK_ACCESS_2_DATA_GRAPH_WRITE_BIT_ARM")] + Access2DataGraphWriteBitArm = 281474976710656, [NativeName("Name", "VK_ACCESS_2_NONE")] None = 0, - [NativeName("Name", "VK_ACCESS_2_NONE_KHR")] - NoneKhr = 0, [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT")] IndirectCommandReadBit = 1, - [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR")] - IndirectCommandReadBitKhr = 1, [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT")] IndexReadBit = 2, - [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT_KHR")] - IndexReadBitKhr = 2, [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT")] VertexAttributeReadBit = 4, - [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR")] - VertexAttributeReadBitKhr = 4, [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT")] UniformReadBit = 8, - [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT_KHR")] - UniformReadBitKhr = 8, [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT")] InputAttachmentReadBit = 16, - [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR")] - InputAttachmentReadBitKhr = 16, [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT")] ShaderReadBit = 32, - [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT_KHR")] - ShaderReadBitKhr = 32, [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT")] ShaderWriteBit = 64, - [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT_KHR")] - ShaderWriteBitKhr = 64, [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT")] ColorAttachmentReadBit = 128, - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR")] - ColorAttachmentReadBitKhr = 128, [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT")] ColorAttachmentWriteBit = 256, - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR")] - ColorAttachmentWriteBitKhr = 256, [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT")] DepthStencilAttachmentReadBit = 512, - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR")] - DepthStencilAttachmentReadBitKhr = 512, [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT")] DepthStencilAttachmentWriteBit = 1024, - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR")] - DepthStencilAttachmentWriteBitKhr = 1024, [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT")] TransferReadBit = 2048, - [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT_KHR")] - TransferReadBitKhr = 2048, [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT")] TransferWriteBit = 4096, - [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR")] - TransferWriteBitKhr = 4096, [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT")] HostReadBit = 8192, - [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT_KHR")] - HostReadBitKhr = 8192, [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT")] HostWriteBit = 16384, - [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT_KHR")] - HostWriteBitKhr = 16384, [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT")] MemoryReadBit = 32768, - [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT_KHR")] - MemoryReadBitKhr = 32768, [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT")] MemoryWriteBit = 65536, - [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT_KHR")] - MemoryWriteBitKhr = 65536, [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT")] ShaderSampledReadBit = 4294967296, - [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR")] - ShaderSampledReadBitKhr = 4294967296, [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT")] ShaderStorageReadBit = 8589934592, - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR")] - ShaderStorageReadBitKhr = 8589934592, [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT")] ShaderStorageWriteBit = 17179869184, - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR")] - ShaderStorageWriteBitKhr = 17179869184, [NativeName("Name", "VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR")] VideoDecodeReadBitKhr = 34359738368, [NativeName("Name", "VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR")] @@ -312,6 +219,10 @@ public enum AccessFlags2 : long VideoEncodeReadBitKhr = 137438953472, [NativeName("Name", "VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR")] VideoEncodeWriteBitKhr = 274877906944, + [NativeName("Name", "VK_ACCESS_2_SHADER_TILE_ATTACHMENT_READ_BIT_QCOM")] + ShaderTileAttachmentReadBitQCom = 2251799813685248, + [NativeName("Name", "VK_ACCESS_2_SHADER_TILE_ATTACHMENT_WRITE_BIT_QCOM")] + ShaderTileAttachmentWriteBitQCom = 4503599627370496, [NativeName("Name", "VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT")] TransformFeedbackWriteBitExt = 33554432, [NativeName("Name", "VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT")] @@ -358,5 +269,9 @@ public enum AccessFlags2 : long OpticalFlowReadBitNV = 4398046511104, [NativeName("Name", "VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV")] OpticalFlowWriteBitNV = 8796093022208, + [NativeName("Name", "VK_ACCESS_2_DATA_GRAPH_READ_BIT_ARM")] + DataGraphReadBitArm = 140737488355328, + [NativeName("Name", "VK_ACCESS_2_DATA_GRAPH_WRITE_BIT_ARM")] + DataGraphWriteBitArm = 281474976710656, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs index 53b68a7f71..11e383a6bb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs @@ -16,212 +16,107 @@ public enum AccessFlags2KHR : long [Obsolete("Deprecated in favour of \"None\"")] [NativeName("Name", "VK_ACCESS_2_NONE")] Access2None = 0, - [Obsolete("Deprecated in favour of \"NoneKhr\"")] - [NativeName("Name", "VK_ACCESS_2_NONE_KHR")] - Access2NoneKhr = 0, [Obsolete("Deprecated in favour of \"IndirectCommandReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT")] Access2IndirectCommandReadBit = 1, - [Obsolete("Deprecated in favour of \"IndirectCommandReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR")] - Access2IndirectCommandReadBitKhr = 1, [Obsolete("Deprecated in favour of \"IndexReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT")] Access2IndexReadBit = 2, - [Obsolete("Deprecated in favour of \"IndexReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT_KHR")] - Access2IndexReadBitKhr = 2, [Obsolete("Deprecated in favour of \"VertexAttributeReadBit\"")] [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT")] Access2VertexAttributeReadBit = 4, - [Obsolete("Deprecated in favour of \"VertexAttributeReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR")] - Access2VertexAttributeReadBitKhr = 4, [Obsolete("Deprecated in favour of \"UniformReadBit\"")] [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT")] Access2UniformReadBit = 8, - [Obsolete("Deprecated in favour of \"UniformReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT_KHR")] - Access2UniformReadBitKhr = 8, [Obsolete("Deprecated in favour of \"InputAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT")] Access2InputAttachmentReadBit = 16, - [Obsolete("Deprecated in favour of \"InputAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR")] - Access2InputAttachmentReadBitKhr = 16, [Obsolete("Deprecated in favour of \"ShaderReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT")] Access2ShaderReadBit = 32, - [Obsolete("Deprecated in favour of \"ShaderReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT_KHR")] - Access2ShaderReadBitKhr = 32, [Obsolete("Deprecated in favour of \"ShaderWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT")] Access2ShaderWriteBit = 64, - [Obsolete("Deprecated in favour of \"ShaderWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT_KHR")] - Access2ShaderWriteBitKhr = 64, [Obsolete("Deprecated in favour of \"ColorAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT")] Access2ColorAttachmentReadBit = 128, - [Obsolete("Deprecated in favour of \"ColorAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR")] - Access2ColorAttachmentReadBitKhr = 128, [Obsolete("Deprecated in favour of \"ColorAttachmentWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT")] Access2ColorAttachmentWriteBit = 256, - [Obsolete("Deprecated in favour of \"ColorAttachmentWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR")] - Access2ColorAttachmentWriteBitKhr = 256, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentReadBit\"")] [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT")] Access2DepthStencilAttachmentReadBit = 512, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR")] - Access2DepthStencilAttachmentReadBitKhr = 512, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT")] Access2DepthStencilAttachmentWriteBit = 1024, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR")] - Access2DepthStencilAttachmentWriteBitKhr = 1024, [Obsolete("Deprecated in favour of \"TransferReadBit\"")] [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT")] Access2TransferReadBit = 2048, - [Obsolete("Deprecated in favour of \"TransferReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT_KHR")] - Access2TransferReadBitKhr = 2048, [Obsolete("Deprecated in favour of \"TransferWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT")] Access2TransferWriteBit = 4096, - [Obsolete("Deprecated in favour of \"TransferWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR")] - Access2TransferWriteBitKhr = 4096, [Obsolete("Deprecated in favour of \"HostReadBit\"")] [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT")] Access2HostReadBit = 8192, - [Obsolete("Deprecated in favour of \"HostReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT_KHR")] - Access2HostReadBitKhr = 8192, [Obsolete("Deprecated in favour of \"HostWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT")] Access2HostWriteBit = 16384, - [Obsolete("Deprecated in favour of \"HostWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT_KHR")] - Access2HostWriteBitKhr = 16384, [Obsolete("Deprecated in favour of \"MemoryReadBit\"")] [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT")] Access2MemoryReadBit = 32768, - [Obsolete("Deprecated in favour of \"MemoryReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT_KHR")] - Access2MemoryReadBitKhr = 32768, [Obsolete("Deprecated in favour of \"MemoryWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT")] Access2MemoryWriteBit = 65536, - [Obsolete("Deprecated in favour of \"MemoryWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT_KHR")] - Access2MemoryWriteBitKhr = 65536, [Obsolete("Deprecated in favour of \"ShaderSampledReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT")] Access2ShaderSampledReadBit = 4294967296, - [Obsolete("Deprecated in favour of \"ShaderSampledReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR")] - Access2ShaderSampledReadBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"ShaderStorageReadBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT")] Access2ShaderStorageReadBit = 8589934592, - [Obsolete("Deprecated in favour of \"ShaderStorageReadBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR")] - Access2ShaderStorageReadBitKhr = 8589934592, [Obsolete("Deprecated in favour of \"ShaderStorageWriteBit\"")] [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT")] Access2ShaderStorageWriteBit = 17179869184, - [Obsolete("Deprecated in favour of \"ShaderStorageWriteBitKhr\"")] - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR")] - Access2ShaderStorageWriteBitKhr = 17179869184, [NativeName("Name", "VK_ACCESS_2_NONE")] None = 0, - [NativeName("Name", "VK_ACCESS_2_NONE_KHR")] - NoneKhr = 0, [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT")] IndirectCommandReadBit = 1, - [NativeName("Name", "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR")] - IndirectCommandReadBitKhr = 1, [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT")] IndexReadBit = 2, - [NativeName("Name", "VK_ACCESS_2_INDEX_READ_BIT_KHR")] - IndexReadBitKhr = 2, [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT")] VertexAttributeReadBit = 4, - [NativeName("Name", "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR")] - VertexAttributeReadBitKhr = 4, [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT")] UniformReadBit = 8, - [NativeName("Name", "VK_ACCESS_2_UNIFORM_READ_BIT_KHR")] - UniformReadBitKhr = 8, [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT")] InputAttachmentReadBit = 16, - [NativeName("Name", "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR")] - InputAttachmentReadBitKhr = 16, [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT")] ShaderReadBit = 32, - [NativeName("Name", "VK_ACCESS_2_SHADER_READ_BIT_KHR")] - ShaderReadBitKhr = 32, [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT")] ShaderWriteBit = 64, - [NativeName("Name", "VK_ACCESS_2_SHADER_WRITE_BIT_KHR")] - ShaderWriteBitKhr = 64, [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT")] ColorAttachmentReadBit = 128, - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR")] - ColorAttachmentReadBitKhr = 128, [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT")] ColorAttachmentWriteBit = 256, - [NativeName("Name", "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR")] - ColorAttachmentWriteBitKhr = 256, [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT")] DepthStencilAttachmentReadBit = 512, - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR")] - DepthStencilAttachmentReadBitKhr = 512, [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT")] DepthStencilAttachmentWriteBit = 1024, - [NativeName("Name", "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR")] - DepthStencilAttachmentWriteBitKhr = 1024, [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT")] TransferReadBit = 2048, - [NativeName("Name", "VK_ACCESS_2_TRANSFER_READ_BIT_KHR")] - TransferReadBitKhr = 2048, [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT")] TransferWriteBit = 4096, - [NativeName("Name", "VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR")] - TransferWriteBitKhr = 4096, [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT")] HostReadBit = 8192, - [NativeName("Name", "VK_ACCESS_2_HOST_READ_BIT_KHR")] - HostReadBitKhr = 8192, [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT")] HostWriteBit = 16384, - [NativeName("Name", "VK_ACCESS_2_HOST_WRITE_BIT_KHR")] - HostWriteBitKhr = 16384, [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT")] MemoryReadBit = 32768, - [NativeName("Name", "VK_ACCESS_2_MEMORY_READ_BIT_KHR")] - MemoryReadBitKhr = 32768, [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT")] MemoryWriteBit = 65536, - [NativeName("Name", "VK_ACCESS_2_MEMORY_WRITE_BIT_KHR")] - MemoryWriteBitKhr = 65536, [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT")] ShaderSampledReadBit = 4294967296, - [NativeName("Name", "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR")] - ShaderSampledReadBitKhr = 4294967296, [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT")] ShaderStorageReadBit = 8589934592, - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR")] - ShaderStorageReadBitKhr = 8589934592, [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT")] ShaderStorageWriteBit = 17179869184, - [NativeName("Name", "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR")] - ShaderStorageWriteBitKhr = 17179869184, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags3KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags3KHR.gen.cs new file mode 100644 index 0000000000..c672d8eb6e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags3KHR.gen.cs @@ -0,0 +1,19 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkAccessFlags3KHR")] + public enum AccessFlags3KHR : long + { + [NativeName("Name", "VK_ACCESS_3_NONE_KHR")] + Access3NoneKhr = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/AttachmentLoadOp.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/AttachmentLoadOp.gen.cs index 878f8edbbf..fdc3e1d8eb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/AttachmentLoadOp.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/AttachmentLoadOp.gen.cs @@ -9,7 +9,6 @@ namespace Silk.NET.Vulkan { - [Flags] [NativeName("Name", "VkAttachmentLoadOp")] public enum AttachmentLoadOp : int { @@ -23,5 +22,7 @@ public enum AttachmentLoadOp : int NoneExt = 1000400000, [NativeName("Name", "VK_ATTACHMENT_LOAD_OP_NONE_KHR")] NoneKhr = 1000400000, + [NativeName("Name", "VK_ATTACHMENT_LOAD_OP_NONE")] + None = 1000400000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags.gen.cs index 1c9f5cd15b..30de4d32d7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags.gen.cs @@ -99,6 +99,9 @@ public enum BufferUsageFlags : int [Obsolete("Deprecated in favour of \"MicromapStorageBitExt\"")] [NativeName("Name", "VK_BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT")] BufferUsageMicromapStorageBitExt = 16777216, + [Obsolete("Deprecated in favour of \"TileMemoryBitQCom\"")] + [NativeName("Name", "VK_BUFFER_USAGE_TILE_MEMORY_BIT_QCOM")] + BufferUsageTileMemoryBitQCom = 134217728, [Obsolete("Deprecated in favour of \"ShaderDeviceAddressBit\"")] [NativeName("Name", "VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT")] BufferUsageShaderDeviceAddressBit = 131072, @@ -158,6 +161,8 @@ public enum BufferUsageFlags : int MicromapBuildInputReadOnlyBitExt = 8388608, [NativeName("Name", "VK_BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT")] MicromapStorageBitExt = 16777216, + [NativeName("Name", "VK_BUFFER_USAGE_TILE_MEMORY_BIT_QCOM")] + TileMemoryBitQCom = 134217728, [NativeName("Name", "VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT")] ShaderDeviceAddressBit = 131072, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2.gen.cs new file mode 100644 index 0000000000..aabb82b9b7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2.gen.cs @@ -0,0 +1,179 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkBufferUsageFlags2")] + public enum BufferUsageFlags2 : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"TransferSrcBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT")] + BufferUsage2TransferSrcBit = 1, + [Obsolete("Deprecated in favour of \"TransferDstBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT")] + BufferUsage2TransferDstBit = 2, + [Obsolete("Deprecated in favour of \"UniformTexelBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT")] + BufferUsage2UniformTexelBufferBit = 4, + [Obsolete("Deprecated in favour of \"StorageTexelBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT")] + BufferUsage2StorageTexelBufferBit = 8, + [Obsolete("Deprecated in favour of \"UniformBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT")] + BufferUsage2UniformBufferBit = 16, + [Obsolete("Deprecated in favour of \"StorageBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT")] + BufferUsage2StorageBufferBit = 32, + [Obsolete("Deprecated in favour of \"IndexBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT")] + BufferUsage2IndexBufferBit = 64, + [Obsolete("Deprecated in favour of \"VertexBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT")] + BufferUsage2VertexBufferBit = 128, + [Obsolete("Deprecated in favour of \"IndirectBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT")] + BufferUsage2IndirectBufferBit = 256, + [Obsolete("Deprecated in favour of \"ExecutionGraphScratchBitAmdx\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")] + BufferUsage2ExecutionGraphScratchBitAmdx = 33554432, + [Obsolete("Deprecated in favour of \"ConditionalRenderingBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT")] + BufferUsage2ConditionalRenderingBitExt = 512, + [Obsolete("Deprecated in favour of \"ShaderBindingTableBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR")] + BufferUsage2ShaderBindingTableBitKhr = 1024, + [Obsolete("Deprecated in favour of \"RayTracingBitNV\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV")] + BufferUsage2RayTracingBitNV = 1024, + [Obsolete("Deprecated in favour of \"TransformFeedbackBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT")] + BufferUsage2TransformFeedbackBufferBitExt = 2048, + [Obsolete("Deprecated in favour of \"TransformFeedbackCounterBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT")] + BufferUsage2TransformFeedbackCounterBufferBitExt = 4096, + [Obsolete("Deprecated in favour of \"VideoDecodeSrcBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR")] + BufferUsage2VideoDecodeSrcBitKhr = 8192, + [Obsolete("Deprecated in favour of \"VideoDecodeDstBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR")] + BufferUsage2VideoDecodeDstBitKhr = 16384, + [Obsolete("Deprecated in favour of \"VideoEncodeDstBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR")] + BufferUsage2VideoEncodeDstBitKhr = 32768, + [Obsolete("Deprecated in favour of \"VideoEncodeSrcBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR")] + BufferUsage2VideoEncodeSrcBitKhr = 65536, + [Obsolete("Deprecated in favour of \"ShaderDeviceAddressBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR")] + BufferUsage2ShaderDeviceAddressBitKhr = 131072, + [Obsolete("Deprecated in favour of \"AccelerationStructureBuildInputReadOnlyBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")] + BufferUsage2AccelerationStructureBuildInputReadOnlyBitKhr = 524288, + [Obsolete("Deprecated in favour of \"AccelerationStructureStorageBitKhr\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR")] + BufferUsage2AccelerationStructureStorageBitKhr = 1048576, + [Obsolete("Deprecated in favour of \"SamplerDescriptorBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT")] + BufferUsage2SamplerDescriptorBufferBitExt = 2097152, + [Obsolete("Deprecated in favour of \"ResourceDescriptorBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT")] + BufferUsage2ResourceDescriptorBufferBitExt = 4194304, + [Obsolete("Deprecated in favour of \"PushDescriptorsDescriptorBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT")] + BufferUsage2PushDescriptorsDescriptorBufferBitExt = 67108864, + [Obsolete("Deprecated in favour of \"MicromapBuildInputReadOnlyBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] + BufferUsage2MicromapBuildInputReadOnlyBitExt = 8388608, + [Obsolete("Deprecated in favour of \"MicromapStorageBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] + BufferUsage2MicromapStorageBitExt = 16777216, + [Obsolete("Deprecated in favour of \"CompressedDataDgf1BitAmdx\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX")] + BufferUsage2CompressedDataDgf1BitAmdx = 8589934592, + [Obsolete("Deprecated in favour of \"DataGraphForeignDescriptorBitArm\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM")] + BufferUsage2DataGraphForeignDescriptorBitArm = 536870912, + [Obsolete("Deprecated in favour of \"TileMemoryBitQCom\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TILE_MEMORY_BIT_QCOM")] + BufferUsage2TileMemoryBitQCom = 134217728, + [Obsolete("Deprecated in favour of \"PreprocessBufferBitExt\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT")] + BufferUsage2PreprocessBufferBitExt = 2147483648, + [Obsolete("Deprecated in favour of \"ShaderDeviceAddressBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT")] + BufferUsage2ShaderDeviceAddressBit = 131072, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT")] + TransferSrcBit = 1, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT")] + TransferDstBit = 2, + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT")] + UniformTexelBufferBit = 4, + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT")] + StorageTexelBufferBit = 8, + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT")] + UniformBufferBit = 16, + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT")] + StorageBufferBit = 32, + [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT")] + IndexBufferBit = 64, + [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT")] + VertexBufferBit = 128, + [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT")] + IndirectBufferBit = 256, + [NativeName("Name", "VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")] + ExecutionGraphScratchBitAmdx = 33554432, + [NativeName("Name", "VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT")] + ConditionalRenderingBitExt = 512, + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR")] + ShaderBindingTableBitKhr = 1024, + [NativeName("Name", "VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV")] + RayTracingBitNV = 1024, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT")] + TransformFeedbackBufferBitExt = 2048, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT")] + TransformFeedbackCounterBufferBitExt = 4096, + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR")] + VideoDecodeSrcBitKhr = 8192, + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR")] + VideoDecodeDstBitKhr = 16384, + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR")] + VideoEncodeDstBitKhr = 32768, + [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR")] + VideoEncodeSrcBitKhr = 65536, + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR")] + ShaderDeviceAddressBitKhr = 131072, + [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")] + AccelerationStructureBuildInputReadOnlyBitKhr = 524288, + [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR")] + AccelerationStructureStorageBitKhr = 1048576, + [NativeName("Name", "VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT")] + SamplerDescriptorBufferBitExt = 2097152, + [NativeName("Name", "VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT")] + ResourceDescriptorBufferBitExt = 4194304, + [NativeName("Name", "VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT")] + PushDescriptorsDescriptorBufferBitExt = 67108864, + [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] + MicromapBuildInputReadOnlyBitExt = 8388608, + [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] + MicromapStorageBitExt = 16777216, + [NativeName("Name", "VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX")] + CompressedDataDgf1BitAmdx = 8589934592, + [NativeName("Name", "VK_BUFFER_USAGE_2_DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM")] + DataGraphForeignDescriptorBitArm = 536870912, + [NativeName("Name", "VK_BUFFER_USAGE_2_TILE_MEMORY_BIT_QCOM")] + TileMemoryBitQCom = 134217728, + [NativeName("Name", "VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT")] + PreprocessBufferBitExt = 2147483648, + [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT")] + ShaderDeviceAddressBit = 131072, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2KHR.gen.cs index 6d1653b39b..a09646c01d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags2KHR.gen.cs @@ -15,145 +15,50 @@ public enum BufferUsageFlags2KHR : long { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"TransferSrcBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR")] - BufferUsage2TransferSrcBitKhr = 1, - [Obsolete("Deprecated in favour of \"TransferDstBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR")] - BufferUsage2TransferDstBitKhr = 2, - [Obsolete("Deprecated in favour of \"UniformTexelBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - BufferUsage2UniformTexelBufferBitKhr = 4, - [Obsolete("Deprecated in favour of \"StorageTexelBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - BufferUsage2StorageTexelBufferBitKhr = 8, - [Obsolete("Deprecated in favour of \"UniformBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR")] - BufferUsage2UniformBufferBitKhr = 16, - [Obsolete("Deprecated in favour of \"StorageBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR")] - BufferUsage2StorageBufferBitKhr = 32, - [Obsolete("Deprecated in favour of \"IndexBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR")] - BufferUsage2IndexBufferBitKhr = 64, - [Obsolete("Deprecated in favour of \"VertexBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR")] - BufferUsage2VertexBufferBitKhr = 128, - [Obsolete("Deprecated in favour of \"IndirectBufferBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR")] - BufferUsage2IndirectBufferBitKhr = 256, - [Obsolete("Deprecated in favour of \"ExecutionGraphScratchBitAmdx\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")] - BufferUsage2ExecutionGraphScratchBitAmdx = 33554432, - [Obsolete("Deprecated in favour of \"ConditionalRenderingBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT")] - BufferUsage2ConditionalRenderingBitExt = 512, - [Obsolete("Deprecated in favour of \"ShaderBindingTableBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR")] - BufferUsage2ShaderBindingTableBitKhr = 1024, - [Obsolete("Deprecated in favour of \"RayTracingBitNV\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV")] - BufferUsage2RayTracingBitNV = 1024, - [Obsolete("Deprecated in favour of \"TransformFeedbackBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT")] - BufferUsage2TransformFeedbackBufferBitExt = 2048, - [Obsolete("Deprecated in favour of \"TransformFeedbackCounterBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT")] - BufferUsage2TransformFeedbackCounterBufferBitExt = 4096, - [Obsolete("Deprecated in favour of \"VideoDecodeSrcBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR")] - BufferUsage2VideoDecodeSrcBitKhr = 8192, - [Obsolete("Deprecated in favour of \"VideoDecodeDstBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR")] - BufferUsage2VideoDecodeDstBitKhr = 16384, - [Obsolete("Deprecated in favour of \"VideoEncodeDstBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR")] - BufferUsage2VideoEncodeDstBitKhr = 32768, - [Obsolete("Deprecated in favour of \"VideoEncodeSrcBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR")] - BufferUsage2VideoEncodeSrcBitKhr = 65536, - [Obsolete("Deprecated in favour of \"ShaderDeviceAddressBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR")] - BufferUsage2ShaderDeviceAddressBitKhr = 131072, - [Obsolete("Deprecated in favour of \"AccelerationStructureBuildInputReadOnlyBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")] - BufferUsage2AccelerationStructureBuildInputReadOnlyBitKhr = 524288, - [Obsolete("Deprecated in favour of \"AccelerationStructureStorageBitKhr\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR")] - BufferUsage2AccelerationStructureStorageBitKhr = 1048576, - [Obsolete("Deprecated in favour of \"SamplerDescriptorBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT")] - BufferUsage2SamplerDescriptorBufferBitExt = 2097152, - [Obsolete("Deprecated in favour of \"ResourceDescriptorBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT")] - BufferUsage2ResourceDescriptorBufferBitExt = 4194304, - [Obsolete("Deprecated in favour of \"PushDescriptorsDescriptorBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT")] - BufferUsage2PushDescriptorsDescriptorBufferBitExt = 67108864, - [Obsolete("Deprecated in favour of \"MicromapBuildInputReadOnlyBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] - BufferUsage2MicromapBuildInputReadOnlyBitExt = 8388608, - [Obsolete("Deprecated in favour of \"MicromapStorageBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] - BufferUsage2MicromapStorageBitExt = 16777216, - [Obsolete("Deprecated in favour of \"PreprocessBufferBitExt\"")] - [NativeName("Name", "VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT")] - BufferUsage2PreprocessBufferBitExt = 2147483648, - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR")] - TransferSrcBitKhr = 1, - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR")] - TransferDstBitKhr = 2, - [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - UniformTexelBufferBitKhr = 4, - [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - StorageTexelBufferBitKhr = 8, - [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR")] - UniformBufferBitKhr = 16, - [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR")] - StorageBufferBitKhr = 32, - [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR")] - IndexBufferBitKhr = 64, - [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR")] - VertexBufferBitKhr = 128, - [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR")] - IndirectBufferBitKhr = 256, - [NativeName("Name", "VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")] - ExecutionGraphScratchBitAmdx = 33554432, - [NativeName("Name", "VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT")] - ConditionalRenderingBitExt = 512, - [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR")] - ShaderBindingTableBitKhr = 1024, - [NativeName("Name", "VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV")] - RayTracingBitNV = 1024, - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT")] - TransformFeedbackBufferBitExt = 2048, - [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT")] - TransformFeedbackCounterBufferBitExt = 4096, - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR")] - VideoDecodeSrcBitKhr = 8192, - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR")] - VideoDecodeDstBitKhr = 16384, - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR")] - VideoEncodeDstBitKhr = 32768, - [NativeName("Name", "VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR")] - VideoEncodeSrcBitKhr = 65536, - [NativeName("Name", "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR")] - ShaderDeviceAddressBitKhr = 131072, - [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")] - AccelerationStructureBuildInputReadOnlyBitKhr = 524288, - [NativeName("Name", "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR")] - AccelerationStructureStorageBitKhr = 1048576, - [NativeName("Name", "VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT")] - SamplerDescriptorBufferBitExt = 2097152, - [NativeName("Name", "VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT")] - ResourceDescriptorBufferBitExt = 4194304, - [NativeName("Name", "VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT")] - PushDescriptorsDescriptorBufferBitExt = 67108864, - [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] - MicromapBuildInputReadOnlyBitExt = 8388608, - [NativeName("Name", "VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] - MicromapStorageBitExt = 16777216, - [NativeName("Name", "VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT")] - PreprocessBufferBitExt = 2147483648, + [Obsolete("Deprecated in favour of \"TransferSrcBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT")] + BufferUsage2TransferSrcBit = 1, + [Obsolete("Deprecated in favour of \"TransferDstBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT")] + BufferUsage2TransferDstBit = 2, + [Obsolete("Deprecated in favour of \"UniformTexelBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT")] + BufferUsage2UniformTexelBufferBit = 4, + [Obsolete("Deprecated in favour of \"StorageTexelBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT")] + BufferUsage2StorageTexelBufferBit = 8, + [Obsolete("Deprecated in favour of \"UniformBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT")] + BufferUsage2UniformBufferBit = 16, + [Obsolete("Deprecated in favour of \"StorageBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT")] + BufferUsage2StorageBufferBit = 32, + [Obsolete("Deprecated in favour of \"IndexBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT")] + BufferUsage2IndexBufferBit = 64, + [Obsolete("Deprecated in favour of \"VertexBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT")] + BufferUsage2VertexBufferBit = 128, + [Obsolete("Deprecated in favour of \"IndirectBufferBit\"")] + [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT")] + BufferUsage2IndirectBufferBit = 256, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT")] + TransferSrcBit = 1, + [NativeName("Name", "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT")] + TransferDstBit = 2, + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT")] + UniformTexelBufferBit = 4, + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT")] + StorageTexelBufferBit = 8, + [NativeName("Name", "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT")] + UniformBufferBit = 16, + [NativeName("Name", "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT")] + StorageBufferBit = 32, + [NativeName("Name", "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT")] + IndexBufferBit = 64, + [NativeName("Name", "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT")] + VertexBufferBit = 128, + [NativeName("Name", "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT")] + IndirectBufferBit = 256, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/BuildAccelerationStructureFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/BuildAccelerationStructureFlagsKHR.gen.cs index 59f38159e1..ddb9496660 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/BuildAccelerationStructureFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/BuildAccelerationStructureFlagsKHR.gen.cs @@ -33,21 +33,39 @@ public enum BuildAccelerationStructureFlagsKHR : int [Obsolete("Deprecated in favour of \"MotionBitNV\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV")] BuildAccelerationStructureMotionBitNV = 32, + [Obsolete("Deprecated in favour of \"AllowOpacityMicromapUpdateBitExt\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT")] + BuildAccelerationStructureAllowOpacityMicromapUpdateBitExt = 64, [Obsolete("Deprecated in favour of \"AllowOpacityMicromapUpdateExt\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT")] BuildAccelerationStructureAllowOpacityMicromapUpdateExt = 64, + [Obsolete("Deprecated in favour of \"AllowDisableOpacityMicromapsBitExt\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + BuildAccelerationStructureAllowDisableOpacityMicromapsBitExt = 128, [Obsolete("Deprecated in favour of \"AllowDisableOpacityMicromapsExt\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT")] BuildAccelerationStructureAllowDisableOpacityMicromapsExt = 128, + [Obsolete("Deprecated in favour of \"AllowOpacityMicromapDataUpdateBitExt\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT")] + BuildAccelerationStructureAllowOpacityMicromapDataUpdateBitExt = 256, [Obsolete("Deprecated in favour of \"AllowOpacityMicromapDataUpdateExt\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT")] BuildAccelerationStructureAllowOpacityMicromapDataUpdateExt = 256, + [Obsolete("Deprecated in favour of \"AllowDisplacementMicromapUpdateBitNV\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV")] + BuildAccelerationStructureAllowDisplacementMicromapUpdateBitNV = 512, [Obsolete("Deprecated in favour of \"AllowDisplacementMicromapUpdateNV\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV")] BuildAccelerationStructureAllowDisplacementMicromapUpdateNV = 512, + [Obsolete("Deprecated in favour of \"AllowDataAccessBitKhr\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_BIT_KHR")] + BuildAccelerationStructureAllowDataAccessBitKhr = 2048, [Obsolete("Deprecated in favour of \"AllowDataAccessKhr\"")] [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR")] BuildAccelerationStructureAllowDataAccessKhr = 2048, + [Obsolete("Deprecated in favour of \"AllowClusterOpacityMicromapsBitNV\"")] + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_CLUSTER_OPACITY_MICROMAPS_BIT_NV")] + BuildAccelerationStructureAllowClusterOpacityMicromapsBitNV = 4096, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR")] AllowUpdateBitKhr = 1, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR")] @@ -60,15 +78,27 @@ public enum BuildAccelerationStructureFlagsKHR : int LowMemoryBitKhr = 16, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV")] MotionBitNV = 32, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT")] + AllowOpacityMicromapUpdateBitExt = 64, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT")] AllowOpacityMicromapUpdateExt = 64, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + AllowDisableOpacityMicromapsBitExt = 128, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT")] AllowDisableOpacityMicromapsExt = 128, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT")] + AllowOpacityMicromapDataUpdateBitExt = 256, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT")] AllowOpacityMicromapDataUpdateExt = 256, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV")] + AllowDisplacementMicromapUpdateBitNV = 512, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV")] AllowDisplacementMicromapUpdateNV = 512, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_BIT_KHR")] + AllowDataAccessBitKhr = 2048, [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR")] AllowDataAccessKhr = 2048, + [NativeName("Name", "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_CLUSTER_OPACITY_MICROMAPS_BIT_NV")] + AllowClusterOpacityMicromapsBitNV = 4096, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureAddressResolutionFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureAddressResolutionFlagsNV.gen.cs new file mode 100644 index 0000000000..376b46dcb6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureAddressResolutionFlagsNV.gen.cs @@ -0,0 +1,52 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkClusterAccelerationStructureAddressResolutionFlagsNV")] + public enum ClusterAccelerationStructureAddressResolutionFlagsNV : int + { + [Obsolete("Deprecated in favour of \"NoneNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_NONE_NV")] + ClusterAccelerationStructureAddressResolutionNoneNV = 0, + [Obsolete("Deprecated in favour of \"IndirectedDstImplicitDataBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_IMPLICIT_DATA_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedDstImplicitDataBitNV = 1, + [Obsolete("Deprecated in favour of \"IndirectedScratchDataBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SCRATCH_DATA_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedScratchDataBitNV = 2, + [Obsolete("Deprecated in favour of \"IndirectedDstAddressArrayBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_ADDRESS_ARRAY_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedDstAddressArrayBitNV = 4, + [Obsolete("Deprecated in favour of \"IndirectedDstSizesArrayBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_SIZES_ARRAY_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedDstSizesArrayBitNV = 8, + [Obsolete("Deprecated in favour of \"IndirectedSrcInfosArrayBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SRC_INFOS_ARRAY_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedSrcInfosArrayBitNV = 16, + [Obsolete("Deprecated in favour of \"IndirectedSrcInfosCountBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SRC_INFOS_COUNT_BIT_NV")] + ClusterAccelerationStructureAddressResolutionIndirectedSrcInfosCountBitNV = 32, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_NONE_NV")] + NoneNV = 0, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_IMPLICIT_DATA_BIT_NV")] + IndirectedDstImplicitDataBitNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SCRATCH_DATA_BIT_NV")] + IndirectedScratchDataBitNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_ADDRESS_ARRAY_BIT_NV")] + IndirectedDstAddressArrayBitNV = 4, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_DST_SIZES_ARRAY_BIT_NV")] + IndirectedDstSizesArrayBitNV = 8, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SRC_INFOS_ARRAY_BIT_NV")] + IndirectedSrcInfosArrayBitNV = 16, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_ADDRESS_RESOLUTION_INDIRECTED_SRC_INFOS_COUNT_BIT_NV")] + IndirectedSrcInfosCountBitNV = 32, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureClusterFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureClusterFlagsNV.gen.cs new file mode 100644 index 0000000000..0021dff912 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureClusterFlagsNV.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkClusterAccelerationStructureClusterFlagsNV")] + public enum ClusterAccelerationStructureClusterFlagsNV : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"AllowDisableOpacityMicromapsNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_CLUSTER_ALLOW_DISABLE_OPACITY_MICROMAPS_NV")] + ClusterAccelerationStructureClusterAllowDisableOpacityMicromapsNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_CLUSTER_ALLOW_DISABLE_OPACITY_MICROMAPS_NV")] + AllowDisableOpacityMicromapsNV = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureGeometryFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureGeometryFlagsNV.gen.cs new file mode 100644 index 0000000000..52d157961d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureGeometryFlagsNV.gen.cs @@ -0,0 +1,34 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkClusterAccelerationStructureGeometryFlagsNV")] + public enum ClusterAccelerationStructureGeometryFlagsNV : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"CullDisableBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_CULL_DISABLE_BIT_NV")] + ClusterAccelerationStructureGeometryCullDisableBitNV = 1, + [Obsolete("Deprecated in favour of \"NoDuplicateAnyhitInvocationBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_NO_DUPLICATE_ANYHIT_INVOCATION_BIT_NV")] + ClusterAccelerationStructureGeometryNoDuplicateAnyhitInvocationBitNV = 2, + [Obsolete("Deprecated in favour of \"OpaqueBitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_OPAQUE_BIT_NV")] + ClusterAccelerationStructureGeometryOpaqueBitNV = 4, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_CULL_DISABLE_BIT_NV")] + CullDisableBitNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_NO_DUPLICATE_ANYHIT_INVOCATION_BIT_NV")] + NoDuplicateAnyhitInvocationBitNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_GEOMETRY_OPAQUE_BIT_NV")] + OpaqueBitNV = 4, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureIndexFormatFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureIndexFormatFlagsNV.gen.cs new file mode 100644 index 0000000000..c9cac9674e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureIndexFormatFlagsNV.gen.cs @@ -0,0 +1,34 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkClusterAccelerationStructureIndexFormatFlagsNV")] + public enum ClusterAccelerationStructureIndexFormatFlagsNV : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"Format8BitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_8BIT_NV")] + ClusterAccelerationStructureIndexFormat8BitNV = 1, + [Obsolete("Deprecated in favour of \"Format16BitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_16BIT_NV")] + ClusterAccelerationStructureIndexFormat16BitNV = 2, + [Obsolete("Deprecated in favour of \"Format32BitNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_32BIT_NV")] + ClusterAccelerationStructureIndexFormat32BitNV = 4, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_8BIT_NV")] + Format8BitNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_16BIT_NV")] + Format16BitNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_INDEX_FORMAT_32BIT_NV")] + Format32BitNV = 4, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpModeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpModeNV.gen.cs new file mode 100644 index 0000000000..a4930ba19d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpModeNV.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureOpModeNV")] + public enum ClusterAccelerationStructureOpModeNV : int + { + [Obsolete("Deprecated in favour of \"ImplicitDestinationsNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_IMPLICIT_DESTINATIONS_NV")] + ClusterAccelerationStructureOpModeImplicitDestinationsNV = 0, + [Obsolete("Deprecated in favour of \"ExplicitDestinationsNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_EXPLICIT_DESTINATIONS_NV")] + ClusterAccelerationStructureOpModeExplicitDestinationsNV = 1, + [Obsolete("Deprecated in favour of \"ComputeSizesNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_COMPUTE_SIZES_NV")] + ClusterAccelerationStructureOpModeComputeSizesNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_IMPLICIT_DESTINATIONS_NV")] + ImplicitDestinationsNV = 0, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_EXPLICIT_DESTINATIONS_NV")] + ExplicitDestinationsNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_COMPUTE_SIZES_NV")] + ComputeSizesNV = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpTypeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpTypeNV.gen.cs new file mode 100644 index 0000000000..1a2e20dbb7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureOpTypeNV.gen.cs @@ -0,0 +1,46 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureOpTypeNV")] + public enum ClusterAccelerationStructureOpTypeNV : int + { + [Obsolete("Deprecated in favour of \"MoveObjectsNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_MOVE_OBJECTS_NV")] + ClusterAccelerationStructureOpTypeMoveObjectsNV = 0, + [Obsolete("Deprecated in favour of \"BuildClustersBottomLevelNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_CLUSTERS_BOTTOM_LEVEL_NV")] + ClusterAccelerationStructureOpTypeBuildClustersBottomLevelNV = 1, + [Obsolete("Deprecated in favour of \"BuildTriangleClusterNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_NV")] + ClusterAccelerationStructureOpTypeBuildTriangleClusterNV = 2, + [Obsolete("Deprecated in favour of \"BuildTriangleClusterTemplateNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_TEMPLATE_NV")] + ClusterAccelerationStructureOpTypeBuildTriangleClusterTemplateNV = 3, + [Obsolete("Deprecated in favour of \"InstantiateTriangleClusterNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_INSTANTIATE_TRIANGLE_CLUSTER_NV")] + ClusterAccelerationStructureOpTypeInstantiateTriangleClusterNV = 4, + [Obsolete("Deprecated in favour of \"GetClusterTemplateIndicesNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_GET_CLUSTER_TEMPLATE_INDICES_NV")] + ClusterAccelerationStructureOpTypeGetClusterTemplateIndicesNV = 5, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_MOVE_OBJECTS_NV")] + MoveObjectsNV = 0, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_CLUSTERS_BOTTOM_LEVEL_NV")] + BuildClustersBottomLevelNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_NV")] + BuildTriangleClusterNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_TEMPLATE_NV")] + BuildTriangleClusterTemplateNV = 3, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_INSTANTIATE_TRIANGLE_CLUSTER_NV")] + InstantiateTriangleClusterNV = 4, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_GET_CLUSTER_TEMPLATE_INDICES_NV")] + GetClusterTemplateIndicesNV = 5, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureTypeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureTypeNV.gen.cs new file mode 100644 index 0000000000..ffdb177e09 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ClusterAccelerationStructureTypeNV.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureTypeNV")] + public enum ClusterAccelerationStructureTypeNV : int + { + [Obsolete("Deprecated in favour of \"ClustersBottomLevelNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_CLUSTERS_BOTTOM_LEVEL_NV")] + ClusterAccelerationStructureTypeClustersBottomLevelNV = 0, + [Obsolete("Deprecated in favour of \"TriangleClusterNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_TRIANGLE_CLUSTER_NV")] + ClusterAccelerationStructureTypeTriangleClusterNV = 1, + [Obsolete("Deprecated in favour of \"TriangleClusterTemplateNV\"")] + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_TRIANGLE_CLUSTER_TEMPLATE_NV")] + ClusterAccelerationStructureTypeTriangleClusterTemplateNV = 2, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_CLUSTERS_BOTTOM_LEVEL_NV")] + ClustersBottomLevelNV = 0, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_TRIANGLE_CLUSTER_NV")] + TriangleClusterNV = 1, + [NativeName("Name", "VK_CLUSTER_ACCELERATION_STRUCTURE_TYPE_TRIANGLE_CLUSTER_TEMPLATE_NV")] + TriangleClusterTemplateNV = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ComponentTypeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ComponentTypeKHR.gen.cs index 214e3961be..f99e4d5a8d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ComponentTypeKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ComponentTypeKHR.gen.cs @@ -45,6 +45,27 @@ public enum ComponentTypeKHR : int [Obsolete("Deprecated in favour of \"Uint64Khr\"")] [NativeName("Name", "VK_COMPONENT_TYPE_UINT64_KHR")] ComponentTypeUint64Khr = 10, + [Obsolete("Deprecated in favour of \"Bfloat16Khr\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_BFLOAT16_KHR")] + ComponentTypeBfloat16Khr = 1000141000, + [Obsolete("Deprecated in favour of \"Sint8PackedNV\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_SINT8_PACKED_NV")] + ComponentTypeSint8PackedNV = 1000491000, + [Obsolete("Deprecated in favour of \"Uint8PackedNV\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_UINT8_PACKED_NV")] + ComponentTypeUint8PackedNV = 1000491001, + [Obsolete("Deprecated in favour of \"FloatE4M3NV\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT_E4M3_NV")] + ComponentTypeFloatE4M3NV = 1000491002, + [Obsolete("Deprecated in favour of \"FloatE5M2NV\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT_E5M2_NV")] + ComponentTypeFloatE5M2NV = 1000491003, + [Obsolete("Deprecated in favour of \"Float8E4M3Ext\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT8_E4M3_EXT")] + ComponentTypeFloat8E4M3Ext = 1000491002, + [Obsolete("Deprecated in favour of \"Float8E5M2Ext\"")] + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT8_E5M2_EXT")] + ComponentTypeFloat8E5M2Ext = 1000491003, [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT16_KHR")] Float16Khr = 0, [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT32_KHR")] @@ -67,5 +88,19 @@ public enum ComponentTypeKHR : int Uint32Khr = 9, [NativeName("Name", "VK_COMPONENT_TYPE_UINT64_KHR")] Uint64Khr = 10, + [NativeName("Name", "VK_COMPONENT_TYPE_BFLOAT16_KHR")] + Bfloat16Khr = 1000141000, + [NativeName("Name", "VK_COMPONENT_TYPE_SINT8_PACKED_NV")] + Sint8PackedNV = 1000491000, + [NativeName("Name", "VK_COMPONENT_TYPE_UINT8_PACKED_NV")] + Uint8PackedNV = 1000491001, + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT_E4M3_NV")] + FloatE4M3NV = 1000491002, + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT_E5M2_NV")] + FloatE5M2NV = 1000491003, + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT8_E4M3_EXT")] + Float8E4M3Ext = 1000491002, + [NativeName("Name", "VK_COMPONENT_TYPE_FLOAT8_E5M2_EXT")] + Float8E5M2Ext = 1000491003, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/CompressedTriangleFormatAMDX.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/CompressedTriangleFormatAMDX.gen.cs new file mode 100644 index 0000000000..969bef4d60 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/CompressedTriangleFormatAMDX.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCompressedTriangleFormatAMDX")] + public enum CompressedTriangleFormatAMDX : int + { + [Obsolete("Deprecated in favour of \"Dgf1Amdx\"")] + [NativeName("Name", "VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_AMDX")] + CompressedTriangleFormatDgf1Amdx = 0, + [NativeName("Name", "VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_AMDX")] + Dgf1Amdx = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/CooperativeVectorMatrixLayoutNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/CooperativeVectorMatrixLayoutNV.gen.cs new file mode 100644 index 0000000000..9e29b3a9a4 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/CooperativeVectorMatrixLayoutNV.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCooperativeVectorMatrixLayoutNV")] + public enum CooperativeVectorMatrixLayoutNV : int + { + [Obsolete("Deprecated in favour of \"RowMajorNV\"")] + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_ROW_MAJOR_NV")] + CooperativeVectorMatrixLayoutRowMajorNV = 0, + [Obsolete("Deprecated in favour of \"ColumnMajorNV\"")] + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_COLUMN_MAJOR_NV")] + CooperativeVectorMatrixLayoutColumnMajorNV = 1, + [Obsolete("Deprecated in favour of \"InferencingOptimalNV\"")] + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_INFERENCING_OPTIMAL_NV")] + CooperativeVectorMatrixLayoutInferencingOptimalNV = 2, + [Obsolete("Deprecated in favour of \"TrainingOptimalNV\"")] + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_TRAINING_OPTIMAL_NV")] + CooperativeVectorMatrixLayoutTrainingOptimalNV = 3, + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_ROW_MAJOR_NV")] + RowMajorNV = 0, + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_COLUMN_MAJOR_NV")] + ColumnMajorNV = 1, + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_INFERENCING_OPTIMAL_NV")] + InferencingOptimalNV = 2, + [NativeName("Name", "VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_TRAINING_OPTIMAL_NV")] + TrainingOptimalNV = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/CopyAccelerationStructureModeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/CopyAccelerationStructureModeNV.gen.cs index 1f7f36ce93..cc8aa34e1f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/CopyAccelerationStructureModeNV.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/CopyAccelerationStructureModeNV.gen.cs @@ -18,19 +18,9 @@ public enum CopyAccelerationStructureModeNV : int [Obsolete("Deprecated in favour of \"CompactKhr\"")] [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR")] CopyAccelerationStructureModeCompactKhr = 1, - [Obsolete("Deprecated in favour of \"SerializeKhr\"")] - [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR")] - CopyAccelerationStructureModeSerializeKhr = 2, - [Obsolete("Deprecated in favour of \"DeserializeKhr\"")] - [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR")] - CopyAccelerationStructureModeDeserializeKhr = 3, [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR")] CloneKhr = 0, [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR")] CompactKhr = 1, - [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR")] - SerializeKhr = 2, - [NativeName("Name", "VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR")] - DeserializeKhr = 3, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineDispatchFlagsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineDispatchFlagsARM.gen.cs new file mode 100644 index 0000000000..12a6b00687 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineDispatchFlagsARM.gen.cs @@ -0,0 +1,19 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkDataGraphPipelineDispatchFlagsARM")] + public enum DataGraphPipelineDispatchFlagsARM : long + { + [NativeName("Name", "")] + None = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelinePropertyARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelinePropertyARM.gen.cs new file mode 100644 index 0000000000..1d9dc4a8ad --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelinePropertyARM.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelinePropertyARM")] + public enum DataGraphPipelinePropertyARM : int + { + [Obsolete("Deprecated in favour of \"CreationLogArm\"")] + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_PROPERTY_CREATION_LOG_ARM")] + DataGraphPipelinePropertyCreationLogArm = 0, + [Obsolete("Deprecated in favour of \"IdentifierArm\"")] + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_PROPERTY_IDENTIFIER_ARM")] + DataGraphPipelinePropertyIdentifierArm = 1, + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_PROPERTY_CREATION_LOG_ARM")] + CreationLogArm = 0, + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_PROPERTY_IDENTIFIER_ARM")] + IdentifierArm = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointARM.gen.cs new file mode 100644 index 0000000000..ee9976cc9c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointARM.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionBindPointARM")] + public enum DataGraphPipelineSessionBindPointARM : int + { + [Obsolete("Deprecated in favour of \"TransientArm\"")] + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_TRANSIENT_ARM")] + DataGraphPipelineSessionBindPointTransientArm = 0, + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_TRANSIENT_ARM")] + TransientArm = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointTypeARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointTypeARM.gen.cs new file mode 100644 index 0000000000..a864839adf --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionBindPointTypeARM.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionBindPointTypeARM")] + public enum DataGraphPipelineSessionBindPointTypeARM : int + { + [Obsolete("Deprecated in favour of \"MemoryArm\"")] + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_TYPE_MEMORY_ARM")] + DataGraphPipelineSessionBindPointTypeMemoryArm = 0, + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_TYPE_MEMORY_ARM")] + MemoryArm = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs new file mode 100644 index 0000000000..b85e1ef381 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkDataGraphPipelineSessionCreateFlagsARM")] + public enum DataGraphPipelineSessionCreateFlagsARM : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"ProtectedBitArm\"")] + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_PROTECTED_BIT_ARM")] + DataGraphPipelineSessionCreateProtectedBitArm = 1, + [NativeName("Name", "VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_PROTECTED_BIT_ARM")] + ProtectedBitArm = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DefaultVertexAttributeValueKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DefaultVertexAttributeValueKHR.gen.cs new file mode 100644 index 0000000000..3a287f9b74 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DefaultVertexAttributeValueKHR.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDefaultVertexAttributeValueKHR")] + public enum DefaultVertexAttributeValueKHR : int + { + [Obsolete("Deprecated in favour of \"ZeroKhr\"")] + [NativeName("Name", "VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR")] + DefaultVertexAttributeValueZeroZeroZeroZeroKhr = 0, + [Obsolete("Deprecated in favour of \"OneKhr\"")] + [NativeName("Name", "VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR")] + DefaultVertexAttributeValueZeroZeroZeroOneKhr = 1, + [NativeName("Name", "VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR")] + ZeroKhr = 0, + [NativeName("Name", "VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR")] + OneKhr = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DependencyFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DependencyFlags.gen.cs index ad05f49948..01ee7c2355 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DependencyFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DependencyFlags.gen.cs @@ -27,6 +27,12 @@ public enum DependencyFlags : int [Obsolete("Deprecated in favour of \"FeedbackLoopBitExt\"")] [NativeName("Name", "VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT")] DependencyFeedbackLoopBitExt = 8, + [Obsolete("Deprecated in favour of \"QueueFamilyOwnershipTransferUseAllStagesBitKhr\"")] + [NativeName("Name", "VK_DEPENDENCY_QUEUE_FAMILY_OWNERSHIP_TRANSFER_USE_ALL_STAGES_BIT_KHR")] + DependencyQueueFamilyOwnershipTransferUseAllStagesBitKhr = 32, + [Obsolete("Deprecated in favour of \"AsymmetricEventBitKhr\"")] + [NativeName("Name", "VK_DEPENDENCY_ASYMMETRIC_EVENT_BIT_KHR")] + DependencyAsymmetricEventBitKhr = 64, [Obsolete("Deprecated in favour of \"DeviceGroupBit\"")] [NativeName("Name", "VK_DEPENDENCY_DEVICE_GROUP_BIT")] DependencyDeviceGroupBit = 4, @@ -41,6 +47,10 @@ public enum DependencyFlags : int DeviceGroupBitKhr = 4, [NativeName("Name", "VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT")] FeedbackLoopBitExt = 8, + [NativeName("Name", "VK_DEPENDENCY_QUEUE_FAMILY_OWNERSHIP_TRANSFER_USE_ALL_STAGES_BIT_KHR")] + QueueFamilyOwnershipTransferUseAllStagesBitKhr = 32, + [NativeName("Name", "VK_DEPENDENCY_ASYMMETRIC_EVENT_BIT_KHR")] + AsymmetricEventBitKhr = 64, [NativeName("Name", "VK_DEPENDENCY_DEVICE_GROUP_BIT")] DeviceGroupBit = 4, [NativeName("Name", "VK_DEPENDENCY_VIEW_LOCAL_BIT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorSetLayoutCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorSetLayoutCreateFlags.gen.cs index e885664160..7e41e523e0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorSetLayoutCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorSetLayoutCreateFlags.gen.cs @@ -42,6 +42,9 @@ public enum DescriptorSetLayoutCreateFlags : int [Obsolete("Deprecated in favour of \"UpdateAfterBindPoolBit\"")] [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT")] DescriptorSetLayoutCreateUpdateAfterBindPoolBit = 2, + [Obsolete("Deprecated in favour of \"PushDescriptorBit\"")] + [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT")] + DescriptorSetLayoutCreatePushDescriptorBit = 1, [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR")] PushDescriptorBitKhr = 1, [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT")] @@ -60,5 +63,7 @@ public enum DescriptorSetLayoutCreateFlags : int PerStageBitNV = 64, [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT")] UpdateAfterBindPoolBit = 2, + [NativeName("Name", "VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT")] + PushDescriptorBit = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorType.gen.cs index 9e1187ca67..6cbd8db7d3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorType.gen.cs @@ -46,8 +46,12 @@ public enum DescriptorType : int SampleWeightImageQCom = 1000440000, [NativeName("Name", "VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM")] BlockMatchImageQCom = 1000440001, + [NativeName("Name", "VK_DESCRIPTOR_TYPE_TENSOR_ARM")] + TensorArm = 1000460000, [NativeName("Name", "VK_DESCRIPTOR_TYPE_MUTABLE_EXT")] MutableExt = 1000351000, + [NativeName("Name", "VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV")] + PartitionedAccelerationStructureNV = 1000570000, [NativeName("Name", "VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK")] InlineUniformBlock = 1000138000, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorUpdateTemplateType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorUpdateTemplateType.gen.cs index d038e65857..30abaf94aa 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorUpdateTemplateType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DescriptorUpdateTemplateType.gen.cs @@ -16,5 +16,7 @@ public enum DescriptorUpdateTemplateType : int DescriptorSet = 0, [NativeName("Name", "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR")] PushDescriptorsKhr = 1, + [NativeName("Name", "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS")] + PushDescriptors = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DisplaySurfaceStereoTypeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DisplaySurfaceStereoTypeNV.gen.cs new file mode 100644 index 0000000000..3159f43a42 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DisplaySurfaceStereoTypeNV.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDisplaySurfaceStereoTypeNV")] + public enum DisplaySurfaceStereoTypeNV : int + { + [Obsolete("Deprecated in favour of \"NoneNV\"")] + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_NONE_NV")] + DisplaySurfaceStereoTypeNoneNV = 0, + [Obsolete("Deprecated in favour of \"OnboardDinNV\"")] + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_ONBOARD_DIN_NV")] + DisplaySurfaceStereoTypeOnboardDinNV = 1, + [Obsolete("Deprecated in favour of \"Hdmi3DNV\"")] + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_HDMI_3D_NV")] + DisplaySurfaceStereoTypeHdmi3DNV = 2, + [Obsolete("Deprecated in favour of \"InbandDisplayportNV\"")] + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_INBAND_DISPLAYPORT_NV")] + DisplaySurfaceStereoTypeInbandDisplayportNV = 3, + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_NONE_NV")] + NoneNV = 0, + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_ONBOARD_DIN_NV")] + OnboardDinNV = 1, + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_HDMI_3D_NV")] + Hdmi3DNV = 2, + [NativeName("Name", "VK_DISPLAY_SURFACE_STEREO_TYPE_INBAND_DISPLAYPORT_NV")] + InbandDisplayportNV = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs index bdf455cf8c..8da82c87c0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs @@ -90,9 +90,9 @@ public enum DriverId : int [Obsolete("Deprecated in favour of \"MesaHoneykrisp\"")] [NativeName("Name", "VK_DRIVER_ID_MESA_HONEYKRISP")] DriverIDMesaHoneykrisp = 26, - [Obsolete("Deprecated in favour of \"Reserved27\"")] - [NativeName("Name", "VK_DRIVER_ID_RESERVED_27")] - DriverIDReserved27 = 27, + [Obsolete("Deprecated in favour of \"VulkanSCEmulationOnVulkan\"")] + [NativeName("Name", "VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN")] + DriverIDVulkanSCEmulationOnVulkan = 27, [NativeName("Name", "VK_DRIVER_ID_AMD_PROPRIETARY")] AmdProprietary = 1, [NativeName("Name", "VK_DRIVER_ID_AMD_OPEN_SOURCE")] @@ -145,7 +145,7 @@ public enum DriverId : int ImaginationOpenSourceMesa = 25, [NativeName("Name", "VK_DRIVER_ID_MESA_HONEYKRISP")] MesaHoneykrisp = 26, - [NativeName("Name", "VK_DRIVER_ID_RESERVED_27")] - Reserved27 = 27, + [NativeName("Name", "VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN")] + VulkanSCEmulationOnVulkan = 27, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs index 49720c0b7f..6994dfc38f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs @@ -90,9 +90,9 @@ public enum DriverIdKHR : int [Obsolete("Deprecated in favour of \"MesaHoneykrisp\"")] [NativeName("Name", "VK_DRIVER_ID_MESA_HONEYKRISP")] DriverIDMesaHoneykrisp = 26, - [Obsolete("Deprecated in favour of \"Reserved27\"")] - [NativeName("Name", "VK_DRIVER_ID_RESERVED_27")] - DriverIDReserved27 = 27, + [Obsolete("Deprecated in favour of \"VulkanSCEmulationOnVulkan\"")] + [NativeName("Name", "VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN")] + DriverIDVulkanSCEmulationOnVulkan = 27, [NativeName("Name", "VK_DRIVER_ID_AMD_PROPRIETARY")] AmdProprietary = 1, [NativeName("Name", "VK_DRIVER_ID_AMD_OPEN_SOURCE")] @@ -145,7 +145,7 @@ public enum DriverIdKHR : int ImaginationOpenSourceMesa = 25, [NativeName("Name", "VK_DRIVER_ID_MESA_HONEYKRISP")] MesaHoneykrisp = 26, - [NativeName("Name", "VK_DRIVER_ID_RESERVED_27")] - Reserved27 = 27, + [NativeName("Name", "VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN")] + VulkanSCEmulationOnVulkan = 27, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DynamicState.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DynamicState.gen.cs index 8b96cd682c..639d8c88af 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DynamicState.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DynamicState.gen.cs @@ -190,5 +190,7 @@ public enum DynamicState : int DepthBiasEnable = 1000377002, [NativeName("Name", "VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE")] PrimitiveRestartEnable = 1000377004, + [NativeName("Name", "VK_DYNAMIC_STATE_LINE_STIPPLE")] + LineStipple = 1000259000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ExternalMemoryHandleTypeFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ExternalMemoryHandleTypeFlags.gen.cs index 46766208d3..6d53f8fab8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ExternalMemoryHandleTypeFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ExternalMemoryHandleTypeFlags.gen.cs @@ -57,6 +57,15 @@ public enum ExternalMemoryHandleTypeFlags : int [Obsolete("Deprecated in favour of \"ScreenBufferBitQnx\"")] [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX")] ExternalMemoryHandleTypeScreenBufferBitQnx = 16384, + [Obsolete("Deprecated in favour of \"MtlbufferBitExt\"")] + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT")] + ExternalMemoryHandleTypeMtlbufferBitExt = 65536, + [Obsolete("Deprecated in favour of \"MtltextureBitExt\"")] + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT")] + ExternalMemoryHandleTypeMtltextureBitExt = 131072, + [Obsolete("Deprecated in favour of \"MtlheapBitExt\"")] + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT")] + ExternalMemoryHandleTypeMtlheapBitExt = 262144, [Obsolete("Deprecated in favour of \"SciBufBitNV\"")] [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV")] ExternalMemoryHandleTypeSciBufBitNV = 8192, @@ -88,6 +97,12 @@ public enum ExternalMemoryHandleTypeFlags : int RdmaAddressBitNV = 4096, [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX")] ScreenBufferBitQnx = 16384, + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT")] + MtlbufferBitExt = 65536, + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT")] + MtltextureBitExt = 131072, + [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT")] + MtlheapBitExt = 262144, [NativeName("Name", "VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCI_BUF_BIT_NV")] SciBufBitNV = 8192, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/Format.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/Format.gen.cs index adea8a5791..790ae9971d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/Format.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/Format.gen.cs @@ -506,6 +506,8 @@ public enum Format : int A4R4G4B4UnormPack16Ext = 1000340000, [NativeName("Name", "VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT")] A4B4G4R4UnormPack16Ext = 1000340001, + [NativeName("Name", "VK_FORMAT_R8_BOOL_ARM")] + R8BoolArm = 1000460000, [NativeName("Name", "VK_FORMAT_R16G16_SFIXED5_NV")] R16G16Sfixed5NV = 1000464000, [NativeName("Name", "VK_FORMAT_R16G16_S10_5_NV")] @@ -514,6 +516,34 @@ public enum Format : int A1B5G5R5UnormPack16Khr = 1000470000, [NativeName("Name", "VK_FORMAT_A8_UNORM_KHR")] A8UnormKhr = 1000470001, + [NativeName("Name", "VK_FORMAT_R10X6_UINT_PACK16_ARM")] + R10X6UintPack16Arm = 1000609000, + [NativeName("Name", "VK_FORMAT_R10X6G10X6_UINT_2PACK16_ARM")] + R10X6G10X6Uint2Pack16Arm = 1000609001, + [NativeName("Name", "VK_FORMAT_R10X6G10X6B10X6A10X6_UINT_4PACK16_ARM")] + R10X6G10X6B10X6A10X6Uint4Pack16Arm = 1000609002, + [NativeName("Name", "VK_FORMAT_R12X4_UINT_PACK16_ARM")] + R12X4UintPack16Arm = 1000609003, + [NativeName("Name", "VK_FORMAT_R12X4G12X4_UINT_2PACK16_ARM")] + R12X4G12X4Uint2Pack16Arm = 1000609004, + [NativeName("Name", "VK_FORMAT_R12X4G12X4B12X4A12X4_UINT_4PACK16_ARM")] + R12X4G12X4B12X4A12X4Uint4Pack16Arm = 1000609005, + [NativeName("Name", "VK_FORMAT_R14X2_UINT_PACK16_ARM")] + R14X2UintPack16Arm = 1000609006, + [NativeName("Name", "VK_FORMAT_R14X2G14X2_UINT_2PACK16_ARM")] + R14X2G14X2Uint2Pack16Arm = 1000609007, + [NativeName("Name", "VK_FORMAT_R14X2G14X2B14X2A14X2_UINT_4PACK16_ARM")] + R14X2G14X2B14X2A14X2Uint4Pack16Arm = 1000609008, + [NativeName("Name", "VK_FORMAT_R14X2_UNORM_PACK16_ARM")] + R14X2UnormPack16Arm = 1000609009, + [NativeName("Name", "VK_FORMAT_R14X2G14X2_UNORM_2PACK16_ARM")] + R14X2G14X2Unorm2Pack16Arm = 1000609010, + [NativeName("Name", "VK_FORMAT_R14X2G14X2B14X2A14X2_UNORM_4PACK16_ARM")] + R14X2G14X2B14X2A14X2Unorm4Pack16Arm = 1000609011, + [NativeName("Name", "VK_FORMAT_G14X2_B14X2R14X2_2PLANE_420_UNORM_3PACK16_ARM")] + G14X2B14X2R14X22Plane420Unorm3Pack16Arm = 1000609012, + [NativeName("Name", "VK_FORMAT_G14X2_B14X2R14X2_2PLANE_422_UNORM_3PACK16_ARM")] + G14X2B14X2R14X22Plane422Unorm3Pack16Arm = 1000609013, [NativeName("Name", "VK_FORMAT_G8B8G8R8_422_UNORM")] G8B8G8R8422Unorm = 1000156000, [NativeName("Name", "VK_FORMAT_B8G8R8G8_422_UNORM")] @@ -622,5 +652,9 @@ public enum Format : int Astc12x10SfloatBlock = 1000066012, [NativeName("Name", "VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK")] Astc12x12SfloatBlock = 1000066013, + [NativeName("Name", "VK_FORMAT_A1B5G5R5_UNORM_PACK16")] + A1B5G5R5UnormPack16 = 1000470000, + [NativeName("Name", "VK_FORMAT_A8_UNORM")] + A8Unorm = 1000470001, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2.gen.cs index c7763ec83c..97fa17f56b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2.gen.cs @@ -18,165 +18,81 @@ public enum FormatFeatureFlags2 : long [Obsolete("Deprecated in favour of \"SampledImageBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT")] FormatFeature2SampledImageBit = 1, - [Obsolete("Deprecated in favour of \"SampledImageBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR")] - FormatFeature2SampledImageBitKhr = 1, [Obsolete("Deprecated in favour of \"StorageImageBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT")] FormatFeature2StorageImageBit = 2, - [Obsolete("Deprecated in favour of \"StorageImageBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT_KHR")] - FormatFeature2StorageImageBitKhr = 2, [Obsolete("Deprecated in favour of \"StorageImageAtomicBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT")] FormatFeature2StorageImageAtomicBit = 4, - [Obsolete("Deprecated in favour of \"StorageImageAtomicBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT_KHR")] - FormatFeature2StorageImageAtomicBitKhr = 4, [Obsolete("Deprecated in favour of \"UniformTexelBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT")] FormatFeature2UniformTexelBufferBit = 8, - [Obsolete("Deprecated in favour of \"UniformTexelBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - FormatFeature2UniformTexelBufferBitKhr = 8, [Obsolete("Deprecated in favour of \"StorageTexelBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT")] FormatFeature2StorageTexelBufferBit = 16, - [Obsolete("Deprecated in favour of \"StorageTexelBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - FormatFeature2StorageTexelBufferBitKhr = 16, [Obsolete("Deprecated in favour of \"StorageTexelBufferAtomicBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT")] FormatFeature2StorageTexelBufferAtomicBit = 32, - [Obsolete("Deprecated in favour of \"StorageTexelBufferAtomicBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT_KHR")] - FormatFeature2StorageTexelBufferAtomicBitKhr = 32, [Obsolete("Deprecated in favour of \"VertexBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT")] FormatFeature2VertexBufferBit = 64, - [Obsolete("Deprecated in favour of \"VertexBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT_KHR")] - FormatFeature2VertexBufferBitKhr = 64, [Obsolete("Deprecated in favour of \"ColorAttachmentBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT")] FormatFeature2ColorAttachmentBit = 128, - [Obsolete("Deprecated in favour of \"ColorAttachmentBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR")] - FormatFeature2ColorAttachmentBitKhr = 128, [Obsolete("Deprecated in favour of \"ColorAttachmentBlendBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT")] FormatFeature2ColorAttachmentBlendBit = 256, - [Obsolete("Deprecated in favour of \"ColorAttachmentBlendBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT_KHR")] - FormatFeature2ColorAttachmentBlendBitKhr = 256, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT")] FormatFeature2DepthStencilAttachmentBit = 512, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR")] - FormatFeature2DepthStencilAttachmentBitKhr = 512, [Obsolete("Deprecated in favour of \"BlitSrcBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT")] FormatFeature2BlitSrcBit = 1024, - [Obsolete("Deprecated in favour of \"BlitSrcBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT_KHR")] - FormatFeature2BlitSrcBitKhr = 1024, [Obsolete("Deprecated in favour of \"BlitDstBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT")] FormatFeature2BlitDstBit = 2048, - [Obsolete("Deprecated in favour of \"BlitDstBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT_KHR")] - FormatFeature2BlitDstBitKhr = 2048, [Obsolete("Deprecated in favour of \"SampledImageFilterLinearBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT")] FormatFeature2SampledImageFilterLinearBit = 4096, - [Obsolete("Deprecated in favour of \"SampledImageFilterLinearBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT_KHR")] - FormatFeature2SampledImageFilterLinearBitKhr = 4096, - [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBit\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] - FormatFeature2SampledImageFilterCubicBit = 8192, - [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBitExt\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] - FormatFeature2SampledImageFilterCubicBitExt = 8192, [Obsolete("Deprecated in favour of \"TransferSrcBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT")] FormatFeature2TransferSrcBit = 16384, - [Obsolete("Deprecated in favour of \"TransferSrcBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT_KHR")] - FormatFeature2TransferSrcBitKhr = 16384, [Obsolete("Deprecated in favour of \"TransferDstBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT")] FormatFeature2TransferDstBit = 32768, - [Obsolete("Deprecated in favour of \"TransferDstBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT_KHR")] - FormatFeature2TransferDstBitKhr = 32768, [Obsolete("Deprecated in favour of \"SampledImageFilterMinmaxBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT")] FormatFeature2SampledImageFilterMinmaxBit = 65536, - [Obsolete("Deprecated in favour of \"SampledImageFilterMinmaxBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT_KHR")] - FormatFeature2SampledImageFilterMinmaxBitKhr = 65536, [Obsolete("Deprecated in favour of \"MidpointChromaSamplesBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT")] FormatFeature2MidpointChromaSamplesBit = 131072, - [Obsolete("Deprecated in favour of \"MidpointChromaSamplesBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT_KHR")] - FormatFeature2MidpointChromaSamplesBitKhr = 131072, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionLinearFilterBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT")] FormatFeature2SampledImageYcbcrConversionLinearFilterBit = 262144, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionLinearFilterBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionLinearFilterBitKhr = 262144, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionSeparateReconstructionFilterBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT")] FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilterBit = 524288, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr = 524288, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT")] FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitBit = 1048576, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr = 1048576, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT")] FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit = 2097152, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr = 2097152, [Obsolete("Deprecated in favour of \"DisjointBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT")] FormatFeature2DisjointBit = 4194304, - [Obsolete("Deprecated in favour of \"DisjointBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT_KHR")] - FormatFeature2DisjointBitKhr = 4194304, [Obsolete("Deprecated in favour of \"CositedChromaSamplesBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT")] FormatFeature2CositedChromaSamplesBit = 8388608, - [Obsolete("Deprecated in favour of \"CositedChromaSamplesBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT_KHR")] - FormatFeature2CositedChromaSamplesBitKhr = 8388608, [Obsolete("Deprecated in favour of \"StorageReadWithoutFormatBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT")] FormatFeature2StorageReadWithoutFormatBit = 2147483648, - [Obsolete("Deprecated in favour of \"StorageReadWithoutFormatBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR")] - FormatFeature2StorageReadWithoutFormatBitKhr = 2147483648, [Obsolete("Deprecated in favour of \"StorageWriteWithoutFormatBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT")] FormatFeature2StorageWriteWithoutFormatBit = 4294967296, - [Obsolete("Deprecated in favour of \"StorageWriteWithoutFormatBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR")] - FormatFeature2StorageWriteWithoutFormatBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"SampledImageDepthComparisonBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT")] FormatFeature2SampledImageDepthComparisonBit = 8589934592, - [Obsolete("Deprecated in favour of \"SampledImageDepthComparisonBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT_KHR")] - FormatFeature2SampledImageDepthComparisonBitKhr = 8589934592, [Obsolete("Deprecated in favour of \"VideoDecodeOutputBitKhr\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR")] FormatFeature2VideoDecodeOutputBitKhr = 33554432, @@ -201,6 +117,12 @@ public enum FormatFeatureFlags2 : long [Obsolete("Deprecated in favour of \"VideoEncodeDpbBitKhr\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR")] FormatFeature2VideoEncodeDpbBitKhr = 268435456, + [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBitExt\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] + FormatFeature2SampledImageFilterCubicBitExt = 8192, + [Obsolete("Deprecated in favour of \"AccelerationStructureRadiusBufferBitNV\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_RADIUS_BUFFER_BIT_NV")] + FormatFeature2AccelerationStructureRadiusBufferBitNV = 2251799813685248, [Obsolete("Deprecated in favour of \"LinearColorAttachmentBitNV\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV")] FormatFeature2LinearColorAttachmentBitNV = 274877906944, @@ -216,6 +138,12 @@ public enum FormatFeatureFlags2 : long [Obsolete("Deprecated in favour of \"BoxFilterSampledBitQCom\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM")] FormatFeature2BoxFilterSampledBitQCom = 137438953472, + [Obsolete("Deprecated in favour of \"TensorShaderBitArm\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_SHADER_BIT_ARM")] + FormatFeature2TensorShaderBitArm = 549755813888, + [Obsolete("Deprecated in favour of \"TensorImageAliasingBitArm\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_IMAGE_ALIASING_BIT_ARM")] + FormatFeature2TensorImageAliasingBitArm = 8796093022208, [Obsolete("Deprecated in favour of \"OpticalFlowImageBitNV\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV")] FormatFeature2OpticalFlowImageBitNV = 1099511627776, @@ -225,114 +153,73 @@ public enum FormatFeatureFlags2 : long [Obsolete("Deprecated in favour of \"OpticalFlowCostBitNV\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV")] FormatFeature2OpticalFlowCostBitNV = 4398046511104, + [Obsolete("Deprecated in favour of \"TensorDataGraphBitArm\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_DATA_GRAPH_BIT_ARM")] + FormatFeature2TensorDataGraphBitArm = 281474976710656, + [Obsolete("Deprecated in favour of \"VideoEncodeQuantizationDeltaMapBitKhr\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + FormatFeature2VideoEncodeQuantizationDeltaMapBitKhr = 562949953421312, + [Obsolete("Deprecated in favour of \"VideoEncodeEmphasisMapBitKhr\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] + FormatFeature2VideoEncodeEmphasisMapBitKhr = 1125899906842624, + [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBit\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] + FormatFeature2SampledImageFilterCubicBit = 8192, + [Obsolete("Deprecated in favour of \"HostImageTransferBit\"")] + [NativeName("Name", "VK_FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BIT")] + FormatFeature2HostImageTransferBit = 70368744177664, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT")] SampledImageBit = 1, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR")] - SampledImageBitKhr = 1, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT")] StorageImageBit = 2, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT_KHR")] - StorageImageBitKhr = 2, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT")] StorageImageAtomicBit = 4, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT_KHR")] - StorageImageAtomicBitKhr = 4, [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT")] UniformTexelBufferBit = 8, - [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - UniformTexelBufferBitKhr = 8, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT")] StorageTexelBufferBit = 16, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - StorageTexelBufferBitKhr = 16, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT")] StorageTexelBufferAtomicBit = 32, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT_KHR")] - StorageTexelBufferAtomicBitKhr = 32, [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT")] VertexBufferBit = 64, - [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT_KHR")] - VertexBufferBitKhr = 64, [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT")] ColorAttachmentBit = 128, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR")] - ColorAttachmentBitKhr = 128, [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT")] ColorAttachmentBlendBit = 256, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT_KHR")] - ColorAttachmentBlendBitKhr = 256, [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT")] DepthStencilAttachmentBit = 512, - [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR")] - DepthStencilAttachmentBitKhr = 512, [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT")] BlitSrcBit = 1024, - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT_KHR")] - BlitSrcBitKhr = 1024, [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT")] BlitDstBit = 2048, - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT_KHR")] - BlitDstBitKhr = 2048, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT")] SampledImageFilterLinearBit = 4096, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT_KHR")] - SampledImageFilterLinearBitKhr = 4096, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] - SampledImageFilterCubicBit = 8192, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] - SampledImageFilterCubicBitExt = 8192, [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT")] TransferSrcBit = 16384, - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT_KHR")] - TransferSrcBitKhr = 16384, [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT")] TransferDstBit = 32768, - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT_KHR")] - TransferDstBitKhr = 32768, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT")] SampledImageFilterMinmaxBit = 65536, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT_KHR")] - SampledImageFilterMinmaxBitKhr = 65536, [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT")] MidpointChromaSamplesBit = 131072, - [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT_KHR")] - MidpointChromaSamplesBitKhr = 131072, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT")] SampledImageYcbcrConversionLinearFilterBit = 262144, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR")] - SampledImageYcbcrConversionLinearFilterBitKhr = 262144, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT")] SampledImageYcbcrConversionSeparateReconstructionFilterBit = 524288, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR")] - SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr = 524288, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT")] SampledImageYcbcrConversionChromaReconstructionExplicitBit = 1048576, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR")] - SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr = 1048576, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT")] SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit = 2097152, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR")] - SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr = 2097152, [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT")] DisjointBit = 4194304, - [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT_KHR")] - DisjointBitKhr = 4194304, [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT")] CositedChromaSamplesBit = 8388608, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT_KHR")] - CositedChromaSamplesBitKhr = 8388608, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT")] StorageReadWithoutFormatBit = 2147483648, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR")] - StorageReadWithoutFormatBitKhr = 2147483648, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT")] StorageWriteWithoutFormatBit = 4294967296, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR")] - StorageWriteWithoutFormatBitKhr = 4294967296, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT")] SampledImageDepthComparisonBit = 8589934592, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT_KHR")] - SampledImageDepthComparisonBitKhr = 8589934592, [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR")] VideoDecodeOutputBitKhr = 33554432, [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR")] @@ -349,6 +236,10 @@ public enum FormatFeatureFlags2 : long VideoEncodeInputBitKhr = 134217728, [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR")] VideoEncodeDpbBitKhr = 268435456, + [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] + SampledImageFilterCubicBitExt = 8192, + [NativeName("Name", "VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_RADIUS_BUFFER_BIT_NV")] + AccelerationStructureRadiusBufferBitNV = 2251799813685248, [NativeName("Name", "VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV")] LinearColorAttachmentBitNV = 274877906944, [NativeName("Name", "VK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM")] @@ -359,11 +250,25 @@ public enum FormatFeatureFlags2 : long BlockMatchingBitQCom = 68719476736, [NativeName("Name", "VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM")] BoxFilterSampledBitQCom = 137438953472, + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_SHADER_BIT_ARM")] + TensorShaderBitArm = 549755813888, + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_IMAGE_ALIASING_BIT_ARM")] + TensorImageAliasingBitArm = 8796093022208, [NativeName("Name", "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV")] OpticalFlowImageBitNV = 1099511627776, [NativeName("Name", "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV")] OpticalFlowVectorBitNV = 2199023255552, [NativeName("Name", "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV")] OpticalFlowCostBitNV = 4398046511104, + [NativeName("Name", "VK_FORMAT_FEATURE_2_TENSOR_DATA_GRAPH_BIT_ARM")] + TensorDataGraphBitArm = 281474976710656, + [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoEncodeQuantizationDeltaMapBitKhr = 562949953421312, + [NativeName("Name", "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] + VideoEncodeEmphasisMapBitKhr = 1125899906842624, + [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] + SampledImageFilterCubicBit = 8192, + [NativeName("Name", "VK_FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BIT")] + HostImageTransferBit = 70368744177664, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2KHR.gen.cs index 66c9445e37..95ef1941dd 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/FormatFeatureFlags2KHR.gen.cs @@ -18,272 +18,132 @@ public enum FormatFeatureFlags2KHR : long [Obsolete("Deprecated in favour of \"SampledImageBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT")] FormatFeature2SampledImageBit = 1, - [Obsolete("Deprecated in favour of \"SampledImageBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR")] - FormatFeature2SampledImageBitKhr = 1, [Obsolete("Deprecated in favour of \"StorageImageBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT")] FormatFeature2StorageImageBit = 2, - [Obsolete("Deprecated in favour of \"StorageImageBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT_KHR")] - FormatFeature2StorageImageBitKhr = 2, [Obsolete("Deprecated in favour of \"StorageImageAtomicBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT")] FormatFeature2StorageImageAtomicBit = 4, - [Obsolete("Deprecated in favour of \"StorageImageAtomicBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT_KHR")] - FormatFeature2StorageImageAtomicBitKhr = 4, [Obsolete("Deprecated in favour of \"UniformTexelBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT")] FormatFeature2UniformTexelBufferBit = 8, - [Obsolete("Deprecated in favour of \"UniformTexelBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - FormatFeature2UniformTexelBufferBitKhr = 8, [Obsolete("Deprecated in favour of \"StorageTexelBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT")] FormatFeature2StorageTexelBufferBit = 16, - [Obsolete("Deprecated in favour of \"StorageTexelBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - FormatFeature2StorageTexelBufferBitKhr = 16, [Obsolete("Deprecated in favour of \"StorageTexelBufferAtomicBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT")] FormatFeature2StorageTexelBufferAtomicBit = 32, - [Obsolete("Deprecated in favour of \"StorageTexelBufferAtomicBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT_KHR")] - FormatFeature2StorageTexelBufferAtomicBitKhr = 32, [Obsolete("Deprecated in favour of \"VertexBufferBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT")] FormatFeature2VertexBufferBit = 64, - [Obsolete("Deprecated in favour of \"VertexBufferBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT_KHR")] - FormatFeature2VertexBufferBitKhr = 64, [Obsolete("Deprecated in favour of \"ColorAttachmentBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT")] FormatFeature2ColorAttachmentBit = 128, - [Obsolete("Deprecated in favour of \"ColorAttachmentBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR")] - FormatFeature2ColorAttachmentBitKhr = 128, [Obsolete("Deprecated in favour of \"ColorAttachmentBlendBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT")] FormatFeature2ColorAttachmentBlendBit = 256, - [Obsolete("Deprecated in favour of \"ColorAttachmentBlendBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT_KHR")] - FormatFeature2ColorAttachmentBlendBitKhr = 256, [Obsolete("Deprecated in favour of \"DepthStencilAttachmentBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT")] FormatFeature2DepthStencilAttachmentBit = 512, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR")] - FormatFeature2DepthStencilAttachmentBitKhr = 512, [Obsolete("Deprecated in favour of \"BlitSrcBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT")] FormatFeature2BlitSrcBit = 1024, - [Obsolete("Deprecated in favour of \"BlitSrcBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT_KHR")] - FormatFeature2BlitSrcBitKhr = 1024, [Obsolete("Deprecated in favour of \"BlitDstBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT")] FormatFeature2BlitDstBit = 2048, - [Obsolete("Deprecated in favour of \"BlitDstBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT_KHR")] - FormatFeature2BlitDstBitKhr = 2048, [Obsolete("Deprecated in favour of \"SampledImageFilterLinearBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT")] FormatFeature2SampledImageFilterLinearBit = 4096, - [Obsolete("Deprecated in favour of \"SampledImageFilterLinearBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT_KHR")] - FormatFeature2SampledImageFilterLinearBitKhr = 4096, - [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBit\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] - FormatFeature2SampledImageFilterCubicBit = 8192, - [Obsolete("Deprecated in favour of \"SampledImageFilterCubicBitExt\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] - FormatFeature2SampledImageFilterCubicBitExt = 8192, [Obsolete("Deprecated in favour of \"TransferSrcBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT")] FormatFeature2TransferSrcBit = 16384, - [Obsolete("Deprecated in favour of \"TransferSrcBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT_KHR")] - FormatFeature2TransferSrcBitKhr = 16384, [Obsolete("Deprecated in favour of \"TransferDstBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT")] FormatFeature2TransferDstBit = 32768, - [Obsolete("Deprecated in favour of \"TransferDstBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT_KHR")] - FormatFeature2TransferDstBitKhr = 32768, [Obsolete("Deprecated in favour of \"SampledImageFilterMinmaxBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT")] FormatFeature2SampledImageFilterMinmaxBit = 65536, - [Obsolete("Deprecated in favour of \"SampledImageFilterMinmaxBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT_KHR")] - FormatFeature2SampledImageFilterMinmaxBitKhr = 65536, [Obsolete("Deprecated in favour of \"MidpointChromaSamplesBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT")] FormatFeature2MidpointChromaSamplesBit = 131072, - [Obsolete("Deprecated in favour of \"MidpointChromaSamplesBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT_KHR")] - FormatFeature2MidpointChromaSamplesBitKhr = 131072, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionLinearFilterBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT")] FormatFeature2SampledImageYcbcrConversionLinearFilterBit = 262144, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionLinearFilterBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionLinearFilterBitKhr = 262144, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionSeparateReconstructionFilterBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT")] FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilterBit = 524288, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr = 524288, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT")] FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitBit = 1048576, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr = 1048576, [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT")] FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit = 2097152, - [Obsolete("Deprecated in favour of \"SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR")] - FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr = 2097152, [Obsolete("Deprecated in favour of \"DisjointBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT")] FormatFeature2DisjointBit = 4194304, - [Obsolete("Deprecated in favour of \"DisjointBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT_KHR")] - FormatFeature2DisjointBitKhr = 4194304, [Obsolete("Deprecated in favour of \"CositedChromaSamplesBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT")] FormatFeature2CositedChromaSamplesBit = 8388608, - [Obsolete("Deprecated in favour of \"CositedChromaSamplesBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT_KHR")] - FormatFeature2CositedChromaSamplesBitKhr = 8388608, [Obsolete("Deprecated in favour of \"StorageReadWithoutFormatBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT")] FormatFeature2StorageReadWithoutFormatBit = 2147483648, - [Obsolete("Deprecated in favour of \"StorageReadWithoutFormatBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR")] - FormatFeature2StorageReadWithoutFormatBitKhr = 2147483648, [Obsolete("Deprecated in favour of \"StorageWriteWithoutFormatBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT")] FormatFeature2StorageWriteWithoutFormatBit = 4294967296, - [Obsolete("Deprecated in favour of \"StorageWriteWithoutFormatBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR")] - FormatFeature2StorageWriteWithoutFormatBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"SampledImageDepthComparisonBit\"")] [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT")] FormatFeature2SampledImageDepthComparisonBit = 8589934592, - [Obsolete("Deprecated in favour of \"SampledImageDepthComparisonBitKhr\"")] - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT_KHR")] - FormatFeature2SampledImageDepthComparisonBitKhr = 8589934592, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT")] SampledImageBit = 1, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR")] - SampledImageBitKhr = 1, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT")] StorageImageBit = 2, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT_KHR")] - StorageImageBitKhr = 2, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT")] StorageImageAtomicBit = 4, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT_KHR")] - StorageImageAtomicBitKhr = 4, [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT")] UniformTexelBufferBit = 8, - [NativeName("Name", "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR")] - UniformTexelBufferBitKhr = 8, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT")] StorageTexelBufferBit = 16, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT_KHR")] - StorageTexelBufferBitKhr = 16, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT")] StorageTexelBufferAtomicBit = 32, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT_KHR")] - StorageTexelBufferAtomicBitKhr = 32, [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT")] VertexBufferBit = 64, - [NativeName("Name", "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT_KHR")] - VertexBufferBitKhr = 64, [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT")] ColorAttachmentBit = 128, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT_KHR")] - ColorAttachmentBitKhr = 128, [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT")] ColorAttachmentBlendBit = 256, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT_KHR")] - ColorAttachmentBlendBitKhr = 256, [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT")] DepthStencilAttachmentBit = 512, - [NativeName("Name", "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR")] - DepthStencilAttachmentBitKhr = 512, [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT")] BlitSrcBit = 1024, - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT_KHR")] - BlitSrcBitKhr = 1024, [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT")] BlitDstBit = 2048, - [NativeName("Name", "VK_FORMAT_FEATURE_2_BLIT_DST_BIT_KHR")] - BlitDstBitKhr = 2048, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT")] SampledImageFilterLinearBit = 4096, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT_KHR")] - SampledImageFilterLinearBitKhr = 4096, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT")] - SampledImageFilterCubicBit = 8192, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT")] - SampledImageFilterCubicBitExt = 8192, [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT")] TransferSrcBit = 16384, - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT_KHR")] - TransferSrcBitKhr = 16384, [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT")] TransferDstBit = 32768, - [NativeName("Name", "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT_KHR")] - TransferDstBitKhr = 32768, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT")] SampledImageFilterMinmaxBit = 65536, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT_KHR")] - SampledImageFilterMinmaxBitKhr = 65536, [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT")] MidpointChromaSamplesBit = 131072, - [NativeName("Name", "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT_KHR")] - MidpointChromaSamplesBitKhr = 131072, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT")] SampledImageYcbcrConversionLinearFilterBit = 262144, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR")] - SampledImageYcbcrConversionLinearFilterBitKhr = 262144, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT")] SampledImageYcbcrConversionSeparateReconstructionFilterBit = 524288, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR")] - SampledImageYcbcrConversionSeparateReconstructionFilterBitKhr = 524288, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT")] SampledImageYcbcrConversionChromaReconstructionExplicitBit = 1048576, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR")] - SampledImageYcbcrConversionChromaReconstructionExplicitBitKhr = 1048576, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT")] SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit = 2097152, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR")] - SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKhr = 2097152, [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT")] DisjointBit = 4194304, - [NativeName("Name", "VK_FORMAT_FEATURE_2_DISJOINT_BIT_KHR")] - DisjointBitKhr = 4194304, [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT")] CositedChromaSamplesBit = 8388608, - [NativeName("Name", "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT_KHR")] - CositedChromaSamplesBitKhr = 8388608, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT")] StorageReadWithoutFormatBit = 2147483648, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR")] - StorageReadWithoutFormatBitKhr = 2147483648, [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT")] StorageWriteWithoutFormatBit = 4294967296, - [NativeName("Name", "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR")] - StorageWriteWithoutFormatBitKhr = 4294967296, [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT")] SampledImageDepthComparisonBit = 8589934592, - [NativeName("Name", "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT_KHR")] - SampledImageDepthComparisonBitKhr = 8589934592, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryInstanceFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryInstanceFlagsKHR.gen.cs index 1e7d822182..965b2876be 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryInstanceFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryInstanceFlagsKHR.gen.cs @@ -30,9 +30,15 @@ public enum GeometryInstanceFlagsKHR : int [Obsolete("Deprecated in favour of \"TriangleFrontCounterclockwiseBitKhr\"")] [NativeName("Name", "VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR")] GeometryInstanceTriangleFrontCounterclockwiseBitKhr = 2, + [Obsolete("Deprecated in favour of \"ForceOpacityMicromap2StateBitExt\"")] + [NativeName("Name", "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT")] + GeometryInstanceForceOpacityMicromap2StateBitExt = 16, [Obsolete("Deprecated in favour of \"ForceOpacityMicromap2StateExt\"")] [NativeName("Name", "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT")] GeometryInstanceForceOpacityMicromap2StateExt = 16, + [Obsolete("Deprecated in favour of \"DisableOpacityMicromapsBitExt\"")] + [NativeName("Name", "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + GeometryInstanceDisableOpacityMicromapsBitExt = 32, [Obsolete("Deprecated in favour of \"DisableOpacityMicromapsExt\"")] [NativeName("Name", "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT")] GeometryInstanceDisableOpacityMicromapsExt = 32, @@ -46,8 +52,12 @@ public enum GeometryInstanceFlagsKHR : int ForceNoOpaqueBitKhr = 8, [NativeName("Name", "VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR")] TriangleFrontCounterclockwiseBitKhr = 2, + [NativeName("Name", "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT")] + ForceOpacityMicromap2StateBitExt = 16, [NativeName("Name", "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT")] ForceOpacityMicromap2StateExt = 16, + [NativeName("Name", "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + DisableOpacityMicromapsBitExt = 32, [NativeName("Name", "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT")] DisableOpacityMicromapsExt = 32, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryTypeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryTypeKHR.gen.cs index d033b969ea..a943d2a8b8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryTypeKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/GeometryTypeKHR.gen.cs @@ -21,11 +21,26 @@ public enum GeometryTypeKHR : int [Obsolete("Deprecated in favour of \"InstancesKhr\"")] [NativeName("Name", "VK_GEOMETRY_TYPE_INSTANCES_KHR")] GeometryTypeInstancesKhr = 2, + [Obsolete("Deprecated in favour of \"SpheresNV\"")] + [NativeName("Name", "VK_GEOMETRY_TYPE_SPHERES_NV")] + GeometryTypeSpheresNV = 1000429004, + [Obsolete("Deprecated in favour of \"LinearSweptSpheresNV\"")] + [NativeName("Name", "VK_GEOMETRY_TYPE_LINEAR_SWEPT_SPHERES_NV")] + GeometryTypeLinearSweptSpheresNV = 1000429005, + [Obsolete("Deprecated in favour of \"DenseGeometryFormatTrianglesAmdx\"")] + [NativeName("Name", "VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX")] + GeometryTypeDenseGeometryFormatTrianglesAmdx = 1000478000, [NativeName("Name", "VK_GEOMETRY_TYPE_TRIANGLES_KHR")] TrianglesKhr = 0, [NativeName("Name", "VK_GEOMETRY_TYPE_AABBS_KHR")] AabbsKhr = 1, [NativeName("Name", "VK_GEOMETRY_TYPE_INSTANCES_KHR")] InstancesKhr = 2, + [NativeName("Name", "VK_GEOMETRY_TYPE_SPHERES_NV")] + SpheresNV = 1000429004, + [NativeName("Name", "VK_GEOMETRY_TYPE_LINEAR_SWEPT_SPHERES_NV")] + LinearSweptSpheresNV = 1000429005, + [NativeName("Name", "VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX")] + DenseGeometryFormatTrianglesAmdx = 1000478000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlags.gen.cs new file mode 100644 index 0000000000..b4d7d2ada3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlags.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkHostImageCopyFlags")] + public enum HostImageCopyFlags : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"MemcpyBit\"")] + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_BIT")] + HostImageCopyMemcpyBit = 1, + [Obsolete("Deprecated in favour of \"Memcpy\"")] + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY")] + HostImageCopyMemcpy = 1, + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_BIT")] + MemcpyBit = 1, + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY")] + Memcpy = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlagsEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlagsEXT.gen.cs index 43ffe05a7d..30ae5ab501 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlagsEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/HostImageCopyFlagsEXT.gen.cs @@ -15,10 +15,15 @@ public enum HostImageCopyFlagsEXT : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"MemcpyExt\"")] - [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_EXT")] - HostImageCopyMemcpyExt = 1, - [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_EXT")] - MemcpyExt = 1, + [Obsolete("Deprecated in favour of \"MemcpyBit\"")] + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_BIT")] + HostImageCopyMemcpyBit = 1, + [Obsolete("Deprecated in favour of \"Memcpy\"")] + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY")] + HostImageCopyMemcpy = 1, + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY_BIT")] + MemcpyBit = 1, + [NativeName("Name", "VK_HOST_IMAGE_COPY_MEMCPY")] + Memcpy = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs index 3a74df509b..4c24f9a9f1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs @@ -72,6 +72,9 @@ public enum ImageCreateFlags : int [Obsolete("Deprecated in favour of \"CreateVideoProfileIndependentBitKhr\"")] [NativeName("Name", "VK_IMAGE_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR")] ImageCreateVideoProfileIndependentBitKhr = 1048576, + [Obsolete("Deprecated in favour of \"CreateFragmentDensityMapOffsetBitExt\"")] + [NativeName("Name", "VK_IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_EXT")] + ImageCreateFragmentDensityMapOffsetBitExt = 32768, [Obsolete("Deprecated in favour of \"CreateAliasBit\"")] [NativeName("Name", "VK_IMAGE_CREATE_ALIAS_BIT")] ImageCreateAliasBit = 1024, @@ -131,6 +134,8 @@ public enum ImageCreateFlags : int CreateFragmentDensityMapOffsetBitQCom = 32768, [NativeName("Name", "VK_IMAGE_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR")] CreateVideoProfileIndependentBitKhr = 1048576, + [NativeName("Name", "VK_IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_EXT")] + CreateFragmentDensityMapOffsetBitExt = 32768, [NativeName("Name", "VK_IMAGE_CREATE_ALIAS_BIT")] CreateAliasBit = 1024, [NativeName("Name", "VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageLayout.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageLayout.gen.cs index e663c94883..dc6aa7d163 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageLayout.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageLayout.gen.cs @@ -72,6 +72,12 @@ public enum ImageLayout : int AttachmentOptimalKhr = 1000314001, [NativeName("Name", "VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT")] AttachmentFeedbackLoopOptimalExt = 1000339000, + [NativeName("Name", "VK_IMAGE_LAYOUT_TENSOR_ALIASING_ARM")] + TensorAliasingArm = 1000460000, + [NativeName("Name", "VK_IMAGE_LAYOUT_VIDEO_ENCODE_QUANTIZATION_MAP_KHR")] + VideoEncodeQuantizationMapKhr = 1000553000, + [NativeName("Name", "VK_IMAGE_LAYOUT_ZERO_INITIALIZED_EXT")] + ZeroInitializedExt = 1000620000, [NativeName("Name", "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL")] DepthReadOnlyStencilAttachmentOptimal = 1000117000, [NativeName("Name", "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL")] @@ -88,5 +94,7 @@ public enum ImageLayout : int ReadOnlyOptimal = 1000314000, [NativeName("Name", "VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL")] AttachmentOptimal = 1000314001, + [NativeName("Name", "VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ")] + RenderingLocalRead = 1000232000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageUsageFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageUsageFlags.gen.cs index 92286c4a47..bb6da71133 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageUsageFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageUsageFlags.gen.cs @@ -81,6 +81,21 @@ public enum ImageUsageFlags : int [Obsolete("Deprecated in favour of \"SampleBlockMatchBitQCom\"")] [NativeName("Name", "VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM")] ImageUsageSampleBlockMatchBitQCom = 2097152, + [Obsolete("Deprecated in favour of \"TensorAliasingBitArm\"")] + [NativeName("Name", "VK_IMAGE_USAGE_TENSOR_ALIASING_BIT_ARM")] + ImageUsageTensorAliasingBitArm = 8388608, + [Obsolete("Deprecated in favour of \"TileMemoryBitQCom\"")] + [NativeName("Name", "VK_IMAGE_USAGE_TILE_MEMORY_BIT_QCOM")] + ImageUsageTileMemoryBitQCom = 134217728, + [Obsolete("Deprecated in favour of \"VideoEncodeQuantizationDeltaMapBitKhr\"")] + [NativeName("Name", "VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + ImageUsageVideoEncodeQuantizationDeltaMapBitKhr = 33554432, + [Obsolete("Deprecated in favour of \"VideoEncodeEmphasisMapBitKhr\"")] + [NativeName("Name", "VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] + ImageUsageVideoEncodeEmphasisMapBitKhr = 67108864, + [Obsolete("Deprecated in favour of \"HostTransferBit\"")] + [NativeName("Name", "VK_IMAGE_USAGE_HOST_TRANSFER_BIT")] + ImageUsageHostTransferBit = 4194304, [NativeName("Name", "VK_IMAGE_USAGE_TRANSFER_SRC_BIT")] TransferSrcBit = 1, [NativeName("Name", "VK_IMAGE_USAGE_TRANSFER_DST_BIT")] @@ -125,5 +140,15 @@ public enum ImageUsageFlags : int SampleWeightBitQCom = 1048576, [NativeName("Name", "VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM")] SampleBlockMatchBitQCom = 2097152, + [NativeName("Name", "VK_IMAGE_USAGE_TENSOR_ALIASING_BIT_ARM")] + TensorAliasingBitArm = 8388608, + [NativeName("Name", "VK_IMAGE_USAGE_TILE_MEMORY_BIT_QCOM")] + TileMemoryBitQCom = 134217728, + [NativeName("Name", "VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoEncodeQuantizationDeltaMapBitKhr = 33554432, + [NativeName("Name", "VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] + VideoEncodeEmphasisMapBitKhr = 67108864, + [NativeName("Name", "VK_IMAGE_USAGE_HOST_TRANSFER_BIT")] + HostTransferBit = 4194304, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/IndexType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/IndexType.gen.cs index d2c6296935..271bf3ea93 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/IndexType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/IndexType.gen.cs @@ -24,5 +24,7 @@ public enum IndexType : int Uint8Ext = 1000265000, [NativeName("Name", "VK_INDEX_TYPE_UINT8_KHR")] Uint8Khr = 1000265000, + [NativeName("Name", "VK_INDEX_TYPE_UINT8")] + Uint8 = 1000265000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationMode.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationMode.gen.cs new file mode 100644 index 0000000000..20aba4e48d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationMode.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkLineRasterizationMode")] + public enum LineRasterizationMode : int + { + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT")] + Default = 0, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR")] + Rectangular = 1, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM")] + Bresenham = 2, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH")] + RectangularSmooth = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeEXT.gen.cs index 7e7bf07c94..def8107716 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeEXT.gen.cs @@ -9,49 +9,28 @@ namespace Silk.NET.Vulkan { - [Flags] [NativeName("Name", "VkLineRasterizationModeEXT")] public enum LineRasterizationModeEXT : int { - [Obsolete("Deprecated in favour of \"DefaultKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_KHR")] - LineRasterizationModeDefaultKhr = 0, - [Obsolete("Deprecated in favour of \"DefaultExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT")] - LineRasterizationModeDefaultExt = 0, - [Obsolete("Deprecated in favour of \"RectangularKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_KHR")] - LineRasterizationModeRectangularKhr = 1, - [Obsolete("Deprecated in favour of \"RectangularExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT")] - LineRasterizationModeRectangularExt = 1, - [Obsolete("Deprecated in favour of \"BresenhamKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_KHR")] - LineRasterizationModeBresenhamKhr = 2, - [Obsolete("Deprecated in favour of \"BresenhamExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT")] - LineRasterizationModeBresenhamExt = 2, - [Obsolete("Deprecated in favour of \"RectangularSmoothKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR")] - LineRasterizationModeRectangularSmoothKhr = 3, - [Obsolete("Deprecated in favour of \"RectangularSmoothExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT")] - LineRasterizationModeRectangularSmoothExt = 3, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_KHR")] - DefaultKhr = 0, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT")] - DefaultExt = 0, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_KHR")] - RectangularKhr = 1, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT")] - RectangularExt = 1, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_KHR")] - BresenhamKhr = 2, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT")] - BresenhamExt = 2, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR")] - RectangularSmoothKhr = 3, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT")] - RectangularSmoothExt = 3, + [Obsolete("Deprecated in favour of \"Default\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT")] + LineRasterizationModeDefault = 0, + [Obsolete("Deprecated in favour of \"Rectangular\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR")] + LineRasterizationModeRectangular = 1, + [Obsolete("Deprecated in favour of \"Bresenham\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM")] + LineRasterizationModeBresenham = 2, + [Obsolete("Deprecated in favour of \"RectangularSmooth\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH")] + LineRasterizationModeRectangularSmooth = 3, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT")] + Default = 0, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR")] + Rectangular = 1, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM")] + Bresenham = 2, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH")] + RectangularSmooth = 3, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeKHR.gen.cs index f9ea674fec..3fe1d48ff5 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/LineRasterizationModeKHR.gen.cs @@ -9,49 +9,28 @@ namespace Silk.NET.Vulkan { - [Flags] [NativeName("Name", "VkLineRasterizationModeKHR")] public enum LineRasterizationModeKHR : int { - [Obsolete("Deprecated in favour of \"DefaultKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_KHR")] - LineRasterizationModeDefaultKhr = 0, - [Obsolete("Deprecated in favour of \"DefaultExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT")] - LineRasterizationModeDefaultExt = 0, - [Obsolete("Deprecated in favour of \"RectangularKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_KHR")] - LineRasterizationModeRectangularKhr = 1, - [Obsolete("Deprecated in favour of \"RectangularExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT")] - LineRasterizationModeRectangularExt = 1, - [Obsolete("Deprecated in favour of \"BresenhamKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_KHR")] - LineRasterizationModeBresenhamKhr = 2, - [Obsolete("Deprecated in favour of \"BresenhamExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT")] - LineRasterizationModeBresenhamExt = 2, - [Obsolete("Deprecated in favour of \"RectangularSmoothKhr\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR")] - LineRasterizationModeRectangularSmoothKhr = 3, - [Obsolete("Deprecated in favour of \"RectangularSmoothExt\"")] - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT")] - LineRasterizationModeRectangularSmoothExt = 3, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_KHR")] - DefaultKhr = 0, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT")] - DefaultExt = 0, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_KHR")] - RectangularKhr = 1, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT")] - RectangularExt = 1, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_KHR")] - BresenhamKhr = 2, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT")] - BresenhamExt = 2, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR")] - RectangularSmoothKhr = 3, - [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT")] - RectangularSmoothExt = 3, + [Obsolete("Deprecated in favour of \"Default\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT")] + LineRasterizationModeDefault = 0, + [Obsolete("Deprecated in favour of \"Rectangular\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR")] + LineRasterizationModeRectangular = 1, + [Obsolete("Deprecated in favour of \"Bresenham\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM")] + LineRasterizationModeBresenham = 2, + [Obsolete("Deprecated in favour of \"RectangularSmooth\"")] + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH")] + LineRasterizationModeRectangularSmooth = 3, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_DEFAULT")] + Default = 0, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR")] + Rectangular = 1, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_BRESENHAM")] + Bresenham = 2, + [NativeName("Name", "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH")] + RectangularSmooth = 3, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryAllocateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryAllocateFlags.gen.cs index 9eae0ea2c3..9d4b0a7cdc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryAllocateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryAllocateFlags.gen.cs @@ -15,30 +15,35 @@ public enum MemoryAllocateFlags : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"MaskBit\"")] + [Obsolete("Deprecated in favour of \"DeviceMaskBit\"")] [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT")] MemoryAllocateDeviceMaskBit = 1, - [Obsolete("Deprecated in favour of \"AddressBitKhr\"")] + [Obsolete("Deprecated in favour of \"DeviceAddressBitKhr\"")] [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHR")] MemoryAllocateDeviceAddressBitKhr = 2, - [Obsolete("Deprecated in favour of \"AddressCaptureReplayBitKhr\"")] + [Obsolete("Deprecated in favour of \"DeviceAddressCaptureReplayBitKhr\"")] [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR")] MemoryAllocateDeviceAddressCaptureReplayBitKhr = 4, - [Obsolete("Deprecated in favour of \"AddressBit\"")] + [Obsolete("Deprecated in favour of \"ZeroInitializeBitExt\"")] + [NativeName("Name", "VK_MEMORY_ALLOCATE_ZERO_INITIALIZE_BIT_EXT")] + MemoryAllocateZeroInitializeBitExt = 8, + [Obsolete("Deprecated in favour of \"DeviceAddressBit\"")] [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT")] MemoryAllocateDeviceAddressBit = 2, - [Obsolete("Deprecated in favour of \"AddressCaptureReplayBit\"")] + [Obsolete("Deprecated in favour of \"DeviceAddressCaptureReplayBit\"")] [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT")] MemoryAllocateDeviceAddressCaptureReplayBit = 4, [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT")] - MaskBit = 1, + DeviceMaskBit = 1, [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHR")] - AddressBitKhr = 2, + DeviceAddressBitKhr = 2, [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR")] - AddressCaptureReplayBitKhr = 4, + DeviceAddressCaptureReplayBitKhr = 4, + [NativeName("Name", "VK_MEMORY_ALLOCATE_ZERO_INITIALIZE_BIT_EXT")] + ZeroInitializeBitExt = 8, [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT")] - AddressBit = 2, + DeviceAddressBit = 2, [NativeName("Name", "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT")] - AddressCaptureReplayBit = 4, + DeviceAddressCaptureReplayBit = 4, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryHeapFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryHeapFlags.gen.cs index 3115961bf2..1f00352325 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryHeapFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryHeapFlags.gen.cs @@ -21,6 +21,9 @@ public enum MemoryHeapFlags : int [Obsolete("Deprecated in favour of \"MultiInstanceBitKhr\"")] [NativeName("Name", "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR")] MemoryHeapMultiInstanceBitKhr = 2, + [Obsolete("Deprecated in favour of \"TileMemoryBitQCom\"")] + [NativeName("Name", "VK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOM")] + MemoryHeapTileMemoryBitQCom = 8, [Obsolete("Deprecated in favour of \"MultiInstanceBit\"")] [NativeName("Name", "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT")] MemoryHeapMultiInstanceBit = 2, @@ -31,6 +34,8 @@ public enum MemoryHeapFlags : int DeviceLocalBit = 1, [NativeName("Name", "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR")] MultiInstanceBitKhr = 2, + [NativeName("Name", "VK_MEMORY_HEAP_TILE_MEMORY_BIT_QCOM")] + TileMemoryBitQCom = 8, [NativeName("Name", "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT")] MultiInstanceBit = 2, [NativeName("Name", "VK_MEMORY_HEAP_SEU_SAFE_BIT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlags.gen.cs new file mode 100644 index 0000000000..012f76c30f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlags.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkMemoryUnmapFlags")] + public enum MemoryUnmapFlags : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"ReserveBitExt\"")] + [NativeName("Name", "VK_MEMORY_UNMAP_RESERVE_BIT_EXT")] + MemoryUnmapReserveBitExt = 1, + [NativeName("Name", "VK_MEMORY_UNMAP_RESERVE_BIT_EXT")] + ReserveBitExt = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlagsKHR.gen.cs index 2b7aa83965..fbdfb08e64 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/MemoryUnmapFlagsKHR.gen.cs @@ -15,10 +15,5 @@ public enum MemoryUnmapFlagsKHR : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"ReserveBitExt\"")] - [NativeName("Name", "VK_MEMORY_UNMAP_RESERVE_BIT_EXT")] - MemoryUnmapReserveBitExt = 1, - [NativeName("Name", "VK_MEMORY_UNMAP_RESERVE_BIT_EXT")] - ReserveBitExt = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs index 5b7c083668..e9d7485337 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs @@ -110,12 +110,20 @@ public enum ObjectType : int BufferCollectionFuchsia = 1000366000, [NativeName("Name", "VK_OBJECT_TYPE_MICROMAP_EXT")] MicromapExt = 1000396000, + [NativeName("Name", "VK_OBJECT_TYPE_TENSOR_ARM")] + TensorArm = 1000460000, + [NativeName("Name", "VK_OBJECT_TYPE_TENSOR_VIEW_ARM")] + TensorViewArm = 1000460001, [NativeName("Name", "VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV")] OpticalFlowSessionNV = 1000464000, [NativeName("Name", "VK_OBJECT_TYPE_SHADER_EXT")] ShaderExt = 1000482000, [NativeName("Name", "VK_OBJECT_TYPE_PIPELINE_BINARY_KHR")] PipelineBinaryKhr = 1000483000, + [NativeName("Name", "VK_OBJECT_TYPE_DATA_GRAPH_PIPELINE_SESSION_ARM")] + DataGraphPipelineSessionArm = 1000507000, + [NativeName("Name", "VK_OBJECT_TYPE_EXTERNAL_COMPUTE_QUEUE_NV")] + ExternalComputeQueueNV = 1000556000, [NativeName("Name", "VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT")] IndirectCommandsLayoutExt = 1000572000, [NativeName("Name", "VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/OpacityMicromapSpecialIndexEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/OpacityMicromapSpecialIndexEXT.gen.cs index a3c5a780ad..cc0b52c420 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/OpacityMicromapSpecialIndexEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/OpacityMicromapSpecialIndexEXT.gen.cs @@ -12,25 +12,30 @@ namespace Silk.NET.Vulkan [NativeName("Name", "VkOpacityMicromapSpecialIndexEXT")] public enum OpacityMicromapSpecialIndexEXT : int { - [Obsolete("Deprecated in favour of \"TransparentExt\"")] + [Obsolete("Deprecated in favour of \"FullyTransparentExt\"")] [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_EXT")] OpacityMicromapSpecialIndexFullyTransparentExt = unchecked((int) -1), - [Obsolete("Deprecated in favour of \"OpaqueExt\"")] + [Obsolete("Deprecated in favour of \"FullyOpaqueExt\"")] [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_EXT")] OpacityMicromapSpecialIndexFullyOpaqueExt = unchecked((int) -2), - [Obsolete("Deprecated in favour of \"UnknownTransparentExt\"")] + [Obsolete("Deprecated in favour of \"FullyUnknownTransparentExt\"")] [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_EXT")] OpacityMicromapSpecialIndexFullyUnknownTransparentExt = unchecked((int) -3), - [Obsolete("Deprecated in favour of \"UnknownOpaqueExt\"")] + [Obsolete("Deprecated in favour of \"FullyUnknownOpaqueExt\"")] [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_EXT")] OpacityMicromapSpecialIndexFullyUnknownOpaqueExt = unchecked((int) -4), + [Obsolete("Deprecated in favour of \"ClusterGeometryDisableOpacityMicromapNV\"")] + [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_CLUSTER_GEOMETRY_DISABLE_OPACITY_MICROMAP_NV")] + OpacityMicromapSpecialIndexClusterGeometryDisableOpacityMicromapNV = unchecked((int) -5), [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_EXT")] - TransparentExt = unchecked((int) -1), + FullyTransparentExt = unchecked((int) -1), [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_EXT")] - OpaqueExt = unchecked((int) -2), + FullyOpaqueExt = unchecked((int) -2), [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_EXT")] - UnknownTransparentExt = unchecked((int) -3), + FullyUnknownTransparentExt = unchecked((int) -3), [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_EXT")] - UnknownOpaqueExt = unchecked((int) -4), + FullyUnknownOpaqueExt = unchecked((int) -4), + [NativeName("Name", "VK_OPACITY_MICROMAP_SPECIAL_INDEX_CLUSTER_GEOMETRY_DISABLE_OPACITY_MICROMAP_NV")] + ClusterGeometryDisableOpacityMicromapNV = unchecked((int) -5), } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureInstanceFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureInstanceFlagsNV.gen.cs new file mode 100644 index 0000000000..c5844132c3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureInstanceFlagsNV.gen.cs @@ -0,0 +1,44 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkPartitionedAccelerationStructureInstanceFlagsNV")] + public enum PartitionedAccelerationStructureInstanceFlagsNV : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"TriangleFacingCullDisableBitNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_TRIANGLE_FACING_CULL_DISABLE_BIT_NV")] + PartitionedAccelerationStructureInstanceFlagTriangleFacingCullDisableBitNV = 1, + [Obsolete("Deprecated in favour of \"TriangleFlipFacingBitNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_TRIANGLE_FLIP_FACING_BIT_NV")] + PartitionedAccelerationStructureInstanceFlagTriangleFlipFacingBitNV = 2, + [Obsolete("Deprecated in favour of \"ForceOpaqueBitNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_FORCE_OPAQUE_BIT_NV")] + PartitionedAccelerationStructureInstanceFlagForceOpaqueBitNV = 4, + [Obsolete("Deprecated in favour of \"ForceNoOpaqueBitNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_FORCE_NO_OPAQUE_BIT_NV")] + PartitionedAccelerationStructureInstanceFlagForceNoOpaqueBitNV = 8, + [Obsolete("Deprecated in favour of \"EnableExplicitBoundingBoxNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_ENABLE_EXPLICIT_BOUNDING_BOX_NV")] + PartitionedAccelerationStructureInstanceFlagEnableExplicitBoundingBoxNV = 16, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_TRIANGLE_FACING_CULL_DISABLE_BIT_NV")] + TriangleFacingCullDisableBitNV = 1, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_TRIANGLE_FLIP_FACING_BIT_NV")] + TriangleFlipFacingBitNV = 2, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_FORCE_OPAQUE_BIT_NV")] + ForceOpaqueBitNV = 4, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_FORCE_NO_OPAQUE_BIT_NV")] + ForceNoOpaqueBitNV = 8, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_ENABLE_EXPLICIT_BOUNDING_BOX_NV")] + EnableExplicitBoundingBoxNV = 16, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureOpTypeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureOpTypeNV.gen.cs new file mode 100644 index 0000000000..ae80580cf3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PartitionedAccelerationStructureOpTypeNV.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureOpTypeNV")] + public enum PartitionedAccelerationStructureOpTypeNV : int + { + [Obsolete("Deprecated in favour of \"WriteInstanceNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV")] + PartitionedAccelerationStructureOpTypeWriteInstanceNV = 0, + [Obsolete("Deprecated in favour of \"UpdateInstanceNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV")] + PartitionedAccelerationStructureOpTypeUpdateInstanceNV = 1, + [Obsolete("Deprecated in favour of \"WritePartitionTranslationNV\"")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV")] + PartitionedAccelerationStructureOpTypeWritePartitionTranslationNV = 2, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV")] + WriteInstanceNV = 0, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV")] + UpdateInstanceNV = 1, + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV")] + WritePartitionTranslationNV = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphOperationTypeARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphOperationTypeARM.gen.cs new file mode 100644 index 0000000000..3e5ef02096 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphOperationTypeARM.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDataGraphOperationTypeARM")] + public enum PhysicalDeviceDataGraphOperationTypeARM : int + { + [Obsolete("Deprecated in favour of \"SpirvExtendedInstructionSetArm\"")] + [NativeName("Name", "VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_SPIRV_EXTENDED_INSTRUCTION_SET_ARM")] + PhysicalDeviceDataGraphOperationTypeSpirvExtendedInstructionSetArm = 0, + [NativeName("Name", "VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_SPIRV_EXTENDED_INSTRUCTION_SET_ARM")] + SpirvExtendedInstructionSetArm = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs new file mode 100644 index 0000000000..2710b57768 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs @@ -0,0 +1,21 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDataGraphProcessingEngineTypeARM")] + public enum PhysicalDeviceDataGraphProcessingEngineTypeARM : int + { + [Obsolete("Deprecated in favour of \"DefaultArm\"")] + [NativeName("Name", "VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_DEFAULT_ARM")] + PhysicalDeviceDataGraphProcessingEngineTypeDefaultArm = 0, + [NativeName("Name", "VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_DEFAULT_ARM")] + DefaultArm = 0, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineBindPoint.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineBindPoint.gen.cs index 48ce2c10c0..bf494f6792 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineBindPoint.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineBindPoint.gen.cs @@ -24,5 +24,7 @@ public enum PipelineBindPoint : int RayTracingNV = 1000165000, [NativeName("Name", "VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI")] SubpassShadingHuawei = 1000369003, + [NativeName("Name", "VK_PIPELINE_BIND_POINT_DATA_GRAPH_ARM")] + DataGraphArm = 1000507000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCacheCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCacheCreateFlags.gen.cs index 516dfa27fd..01f39e231a 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCacheCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCacheCreateFlags.gen.cs @@ -18,6 +18,9 @@ public enum PipelineCacheCreateFlags : int [Obsolete("Deprecated in favour of \"ExternallySynchronizedBitExt\"")] [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT")] PipelineCacheCreateExternallySynchronizedBitExt = 1, + [Obsolete("Deprecated in favour of \"InternallySynchronizedMergeBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHR")] + PipelineCacheCreateInternallySynchronizedMergeBitKhr = 8, [Obsolete("Deprecated in favour of \"ExternallySynchronizedBit\"")] [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT")] PipelineCacheCreateExternallySynchronizedBit = 1, @@ -29,6 +32,8 @@ public enum PipelineCacheCreateFlags : int PipelineCacheCreateUseApplicationStorageBit = 4, [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT")] ExternallySynchronizedBitExt = 1, + [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_INTERNALLY_SYNCHRONIZED_MERGE_BIT_KHR")] + InternallySynchronizedMergeBitKhr = 8, [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT")] ExternallySynchronizedBit = 1, [NativeName("Name", "VK_PIPELINE_CACHE_CREATE_READ_ONLY_BIT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags.gen.cs index ce53a94d43..60036cafc7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags.gen.cs @@ -27,6 +27,9 @@ public enum PipelineCreateFlags : int [Obsolete("Deprecated in favour of \"CreateViewIndexFromDeviceIndexBitKhr\"")] [NativeName("Name", "VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR")] PipelineCreateViewIndexFromDeviceIndexBitKhr = 8, + [Obsolete("Deprecated in favour of \"CreateDispatchBaseBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_DISPATCH_BASE_BIT_KHR")] + PipelineCreateDispatchBaseBitKhr = 16, [Obsolete("Deprecated in favour of \"CreateDispatchBaseKhr\"")] [NativeName("Name", "VK_PIPELINE_CREATE_DISPATCH_BASE_KHR")] PipelineCreateDispatchBaseKhr = 16, @@ -129,6 +132,12 @@ public enum PipelineCreateFlags : int [Obsolete("Deprecated in favour of \"CreateEarlyReturnOnFailureBit\"")] [NativeName("Name", "VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT")] PipelineCreateEarlyReturnOnFailureBit = 512, + [Obsolete("Deprecated in favour of \"CreateNoProtectedAccessBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT")] + PipelineCreateNoProtectedAccessBit = 134217728, + [Obsolete("Deprecated in favour of \"CreateProtectedAccessOnlyBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT")] + PipelineCreateProtectedAccessOnlyBit = 1073741824, [NativeName("Name", "VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT")] CreateDisableOptimizationBit = 1, [NativeName("Name", "VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT")] @@ -137,6 +146,8 @@ public enum PipelineCreateFlags : int CreateDerivativeBit = 4, [NativeName("Name", "VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR")] CreateViewIndexFromDeviceIndexBitKhr = 8, + [NativeName("Name", "VK_PIPELINE_CREATE_DISPATCH_BASE_BIT_KHR")] + CreateDispatchBaseBitKhr = 16, [NativeName("Name", "VK_PIPELINE_CREATE_DISPATCH_BASE_KHR")] CreateDispatchBaseKhr = 16, [NativeName("Name", "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR")] @@ -205,5 +216,9 @@ public enum PipelineCreateFlags : int CreateFailOnPipelineCompileRequiredBit = 256, [NativeName("Name", "VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT")] CreateEarlyReturnOnFailureBit = 512, + [NativeName("Name", "VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT")] + CreateNoProtectedAccessBit = 134217728, + [NativeName("Name", "VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT")] + CreateProtectedAccessOnlyBit = 1073741824, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2.gen.cs new file mode 100644 index 0000000000..4fbef7faa3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2.gen.cs @@ -0,0 +1,214 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkPipelineCreateFlags2")] + public enum PipelineCreateFlags2 : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"DisableOptimizationBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT")] + PipelineCreate2DisableOptimizationBit = 1, + [Obsolete("Deprecated in favour of \"AllowDerivativesBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT")] + PipelineCreate2AllowDerivativesBit = 2, + [Obsolete("Deprecated in favour of \"DerivativeBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT")] + PipelineCreate2DerivativeBit = 4, + [Obsolete("Deprecated in favour of \"ViewIndexFromDeviceIndexBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT")] + PipelineCreate2ViewIndexFromDeviceIndexBit = 8, + [Obsolete("Deprecated in favour of \"DispatchBaseBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT")] + PipelineCreate2DispatchBaseBit = 16, + [Obsolete("Deprecated in favour of \"FailOnPipelineCompileRequiredBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT")] + PipelineCreate2FailOnPipelineCompileRequiredBit = 256, + [Obsolete("Deprecated in favour of \"EarlyReturnOnFailureBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT")] + PipelineCreate2EarlyReturnOnFailureBit = 512, + [Obsolete("Deprecated in favour of \"NoProtectedAccessBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT")] + PipelineCreate2NoProtectedAccessBit = 134217728, + [Obsolete("Deprecated in favour of \"ProtectedAccessOnlyBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT")] + PipelineCreate2ProtectedAccessOnlyBit = 1073741824, + [Obsolete("Deprecated in favour of \"ExecutionGraphBitAmdx\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")] + PipelineCreate2ExecutionGraphBitAmdx = 4294967296, + [Obsolete("Deprecated in favour of \"RayTracingSkipBuiltInPrimitivesBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_BUILT_IN_PRIMITIVES_BIT_KHR")] + PipelineCreate2RayTracingSkipBuiltInPrimitivesBitKhr = 4096, + [Obsolete("Deprecated in favour of \"RayTracingAllowSpheresAndLinearSweptSpheresBitNV\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_SPHERES_AND_LINEAR_SWEPT_SPHERES_BIT_NV")] + PipelineCreate2RayTracingAllowSpheresAndLinearSweptSpheresBitNV = 8589934592, + [Obsolete("Deprecated in favour of \"EnableLegacyDitheringBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT")] + PipelineCreate2EnableLegacyDitheringBitExt = 17179869184, + [Obsolete("Deprecated in favour of \"DeferCompileBitNV\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV")] + PipelineCreate2DeferCompileBitNV = 32, + [Obsolete("Deprecated in favour of \"CaptureStatisticsBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR")] + PipelineCreate2CaptureStatisticsBitKhr = 64, + [Obsolete("Deprecated in favour of \"CaptureInternalRepresentationsBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR")] + PipelineCreate2CaptureInternalRepresentationsBitKhr = 128, + [Obsolete("Deprecated in favour of \"LinkTimeOptimizationBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT")] + PipelineCreate2LinkTimeOptimizationBitExt = 1024, + [Obsolete("Deprecated in favour of \"RetainLinkTimeOptimizationInfoBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT")] + PipelineCreate2RetainLinkTimeOptimizationInfoBitExt = 8388608, + [Obsolete("Deprecated in favour of \"LibraryBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR")] + PipelineCreate2LibraryBitKhr = 2048, + [Obsolete("Deprecated in favour of \"RayTracingSkipTrianglesBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR")] + PipelineCreate2RayTracingSkipTrianglesBitKhr = 4096, + [Obsolete("Deprecated in favour of \"RayTracingSkipAabbsBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR")] + PipelineCreate2RayTracingSkipAabbsBitKhr = 8192, + [Obsolete("Deprecated in favour of \"RayTracingNoNullAnyHitShadersBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR")] + PipelineCreate2RayTracingNoNullAnyHitShadersBitKhr = 16384, + [Obsolete("Deprecated in favour of \"RayTracingNoNullClosestHitShadersBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR")] + PipelineCreate2RayTracingNoNullClosestHitShadersBitKhr = 32768, + [Obsolete("Deprecated in favour of \"RayTracingNoNullMissShadersBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR")] + PipelineCreate2RayTracingNoNullMissShadersBitKhr = 65536, + [Obsolete("Deprecated in favour of \"RayTracingNoNullIntersectionShadersBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR")] + PipelineCreate2RayTracingNoNullIntersectionShadersBitKhr = 131072, + [Obsolete("Deprecated in favour of \"RayTracingShaderGroupHandleCaptureReplayBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR")] + PipelineCreate2RayTracingShaderGroupHandleCaptureReplayBitKhr = 524288, + [Obsolete("Deprecated in favour of \"IndirectBindableBitNV\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV")] + PipelineCreate2IndirectBindableBitNV = 262144, + [Obsolete("Deprecated in favour of \"RayTracingAllowMotionBitNV\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV")] + PipelineCreate2RayTracingAllowMotionBitNV = 1048576, + [Obsolete("Deprecated in favour of \"RenderingFragmentShadingRateAttachmentBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR")] + PipelineCreate2RenderingFragmentShadingRateAttachmentBitKhr = 2097152, + [Obsolete("Deprecated in favour of \"RenderingFragmentDensityMapAttachmentBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT")] + PipelineCreate2RenderingFragmentDensityMapAttachmentBitExt = 4194304, + [Obsolete("Deprecated in favour of \"RayTracingOpacityMicromapBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] + PipelineCreate2RayTracingOpacityMicromapBitExt = 16777216, + [Obsolete("Deprecated in favour of \"ColorAttachmentFeedbackLoopBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] + PipelineCreate2ColorAttachmentFeedbackLoopBitExt = 33554432, + [Obsolete("Deprecated in favour of \"DepthStencilAttachmentFeedbackLoopBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] + PipelineCreate2DepthStencilAttachmentFeedbackLoopBitExt = 67108864, + [Obsolete("Deprecated in favour of \"RayTracingDisplacementMicromapBitNV\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV")] + PipelineCreate2RayTracingDisplacementMicromapBitNV = 268435456, + [Obsolete("Deprecated in favour of \"DescriptorBufferBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT")] + PipelineCreate2DescriptorBufferBitExt = 536870912, + [Obsolete("Deprecated in favour of \"DisallowOpacityMicromapBitArm\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISALLOW_OPACITY_MICROMAP_BIT_ARM")] + PipelineCreate2DisallowOpacityMicromapBitArm = 137438953472, + [Obsolete("Deprecated in favour of \"CaptureDataBitKhr\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR")] + PipelineCreate2CaptureDataBitKhr = 2147483648, + [Obsolete("Deprecated in favour of \"IndirectBindableBitExt\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT")] + PipelineCreate2IndirectBindableBitExt = 274877906944, + [Obsolete("Deprecated in favour of \"PerLayerFragmentDensityBitValve\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + PipelineCreate2PerLayerFragmentDensityBitValve = 1099511627776, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT")] + DisableOptimizationBit = 1, + [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT")] + AllowDerivativesBit = 2, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT")] + DerivativeBit = 4, + [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT")] + ViewIndexFromDeviceIndexBit = 8, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT")] + DispatchBaseBit = 16, + [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT")] + FailOnPipelineCompileRequiredBit = 256, + [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT")] + EarlyReturnOnFailureBit = 512, + [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT")] + NoProtectedAccessBit = 134217728, + [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT")] + ProtectedAccessOnlyBit = 1073741824, + [NativeName("Name", "VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")] + ExecutionGraphBitAmdx = 4294967296, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_BUILT_IN_PRIMITIVES_BIT_KHR")] + RayTracingSkipBuiltInPrimitivesBitKhr = 4096, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_SPHERES_AND_LINEAR_SWEPT_SPHERES_BIT_NV")] + RayTracingAllowSpheresAndLinearSweptSpheresBitNV = 8589934592, + [NativeName("Name", "VK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT")] + EnableLegacyDitheringBitExt = 17179869184, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV")] + DeferCompileBitNV = 32, + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR")] + CaptureStatisticsBitKhr = 64, + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR")] + CaptureInternalRepresentationsBitKhr = 128, + [NativeName("Name", "VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT")] + LinkTimeOptimizationBitExt = 1024, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT")] + RetainLinkTimeOptimizationInfoBitExt = 8388608, + [NativeName("Name", "VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR")] + LibraryBitKhr = 2048, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR")] + RayTracingSkipTrianglesBitKhr = 4096, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR")] + RayTracingSkipAabbsBitKhr = 8192, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR")] + RayTracingNoNullAnyHitShadersBitKhr = 16384, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR")] + RayTracingNoNullClosestHitShadersBitKhr = 32768, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR")] + RayTracingNoNullMissShadersBitKhr = 65536, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR")] + RayTracingNoNullIntersectionShadersBitKhr = 131072, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR")] + RayTracingShaderGroupHandleCaptureReplayBitKhr = 524288, + [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV")] + IndirectBindableBitNV = 262144, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV")] + RayTracingAllowMotionBitNV = 1048576, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR")] + RenderingFragmentShadingRateAttachmentBitKhr = 2097152, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT")] + RenderingFragmentDensityMapAttachmentBitExt = 4194304, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] + RayTracingOpacityMicromapBitExt = 16777216, + [NativeName("Name", "VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] + ColorAttachmentFeedbackLoopBitExt = 33554432, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] + DepthStencilAttachmentFeedbackLoopBitExt = 67108864, + [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV")] + RayTracingDisplacementMicromapBitNV = 268435456, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT")] + DescriptorBufferBitExt = 536870912, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISALLOW_OPACITY_MICROMAP_BIT_ARM")] + DisallowOpacityMicromapBitArm = 137438953472, + [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR")] + CaptureDataBitKhr = 2147483648, + [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT")] + IndirectBindableBitExt = 274877906944, + [NativeName("Name", "VK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + PerLayerFragmentDensityBitValve = 1099511627776, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2KHR.gen.cs index 1d15a63edc..9758ea40b6 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreateFlags2KHR.gen.cs @@ -15,180 +15,50 @@ public enum PipelineCreateFlags2KHR : long { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"DisableOptimizationBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR")] - PipelineCreate2DisableOptimizationBitKhr = 1, - [Obsolete("Deprecated in favour of \"AllowDerivativesBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR")] - PipelineCreate2AllowDerivativesBitKhr = 2, - [Obsolete("Deprecated in favour of \"DerivativeBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR")] - PipelineCreate2DerivativeBitKhr = 4, - [Obsolete("Deprecated in favour of \"ExecutionGraphBitAmdx\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")] - PipelineCreate2ExecutionGraphBitAmdx = 4294967296, - [Obsolete("Deprecated in favour of \"EnableLegacyDitheringBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT")] - PipelineCreate2EnableLegacyDitheringBitExt = 17179869184, - [Obsolete("Deprecated in favour of \"ViewIndexFromDeviceIndexBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR")] - PipelineCreate2ViewIndexFromDeviceIndexBitKhr = 8, - [Obsolete("Deprecated in favour of \"DispatchBaseBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR")] - PipelineCreate2DispatchBaseBitKhr = 16, - [Obsolete("Deprecated in favour of \"DeferCompileBitNV\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV")] - PipelineCreate2DeferCompileBitNV = 32, - [Obsolete("Deprecated in favour of \"CaptureStatisticsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR")] - PipelineCreate2CaptureStatisticsBitKhr = 64, - [Obsolete("Deprecated in favour of \"CaptureInternalRepresentationsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR")] - PipelineCreate2CaptureInternalRepresentationsBitKhr = 128, - [Obsolete("Deprecated in favour of \"FailOnPipelineCompileRequiredBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR")] - PipelineCreate2FailOnPipelineCompileRequiredBitKhr = 256, - [Obsolete("Deprecated in favour of \"EarlyReturnOnFailureBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR")] - PipelineCreate2EarlyReturnOnFailureBitKhr = 512, - [Obsolete("Deprecated in favour of \"LinkTimeOptimizationBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT")] - PipelineCreate2LinkTimeOptimizationBitExt = 1024, - [Obsolete("Deprecated in favour of \"RetainLinkTimeOptimizationInfoBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT")] - PipelineCreate2RetainLinkTimeOptimizationInfoBitExt = 8388608, - [Obsolete("Deprecated in favour of \"LibraryBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR")] - PipelineCreate2LibraryBitKhr = 2048, - [Obsolete("Deprecated in favour of \"RayTracingSkipTrianglesBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR")] - PipelineCreate2RayTracingSkipTrianglesBitKhr = 4096, - [Obsolete("Deprecated in favour of \"RayTracingSkipAabbsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR")] - PipelineCreate2RayTracingSkipAabbsBitKhr = 8192, - [Obsolete("Deprecated in favour of \"RayTracingNoNullAnyHitShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR")] - PipelineCreate2RayTracingNoNullAnyHitShadersBitKhr = 16384, - [Obsolete("Deprecated in favour of \"RayTracingNoNullClosestHitShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR")] - PipelineCreate2RayTracingNoNullClosestHitShadersBitKhr = 32768, - [Obsolete("Deprecated in favour of \"RayTracingNoNullMissShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR")] - PipelineCreate2RayTracingNoNullMissShadersBitKhr = 65536, - [Obsolete("Deprecated in favour of \"RayTracingNoNullIntersectionShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR")] - PipelineCreate2RayTracingNoNullIntersectionShadersBitKhr = 131072, - [Obsolete("Deprecated in favour of \"RayTracingShaderGroupHandleCaptureReplayBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR")] - PipelineCreate2RayTracingShaderGroupHandleCaptureReplayBitKhr = 524288, - [Obsolete("Deprecated in favour of \"IndirectBindableBitNV\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV")] - PipelineCreate2IndirectBindableBitNV = 262144, - [Obsolete("Deprecated in favour of \"RayTracingAllowMotionBitNV\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV")] - PipelineCreate2RayTracingAllowMotionBitNV = 1048576, - [Obsolete("Deprecated in favour of \"RenderingFragmentShadingRateAttachmentBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR")] - PipelineCreate2RenderingFragmentShadingRateAttachmentBitKhr = 2097152, - [Obsolete("Deprecated in favour of \"RenderingFragmentDensityMapAttachmentBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT")] - PipelineCreate2RenderingFragmentDensityMapAttachmentBitExt = 4194304, - [Obsolete("Deprecated in favour of \"RayTracingOpacityMicromapBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] - PipelineCreate2RayTracingOpacityMicromapBitExt = 16777216, - [Obsolete("Deprecated in favour of \"ColorAttachmentFeedbackLoopBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] - PipelineCreate2ColorAttachmentFeedbackLoopBitExt = 33554432, - [Obsolete("Deprecated in favour of \"DepthStencilAttachmentFeedbackLoopBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] - PipelineCreate2DepthStencilAttachmentFeedbackLoopBitExt = 67108864, - [Obsolete("Deprecated in favour of \"NoProtectedAccessBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_EXT")] - PipelineCreate2NoProtectedAccessBitExt = 134217728, - [Obsolete("Deprecated in favour of \"ProtectedAccessOnlyBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_EXT")] - PipelineCreate2ProtectedAccessOnlyBitExt = 1073741824, - [Obsolete("Deprecated in favour of \"RayTracingDisplacementMicromapBitNV\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV")] - PipelineCreate2RayTracingDisplacementMicromapBitNV = 268435456, - [Obsolete("Deprecated in favour of \"DescriptorBufferBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT")] - PipelineCreate2DescriptorBufferBitExt = 536870912, - [Obsolete("Deprecated in favour of \"CaptureDataBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR")] - PipelineCreate2CaptureDataBitKhr = 2147483648, - [Obsolete("Deprecated in favour of \"IndirectBindableBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT")] - PipelineCreate2IndirectBindableBitExt = 274877906944, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR")] - DisableOptimizationBitKhr = 1, - [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR")] - AllowDerivativesBitKhr = 2, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR")] - DerivativeBitKhr = 4, - [NativeName("Name", "VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")] - ExecutionGraphBitAmdx = 4294967296, - [NativeName("Name", "VK_PIPELINE_CREATE_2_ENABLE_LEGACY_DITHERING_BIT_EXT")] - EnableLegacyDitheringBitExt = 17179869184, - [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR")] - ViewIndexFromDeviceIndexBitKhr = 8, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR")] - DispatchBaseBitKhr = 16, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV")] - DeferCompileBitNV = 32, - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR")] - CaptureStatisticsBitKhr = 64, - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR")] - CaptureInternalRepresentationsBitKhr = 128, - [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR")] - FailOnPipelineCompileRequiredBitKhr = 256, - [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR")] - EarlyReturnOnFailureBitKhr = 512, - [NativeName("Name", "VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT")] - LinkTimeOptimizationBitExt = 1024, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT")] - RetainLinkTimeOptimizationInfoBitExt = 8388608, - [NativeName("Name", "VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR")] - LibraryBitKhr = 2048, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR")] - RayTracingSkipTrianglesBitKhr = 4096, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR")] - RayTracingSkipAabbsBitKhr = 8192, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR")] - RayTracingNoNullAnyHitShadersBitKhr = 16384, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR")] - RayTracingNoNullClosestHitShadersBitKhr = 32768, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR")] - RayTracingNoNullMissShadersBitKhr = 65536, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR")] - RayTracingNoNullIntersectionShadersBitKhr = 131072, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR")] - RayTracingShaderGroupHandleCaptureReplayBitKhr = 524288, - [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV")] - IndirectBindableBitNV = 262144, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV")] - RayTracingAllowMotionBitNV = 1048576, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR")] - RenderingFragmentShadingRateAttachmentBitKhr = 2097152, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT")] - RenderingFragmentDensityMapAttachmentBitExt = 4194304, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] - RayTracingOpacityMicromapBitExt = 16777216, - [NativeName("Name", "VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] - ColorAttachmentFeedbackLoopBitExt = 33554432, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] - DepthStencilAttachmentFeedbackLoopBitExt = 67108864, - [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_EXT")] - NoProtectedAccessBitExt = 134217728, - [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_EXT")] - ProtectedAccessOnlyBitExt = 1073741824, - [NativeName("Name", "VK_PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV")] - RayTracingDisplacementMicromapBitNV = 268435456, - [NativeName("Name", "VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT")] - DescriptorBufferBitExt = 536870912, - [NativeName("Name", "VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR")] - CaptureDataBitKhr = 2147483648, - [NativeName("Name", "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_EXT")] - IndirectBindableBitExt = 274877906944, + [Obsolete("Deprecated in favour of \"DisableOptimizationBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT")] + PipelineCreate2DisableOptimizationBit = 1, + [Obsolete("Deprecated in favour of \"AllowDerivativesBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT")] + PipelineCreate2AllowDerivativesBit = 2, + [Obsolete("Deprecated in favour of \"DerivativeBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT")] + PipelineCreate2DerivativeBit = 4, + [Obsolete("Deprecated in favour of \"ViewIndexFromDeviceIndexBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT")] + PipelineCreate2ViewIndexFromDeviceIndexBit = 8, + [Obsolete("Deprecated in favour of \"DispatchBaseBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT")] + PipelineCreate2DispatchBaseBit = 16, + [Obsolete("Deprecated in favour of \"FailOnPipelineCompileRequiredBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT")] + PipelineCreate2FailOnPipelineCompileRequiredBit = 256, + [Obsolete("Deprecated in favour of \"EarlyReturnOnFailureBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT")] + PipelineCreate2EarlyReturnOnFailureBit = 512, + [Obsolete("Deprecated in favour of \"NoProtectedAccessBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT")] + PipelineCreate2NoProtectedAccessBit = 134217728, + [Obsolete("Deprecated in favour of \"ProtectedAccessOnlyBit\"")] + [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT")] + PipelineCreate2ProtectedAccessOnlyBit = 1073741824, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT")] + DisableOptimizationBit = 1, + [NativeName("Name", "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT")] + AllowDerivativesBit = 2, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT")] + DerivativeBit = 4, + [NativeName("Name", "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT")] + ViewIndexFromDeviceIndexBit = 8, + [NativeName("Name", "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT")] + DispatchBaseBit = 16, + [NativeName("Name", "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT")] + FailOnPipelineCompileRequiredBit = 256, + [NativeName("Name", "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT")] + EarlyReturnOnFailureBit = 512, + [NativeName("Name", "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT")] + NoProtectedAccessBit = 134217728, + [NativeName("Name", "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT")] + ProtectedAccessOnlyBit = 1073741824, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlags.gen.cs index c3d4efef13..3b53b242e1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlags.gen.cs @@ -18,32 +18,17 @@ public enum PipelineCreationFeedbackFlags : int [Obsolete("Deprecated in favour of \"ValidBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT")] PipelineCreationFeedbackValidBit = 1, - [Obsolete("Deprecated in favour of \"ValidBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT")] - PipelineCreationFeedbackValidBitExt = 1, [Obsolete("Deprecated in favour of \"ApplicationPipelineCacheHitBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT")] PipelineCreationFeedbackApplicationPipelineCacheHitBit = 2, - [Obsolete("Deprecated in favour of \"ApplicationPipelineCacheHitBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT")] - PipelineCreationFeedbackApplicationPipelineCacheHitBitExt = 2, [Obsolete("Deprecated in favour of \"BasePipelineAccelerationBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT")] PipelineCreationFeedbackBasePipelineAccelerationBit = 4, - [Obsolete("Deprecated in favour of \"BasePipelineAccelerationBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT")] - PipelineCreationFeedbackBasePipelineAccelerationBitExt = 4, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT")] ValidBit = 1, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT")] - ValidBitExt = 1, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT")] ApplicationPipelineCacheHitBit = 2, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT")] - ApplicationPipelineCacheHitBitExt = 2, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT")] BasePipelineAccelerationBit = 4, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT")] - BasePipelineAccelerationBitExt = 4, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlagsEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlagsEXT.gen.cs index 7f3714262c..03590c1247 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlagsEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineCreationFeedbackFlagsEXT.gen.cs @@ -18,32 +18,17 @@ public enum PipelineCreationFeedbackFlagsEXT : int [Obsolete("Deprecated in favour of \"ValidBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT")] PipelineCreationFeedbackValidBit = 1, - [Obsolete("Deprecated in favour of \"ValidBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT")] - PipelineCreationFeedbackValidBitExt = 1, [Obsolete("Deprecated in favour of \"ApplicationPipelineCacheHitBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT")] PipelineCreationFeedbackApplicationPipelineCacheHitBit = 2, - [Obsolete("Deprecated in favour of \"ApplicationPipelineCacheHitBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT")] - PipelineCreationFeedbackApplicationPipelineCacheHitBitExt = 2, [Obsolete("Deprecated in favour of \"BasePipelineAccelerationBit\"")] [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT")] PipelineCreationFeedbackBasePipelineAccelerationBit = 4, - [Obsolete("Deprecated in favour of \"BasePipelineAccelerationBitExt\"")] - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT")] - PipelineCreationFeedbackBasePipelineAccelerationBitExt = 4, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT")] ValidBit = 1, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT")] - ValidBitExt = 1, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT")] ApplicationPipelineCacheHitBit = 2, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT")] - ApplicationPipelineCacheHitBitExt = 2, [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT")] BasePipelineAccelerationBit = 4, - [NativeName("Name", "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT")] - BasePipelineAccelerationBitExt = 4, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehavior.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehavior.gen.cs new file mode 100644 index 0000000000..30df59310b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehavior.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineRobustnessBufferBehavior")] + public enum PipelineRobustnessBufferBehavior : int + { + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT")] + DeviceDefault = 0, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED")] + Disabled = 1, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS")] + RobustBufferAccess = 2, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2")] + RobustBufferAccess2 = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehaviorEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehaviorEXT.gen.cs index 22b4a4be18..c4c48c65cc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehaviorEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessBufferBehaviorEXT.gen.cs @@ -12,25 +12,25 @@ namespace Silk.NET.Vulkan [NativeName("Name", "VkPipelineRobustnessBufferBehaviorEXT")] public enum PipelineRobustnessBufferBehaviorEXT : int { - [Obsolete("Deprecated in favour of \"DeviceDefaultExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT_EXT")] - PipelineRobustnessBufferBehaviorDeviceDefaultExt = 0, - [Obsolete("Deprecated in favour of \"DisabledExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED_EXT")] - PipelineRobustnessBufferBehaviorDisabledExt = 1, - [Obsolete("Deprecated in favour of \"RobustBufferAccessExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_EXT")] - PipelineRobustnessBufferBehaviorRobustBufferAccessExt = 2, - [Obsolete("Deprecated in favour of \"RobustBufferAccess2Ext\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2_EXT")] - PipelineRobustnessBufferBehaviorRobustBufferAccess2Ext = 3, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT_EXT")] - DeviceDefaultExt = 0, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED_EXT")] - DisabledExt = 1, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_EXT")] - RobustBufferAccessExt = 2, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2_EXT")] - RobustBufferAccess2Ext = 3, + [Obsolete("Deprecated in favour of \"DeviceDefault\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT")] + PipelineRobustnessBufferBehaviorDeviceDefault = 0, + [Obsolete("Deprecated in favour of \"Disabled\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED")] + PipelineRobustnessBufferBehaviorDisabled = 1, + [Obsolete("Deprecated in favour of \"RobustBufferAccess\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS")] + PipelineRobustnessBufferBehaviorRobustBufferAccess = 2, + [Obsolete("Deprecated in favour of \"RobustBufferAccess2\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2")] + PipelineRobustnessBufferBehaviorRobustBufferAccess2 = 3, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT")] + DeviceDefault = 0, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED")] + Disabled = 1, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS")] + RobustBufferAccess = 2, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2")] + RobustBufferAccess2 = 3, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehavior.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehavior.gen.cs new file mode 100644 index 0000000000..83b8372a1d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehavior.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineRobustnessImageBehavior")] + public enum PipelineRobustnessImageBehavior : int + { + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT")] + DeviceDefault = 0, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED")] + Disabled = 1, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS")] + RobustImageAccess = 2, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2")] + RobustImageAccess2 = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehaviorEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehaviorEXT.gen.cs index 6ff218e357..210f19c6c5 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehaviorEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineRobustnessImageBehaviorEXT.gen.cs @@ -12,25 +12,25 @@ namespace Silk.NET.Vulkan [NativeName("Name", "VkPipelineRobustnessImageBehaviorEXT")] public enum PipelineRobustnessImageBehaviorEXT : int { - [Obsolete("Deprecated in favour of \"DeviceDefaultExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT_EXT")] - PipelineRobustnessImageBehaviorDeviceDefaultExt = 0, - [Obsolete("Deprecated in favour of \"DisabledExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED_EXT")] - PipelineRobustnessImageBehaviorDisabledExt = 1, - [Obsolete("Deprecated in favour of \"RobustImageAccessExt\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_EXT")] - PipelineRobustnessImageBehaviorRobustImageAccessExt = 2, - [Obsolete("Deprecated in favour of \"RobustImageAccess2Ext\"")] - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2_EXT")] - PipelineRobustnessImageBehaviorRobustImageAccess2Ext = 3, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT_EXT")] - DeviceDefaultExt = 0, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED_EXT")] - DisabledExt = 1, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_EXT")] - RobustImageAccessExt = 2, - [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2_EXT")] - RobustImageAccess2Ext = 3, + [Obsolete("Deprecated in favour of \"DeviceDefault\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT")] + PipelineRobustnessImageBehaviorDeviceDefault = 0, + [Obsolete("Deprecated in favour of \"Disabled\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED")] + PipelineRobustnessImageBehaviorDisabled = 1, + [Obsolete("Deprecated in favour of \"RobustImageAccess\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS")] + PipelineRobustnessImageBehaviorRobustImageAccess = 2, + [Obsolete("Deprecated in favour of \"RobustImageAccess2\"")] + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2")] + PipelineRobustnessImageBehaviorRobustImageAccess2 = 3, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT")] + DeviceDefault = 0, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED")] + Disabled = 1, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS")] + RobustImageAccess = 2, + [NativeName("Name", "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2")] + RobustImageAccess2 = 3, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2.gen.cs index 7f079d4cf1..9454b197f3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2.gen.cs @@ -16,159 +16,81 @@ public enum PipelineStageFlags2 : long [Obsolete("Deprecated in favour of \"None\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE")] PipelineStage2None = 0, - [Obsolete("Deprecated in favour of \"NoneKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE_KHR")] - PipelineStage2NoneKhr = 0, [Obsolete("Deprecated in favour of \"TopOfPipeBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT")] PipelineStage2TopOfPipeBit = 1, - [Obsolete("Deprecated in favour of \"TopOfPipeBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR")] - PipelineStage2TopOfPipeBitKhr = 1, [Obsolete("Deprecated in favour of \"DrawIndirectBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT")] PipelineStage2DrawIndirectBit = 2, - [Obsolete("Deprecated in favour of \"DrawIndirectBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR")] - PipelineStage2DrawIndirectBitKhr = 2, [Obsolete("Deprecated in favour of \"VertexInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT")] PipelineStage2VertexInputBit = 4, - [Obsolete("Deprecated in favour of \"VertexInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR")] - PipelineStage2VertexInputBitKhr = 4, [Obsolete("Deprecated in favour of \"VertexShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT")] PipelineStage2VertexShaderBit = 8, - [Obsolete("Deprecated in favour of \"VertexShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR")] - PipelineStage2VertexShaderBitKhr = 8, [Obsolete("Deprecated in favour of \"TessellationControlShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT")] PipelineStage2TessellationControlShaderBit = 16, - [Obsolete("Deprecated in favour of \"TessellationControlShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR")] - PipelineStage2TessellationControlShaderBitKhr = 16, [Obsolete("Deprecated in favour of \"TessellationEvaluationShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT")] PipelineStage2TessellationEvaluationShaderBit = 32, - [Obsolete("Deprecated in favour of \"TessellationEvaluationShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR")] - PipelineStage2TessellationEvaluationShaderBitKhr = 32, [Obsolete("Deprecated in favour of \"GeometryShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT")] PipelineStage2GeometryShaderBit = 64, - [Obsolete("Deprecated in favour of \"GeometryShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR")] - PipelineStage2GeometryShaderBitKhr = 64, [Obsolete("Deprecated in favour of \"FragmentShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT")] PipelineStage2FragmentShaderBit = 128, - [Obsolete("Deprecated in favour of \"FragmentShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR")] - PipelineStage2FragmentShaderBitKhr = 128, [Obsolete("Deprecated in favour of \"EarlyFragmentTestsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT")] PipelineStage2EarlyFragmentTestsBit = 256, - [Obsolete("Deprecated in favour of \"EarlyFragmentTestsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR")] - PipelineStage2EarlyFragmentTestsBitKhr = 256, [Obsolete("Deprecated in favour of \"LateFragmentTestsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT")] PipelineStage2LateFragmentTestsBit = 512, - [Obsolete("Deprecated in favour of \"LateFragmentTestsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR")] - PipelineStage2LateFragmentTestsBitKhr = 512, [Obsolete("Deprecated in favour of \"ColorAttachmentOutputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT")] PipelineStage2ColorAttachmentOutputBit = 1024, - [Obsolete("Deprecated in favour of \"ColorAttachmentOutputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR")] - PipelineStage2ColorAttachmentOutputBitKhr = 1024, [Obsolete("Deprecated in favour of \"ComputeShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT")] PipelineStage2ComputeShaderBit = 2048, - [Obsolete("Deprecated in favour of \"ComputeShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR")] - PipelineStage2ComputeShaderBitKhr = 2048, [Obsolete("Deprecated in favour of \"AllTransferBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT")] PipelineStage2AllTransferBit = 4096, - [Obsolete("Deprecated in favour of \"AllTransferBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR")] - PipelineStage2AllTransferBitKhr = 4096, [Obsolete("Deprecated in favour of \"TransferBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT")] PipelineStage2TransferBit = 4096, - [Obsolete("Deprecated in favour of \"TransferBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR")] - PipelineStage2TransferBitKhr = 4096, [Obsolete("Deprecated in favour of \"BottomOfPipeBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT")] PipelineStage2BottomOfPipeBit = 8192, - [Obsolete("Deprecated in favour of \"BottomOfPipeBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR")] - PipelineStage2BottomOfPipeBitKhr = 8192, [Obsolete("Deprecated in favour of \"HostBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT")] PipelineStage2HostBit = 16384, - [Obsolete("Deprecated in favour of \"HostBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT_KHR")] - PipelineStage2HostBitKhr = 16384, [Obsolete("Deprecated in favour of \"AllGraphicsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT")] PipelineStage2AllGraphicsBit = 32768, - [Obsolete("Deprecated in favour of \"AllGraphicsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR")] - PipelineStage2AllGraphicsBitKhr = 32768, [Obsolete("Deprecated in favour of \"AllCommandsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT")] PipelineStage2AllCommandsBit = 65536, - [Obsolete("Deprecated in favour of \"AllCommandsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR")] - PipelineStage2AllCommandsBitKhr = 65536, [Obsolete("Deprecated in favour of \"CopyBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT")] PipelineStage2CopyBit = 4294967296, - [Obsolete("Deprecated in favour of \"CopyBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT_KHR")] - PipelineStage2CopyBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"ResolveBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT")] PipelineStage2ResolveBit = 8589934592, - [Obsolete("Deprecated in favour of \"ResolveBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR")] - PipelineStage2ResolveBitKhr = 8589934592, [Obsolete("Deprecated in favour of \"BlitBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT")] PipelineStage2BlitBit = 17179869184, - [Obsolete("Deprecated in favour of \"BlitBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT_KHR")] - PipelineStage2BlitBitKhr = 17179869184, [Obsolete("Deprecated in favour of \"ClearBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT")] PipelineStage2ClearBit = 34359738368, - [Obsolete("Deprecated in favour of \"ClearBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR")] - PipelineStage2ClearBitKhr = 34359738368, [Obsolete("Deprecated in favour of \"IndexInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT")] PipelineStage2IndexInputBit = 68719476736, - [Obsolete("Deprecated in favour of \"IndexInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR")] - PipelineStage2IndexInputBitKhr = 68719476736, [Obsolete("Deprecated in favour of \"VertexAttributeInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT")] PipelineStage2VertexAttributeInputBit = 137438953472, - [Obsolete("Deprecated in favour of \"VertexAttributeInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR")] - PipelineStage2VertexAttributeInputBitKhr = 137438953472, [Obsolete("Deprecated in favour of \"PreRasterizationShadersBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT")] PipelineStage2PreRasterizationShadersBit = 274877906944, - [Obsolete("Deprecated in favour of \"PreRasterizationShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR")] - PipelineStage2PreRasterizationShadersBitKhr = 274877906944, [Obsolete("Deprecated in favour of \"VideoDecodeBitKhr\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR")] PipelineStage2VideoDecodeBitKhr = 67108864, @@ -241,110 +163,64 @@ public enum PipelineStageFlags2 : long [Obsolete("Deprecated in favour of \"OpticalFlowBitNV\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV")] PipelineStage2OpticalFlowBitNV = 536870912, + [Obsolete("Deprecated in favour of \"ConvertCooperativeVectorMatrixBitNV\"")] + [NativeName("Name", "VK_PIPELINE_STAGE_2_CONVERT_COOPERATIVE_VECTOR_MATRIX_BIT_NV")] + PipelineStage2ConvertCooperativeVectorMatrixBitNV = 17592186044416, + [Obsolete("Deprecated in favour of \"DataGraphBitArm\"")] + [NativeName("Name", "VK_PIPELINE_STAGE_2_DATA_GRAPH_BIT_ARM")] + PipelineStage2DataGraphBitArm = 4398046511104, [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE")] None = 0, - [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE_KHR")] - NoneKhr = 0, [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT")] TopOfPipeBit = 1, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR")] - TopOfPipeBitKhr = 1, [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT")] DrawIndirectBit = 2, - [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR")] - DrawIndirectBitKhr = 2, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT")] VertexInputBit = 4, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR")] - VertexInputBitKhr = 4, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT")] VertexShaderBit = 8, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR")] - VertexShaderBitKhr = 8, [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT")] TessellationControlShaderBit = 16, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR")] - TessellationControlShaderBitKhr = 16, [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT")] TessellationEvaluationShaderBit = 32, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR")] - TessellationEvaluationShaderBitKhr = 32, [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT")] GeometryShaderBit = 64, - [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR")] - GeometryShaderBitKhr = 64, [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT")] FragmentShaderBit = 128, - [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR")] - FragmentShaderBitKhr = 128, [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT")] EarlyFragmentTestsBit = 256, - [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR")] - EarlyFragmentTestsBitKhr = 256, [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT")] LateFragmentTestsBit = 512, - [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR")] - LateFragmentTestsBitKhr = 512, [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT")] ColorAttachmentOutputBit = 1024, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR")] - ColorAttachmentOutputBitKhr = 1024, [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT")] ComputeShaderBit = 2048, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR")] - ComputeShaderBitKhr = 2048, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT")] AllTransferBit = 4096, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR")] - AllTransferBitKhr = 4096, [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT")] TransferBit = 4096, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR")] - TransferBitKhr = 4096, [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT")] BottomOfPipeBit = 8192, - [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR")] - BottomOfPipeBitKhr = 8192, [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT")] HostBit = 16384, - [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT_KHR")] - HostBitKhr = 16384, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT")] AllGraphicsBit = 32768, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR")] - AllGraphicsBitKhr = 32768, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT")] AllCommandsBit = 65536, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR")] - AllCommandsBitKhr = 65536, [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT")] CopyBit = 4294967296, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT_KHR")] - CopyBitKhr = 4294967296, [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT")] ResolveBit = 8589934592, - [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR")] - ResolveBitKhr = 8589934592, [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT")] BlitBit = 17179869184, - [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT_KHR")] - BlitBitKhr = 17179869184, [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT")] ClearBit = 34359738368, - [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR")] - ClearBitKhr = 34359738368, [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT")] IndexInputBit = 68719476736, - [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR")] - IndexInputBitKhr = 68719476736, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT")] VertexAttributeInputBit = 137438953472, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR")] - VertexAttributeInputBitKhr = 137438953472, [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT")] PreRasterizationShadersBit = 274877906944, - [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR")] - PreRasterizationShadersBitKhr = 274877906944, [NativeName("Name", "VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR")] VideoDecodeBitKhr = 67108864, [NativeName("Name", "VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR")] @@ -393,5 +269,9 @@ public enum PipelineStageFlags2 : long ClusterCullingShaderBitHuawei = 2199023255552, [NativeName("Name", "VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV")] OpticalFlowBitNV = 536870912, + [NativeName("Name", "VK_PIPELINE_STAGE_2_CONVERT_COOPERATIVE_VECTOR_MATRIX_BIT_NV")] + ConvertCooperativeVectorMatrixBitNV = 17592186044416, + [NativeName("Name", "VK_PIPELINE_STAGE_2_DATA_GRAPH_BIT_ARM")] + DataGraphBitArm = 4398046511104, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs index ef836474b1..dc17fc4c5b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs @@ -16,262 +16,132 @@ public enum PipelineStageFlags2KHR : long [Obsolete("Deprecated in favour of \"None\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE")] PipelineStage2None = 0, - [Obsolete("Deprecated in favour of \"NoneKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE_KHR")] - PipelineStage2NoneKhr = 0, [Obsolete("Deprecated in favour of \"TopOfPipeBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT")] PipelineStage2TopOfPipeBit = 1, - [Obsolete("Deprecated in favour of \"TopOfPipeBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR")] - PipelineStage2TopOfPipeBitKhr = 1, [Obsolete("Deprecated in favour of \"DrawIndirectBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT")] PipelineStage2DrawIndirectBit = 2, - [Obsolete("Deprecated in favour of \"DrawIndirectBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR")] - PipelineStage2DrawIndirectBitKhr = 2, [Obsolete("Deprecated in favour of \"VertexInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT")] PipelineStage2VertexInputBit = 4, - [Obsolete("Deprecated in favour of \"VertexInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR")] - PipelineStage2VertexInputBitKhr = 4, [Obsolete("Deprecated in favour of \"VertexShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT")] PipelineStage2VertexShaderBit = 8, - [Obsolete("Deprecated in favour of \"VertexShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR")] - PipelineStage2VertexShaderBitKhr = 8, [Obsolete("Deprecated in favour of \"TessellationControlShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT")] PipelineStage2TessellationControlShaderBit = 16, - [Obsolete("Deprecated in favour of \"TessellationControlShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR")] - PipelineStage2TessellationControlShaderBitKhr = 16, [Obsolete("Deprecated in favour of \"TessellationEvaluationShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT")] PipelineStage2TessellationEvaluationShaderBit = 32, - [Obsolete("Deprecated in favour of \"TessellationEvaluationShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR")] - PipelineStage2TessellationEvaluationShaderBitKhr = 32, [Obsolete("Deprecated in favour of \"GeometryShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT")] PipelineStage2GeometryShaderBit = 64, - [Obsolete("Deprecated in favour of \"GeometryShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR")] - PipelineStage2GeometryShaderBitKhr = 64, [Obsolete("Deprecated in favour of \"FragmentShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT")] PipelineStage2FragmentShaderBit = 128, - [Obsolete("Deprecated in favour of \"FragmentShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR")] - PipelineStage2FragmentShaderBitKhr = 128, [Obsolete("Deprecated in favour of \"EarlyFragmentTestsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT")] PipelineStage2EarlyFragmentTestsBit = 256, - [Obsolete("Deprecated in favour of \"EarlyFragmentTestsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR")] - PipelineStage2EarlyFragmentTestsBitKhr = 256, [Obsolete("Deprecated in favour of \"LateFragmentTestsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT")] PipelineStage2LateFragmentTestsBit = 512, - [Obsolete("Deprecated in favour of \"LateFragmentTestsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR")] - PipelineStage2LateFragmentTestsBitKhr = 512, [Obsolete("Deprecated in favour of \"ColorAttachmentOutputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT")] PipelineStage2ColorAttachmentOutputBit = 1024, - [Obsolete("Deprecated in favour of \"ColorAttachmentOutputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR")] - PipelineStage2ColorAttachmentOutputBitKhr = 1024, [Obsolete("Deprecated in favour of \"ComputeShaderBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT")] PipelineStage2ComputeShaderBit = 2048, - [Obsolete("Deprecated in favour of \"ComputeShaderBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR")] - PipelineStage2ComputeShaderBitKhr = 2048, [Obsolete("Deprecated in favour of \"AllTransferBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT")] PipelineStage2AllTransferBit = 4096, - [Obsolete("Deprecated in favour of \"AllTransferBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR")] - PipelineStage2AllTransferBitKhr = 4096, [Obsolete("Deprecated in favour of \"TransferBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT")] PipelineStage2TransferBit = 4096, - [Obsolete("Deprecated in favour of \"TransferBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR")] - PipelineStage2TransferBitKhr = 4096, [Obsolete("Deprecated in favour of \"BottomOfPipeBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT")] PipelineStage2BottomOfPipeBit = 8192, - [Obsolete("Deprecated in favour of \"BottomOfPipeBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR")] - PipelineStage2BottomOfPipeBitKhr = 8192, [Obsolete("Deprecated in favour of \"HostBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT")] PipelineStage2HostBit = 16384, - [Obsolete("Deprecated in favour of \"HostBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT_KHR")] - PipelineStage2HostBitKhr = 16384, [Obsolete("Deprecated in favour of \"AllGraphicsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT")] PipelineStage2AllGraphicsBit = 32768, - [Obsolete("Deprecated in favour of \"AllGraphicsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR")] - PipelineStage2AllGraphicsBitKhr = 32768, [Obsolete("Deprecated in favour of \"AllCommandsBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT")] PipelineStage2AllCommandsBit = 65536, - [Obsolete("Deprecated in favour of \"AllCommandsBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR")] - PipelineStage2AllCommandsBitKhr = 65536, [Obsolete("Deprecated in favour of \"CopyBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT")] PipelineStage2CopyBit = 4294967296, - [Obsolete("Deprecated in favour of \"CopyBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT_KHR")] - PipelineStage2CopyBitKhr = 4294967296, [Obsolete("Deprecated in favour of \"ResolveBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT")] PipelineStage2ResolveBit = 8589934592, - [Obsolete("Deprecated in favour of \"ResolveBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR")] - PipelineStage2ResolveBitKhr = 8589934592, [Obsolete("Deprecated in favour of \"BlitBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT")] PipelineStage2BlitBit = 17179869184, - [Obsolete("Deprecated in favour of \"BlitBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT_KHR")] - PipelineStage2BlitBitKhr = 17179869184, [Obsolete("Deprecated in favour of \"ClearBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT")] PipelineStage2ClearBit = 34359738368, - [Obsolete("Deprecated in favour of \"ClearBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR")] - PipelineStage2ClearBitKhr = 34359738368, [Obsolete("Deprecated in favour of \"IndexInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT")] PipelineStage2IndexInputBit = 68719476736, - [Obsolete("Deprecated in favour of \"IndexInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR")] - PipelineStage2IndexInputBitKhr = 68719476736, [Obsolete("Deprecated in favour of \"VertexAttributeInputBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT")] PipelineStage2VertexAttributeInputBit = 137438953472, - [Obsolete("Deprecated in favour of \"VertexAttributeInputBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR")] - PipelineStage2VertexAttributeInputBitKhr = 137438953472, [Obsolete("Deprecated in favour of \"PreRasterizationShadersBit\"")] [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT")] PipelineStage2PreRasterizationShadersBit = 274877906944, - [Obsolete("Deprecated in favour of \"PreRasterizationShadersBitKhr\"")] - [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR")] - PipelineStage2PreRasterizationShadersBitKhr = 274877906944, [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE")] None = 0, - [NativeName("Name", "VK_PIPELINE_STAGE_2_NONE_KHR")] - NoneKhr = 0, [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT")] TopOfPipeBit = 1, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR")] - TopOfPipeBitKhr = 1, [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT")] DrawIndirectBit = 2, - [NativeName("Name", "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR")] - DrawIndirectBitKhr = 2, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT")] VertexInputBit = 4, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR")] - VertexInputBitKhr = 4, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT")] VertexShaderBit = 8, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR")] - VertexShaderBitKhr = 8, [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT")] TessellationControlShaderBit = 16, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR")] - TessellationControlShaderBitKhr = 16, [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT")] TessellationEvaluationShaderBit = 32, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR")] - TessellationEvaluationShaderBitKhr = 32, [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT")] GeometryShaderBit = 64, - [NativeName("Name", "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR")] - GeometryShaderBitKhr = 64, [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT")] FragmentShaderBit = 128, - [NativeName("Name", "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR")] - FragmentShaderBitKhr = 128, [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT")] EarlyFragmentTestsBit = 256, - [NativeName("Name", "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR")] - EarlyFragmentTestsBitKhr = 256, [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT")] LateFragmentTestsBit = 512, - [NativeName("Name", "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR")] - LateFragmentTestsBitKhr = 512, [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT")] ColorAttachmentOutputBit = 1024, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR")] - ColorAttachmentOutputBitKhr = 1024, [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT")] ComputeShaderBit = 2048, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR")] - ComputeShaderBitKhr = 2048, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT")] AllTransferBit = 4096, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR")] - AllTransferBitKhr = 4096, [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT")] TransferBit = 4096, - [NativeName("Name", "VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR")] - TransferBitKhr = 4096, [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT")] BottomOfPipeBit = 8192, - [NativeName("Name", "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR")] - BottomOfPipeBitKhr = 8192, [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT")] HostBit = 16384, - [NativeName("Name", "VK_PIPELINE_STAGE_2_HOST_BIT_KHR")] - HostBitKhr = 16384, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT")] AllGraphicsBit = 32768, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR")] - AllGraphicsBitKhr = 32768, [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT")] AllCommandsBit = 65536, - [NativeName("Name", "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR")] - AllCommandsBitKhr = 65536, [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT")] CopyBit = 4294967296, - [NativeName("Name", "VK_PIPELINE_STAGE_2_COPY_BIT_KHR")] - CopyBitKhr = 4294967296, [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT")] ResolveBit = 8589934592, - [NativeName("Name", "VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR")] - ResolveBitKhr = 8589934592, [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT")] BlitBit = 17179869184, - [NativeName("Name", "VK_PIPELINE_STAGE_2_BLIT_BIT_KHR")] - BlitBitKhr = 17179869184, [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT")] ClearBit = 34359738368, - [NativeName("Name", "VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR")] - ClearBitKhr = 34359738368, [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT")] IndexInputBit = 68719476736, - [NativeName("Name", "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR")] - IndexInputBitKhr = 68719476736, [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT")] VertexAttributeInputBit = 137438953472, - [NativeName("Name", "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR")] - VertexAttributeInputBitKhr = 137438953472, [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT")] PreRasterizationShadersBit = 274877906944, - [NativeName("Name", "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR")] - PreRasterizationShadersBitKhr = 274877906944, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsEXT.gen.cs index f87966094d..db205b5dd9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsEXT.gen.cs @@ -15,19 +15,34 @@ public enum PresentGravityFlagsEXT : int { [NativeName("Name", "")] None = 0, + [Obsolete("Deprecated in favour of \"MinBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_KHR")] + PresentGravityMinBitKhr = 1, [Obsolete("Deprecated in favour of \"MinBitExt\"")] [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_EXT")] PresentGravityMinBitExt = 1, + [Obsolete("Deprecated in favour of \"MaxBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_KHR")] + PresentGravityMaxBitKhr = 2, [Obsolete("Deprecated in favour of \"MaxBitExt\"")] [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_EXT")] PresentGravityMaxBitExt = 2, + [Obsolete("Deprecated in favour of \"CenteredBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_KHR")] + PresentGravityCenteredBitKhr = 4, [Obsolete("Deprecated in favour of \"CenteredBitExt\"")] [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_EXT")] PresentGravityCenteredBitExt = 4, + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_KHR")] + MinBitKhr = 1, [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_EXT")] MinBitExt = 1, + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_KHR")] + MaxBitKhr = 2, [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_EXT")] MaxBitExt = 2, + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_KHR")] + CenteredBitKhr = 4, [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_EXT")] CenteredBitExt = 4, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsKHR.gen.cs new file mode 100644 index 0000000000..5585f5799a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentGravityFlagsKHR.gen.cs @@ -0,0 +1,49 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkPresentGravityFlagsKHR")] + public enum PresentGravityFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"MinBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_KHR")] + PresentGravityMinBitKhr = 1, + [Obsolete("Deprecated in favour of \"MinBitExt\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_EXT")] + PresentGravityMinBitExt = 1, + [Obsolete("Deprecated in favour of \"MaxBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_KHR")] + PresentGravityMaxBitKhr = 2, + [Obsolete("Deprecated in favour of \"MaxBitExt\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_EXT")] + PresentGravityMaxBitExt = 2, + [Obsolete("Deprecated in favour of \"CenteredBitKhr\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_KHR")] + PresentGravityCenteredBitKhr = 4, + [Obsolete("Deprecated in favour of \"CenteredBitExt\"")] + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_EXT")] + PresentGravityCenteredBitExt = 4, + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_KHR")] + MinBitKhr = 1, + [NativeName("Name", "VK_PRESENT_GRAVITY_MIN_BIT_EXT")] + MinBitExt = 1, + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_KHR")] + MaxBitKhr = 2, + [NativeName("Name", "VK_PRESENT_GRAVITY_MAX_BIT_EXT")] + MaxBitExt = 2, + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_KHR")] + CenteredBitKhr = 4, + [NativeName("Name", "VK_PRESENT_GRAVITY_CENTERED_BIT_EXT")] + CenteredBitExt = 4, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentModeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentModeKHR.gen.cs index 34814b0af6..acd7e5a117 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentModeKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentModeKHR.gen.cs @@ -33,6 +33,9 @@ public enum PresentModeKHR : int [Obsolete("Deprecated in favour of \"FifoLatestReadyExt\"")] [NativeName("Name", "VK_PRESENT_MODE_FIFO_LATEST_READY_EXT")] PresentModeFifoLatestReadyExt = 1000361000, + [Obsolete("Deprecated in favour of \"FifoLatestReadyKhr\"")] + [NativeName("Name", "VK_PRESENT_MODE_FIFO_LATEST_READY_KHR")] + PresentModeFifoLatestReadyKhr = 1000361000, [NativeName("Name", "VK_PRESENT_MODE_IMMEDIATE_KHR")] ImmediateKhr = 0, [NativeName("Name", "VK_PRESENT_MODE_MAILBOX_KHR")] @@ -47,5 +50,7 @@ public enum PresentModeKHR : int SharedContinuousRefreshKhr = 1000111001, [NativeName("Name", "VK_PRESENT_MODE_FIFO_LATEST_READY_EXT")] FifoLatestReadyExt = 1000361000, + [NativeName("Name", "VK_PRESENT_MODE_FIFO_LATEST_READY_KHR")] + FifoLatestReadyKhr = 1000361000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsEXT.gen.cs index 08d3c50bc0..19089b7abc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsEXT.gen.cs @@ -15,19 +15,34 @@ public enum PresentScalingFlagsEXT : int { [NativeName("Name", "")] None = 0, + [Obsolete("Deprecated in favour of \"OneToOneBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_KHR")] + PresentScalingOneToOneBitKhr = 1, [Obsolete("Deprecated in favour of \"OneToOneBitExt\"")] [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT")] PresentScalingOneToOneBitExt = 1, + [Obsolete("Deprecated in favour of \"AspectRatioStretchBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_KHR")] + PresentScalingAspectRatioStretchBitKhr = 2, [Obsolete("Deprecated in favour of \"AspectRatioStretchBitExt\"")] [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT")] PresentScalingAspectRatioStretchBitExt = 2, + [Obsolete("Deprecated in favour of \"StretchBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_KHR")] + PresentScalingStretchBitKhr = 4, [Obsolete("Deprecated in favour of \"StretchBitExt\"")] [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_EXT")] PresentScalingStretchBitExt = 4, + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_KHR")] + OneToOneBitKhr = 1, [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT")] OneToOneBitExt = 1, + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_KHR")] + AspectRatioStretchBitKhr = 2, [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT")] AspectRatioStretchBitExt = 2, + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_KHR")] + StretchBitKhr = 4, [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_EXT")] StretchBitExt = 4, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsKHR.gen.cs new file mode 100644 index 0000000000..48de6b4ee2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PresentScalingFlagsKHR.gen.cs @@ -0,0 +1,49 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkPresentScalingFlagsKHR")] + public enum PresentScalingFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"OneToOneBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_KHR")] + PresentScalingOneToOneBitKhr = 1, + [Obsolete("Deprecated in favour of \"OneToOneBitExt\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT")] + PresentScalingOneToOneBitExt = 1, + [Obsolete("Deprecated in favour of \"AspectRatioStretchBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_KHR")] + PresentScalingAspectRatioStretchBitKhr = 2, + [Obsolete("Deprecated in favour of \"AspectRatioStretchBitExt\"")] + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT")] + PresentScalingAspectRatioStretchBitExt = 2, + [Obsolete("Deprecated in favour of \"StretchBitKhr\"")] + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_KHR")] + PresentScalingStretchBitKhr = 4, + [Obsolete("Deprecated in favour of \"StretchBitExt\"")] + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_EXT")] + PresentScalingStretchBitExt = 4, + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_KHR")] + OneToOneBitKhr = 1, + [NativeName("Name", "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT")] + OneToOneBitExt = 1, + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_KHR")] + AspectRatioStretchBitKhr = 2, + [NativeName("Name", "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT")] + AspectRatioStretchBitExt = 2, + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_KHR")] + StretchBitKhr = 4, + [NativeName("Name", "VK_PRESENT_SCALING_STRETCH_BIT_EXT")] + StretchBitExt = 4, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/QueryPoolCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/QueryPoolCreateFlags.gen.cs new file mode 100644 index 0000000000..f550dea989 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/QueryPoolCreateFlags.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkQueryPoolCreateFlags")] + public enum QueryPoolCreateFlags : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"ResetBitKhr\"")] + [NativeName("Name", "VK_QUERY_POOL_CREATE_RESET_BIT_KHR")] + QueryPoolCreateResetBitKhr = 1, + [NativeName("Name", "VK_QUERY_POOL_CREATE_RESET_BIT_KHR")] + ResetBitKhr = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueFlags.gen.cs index 700e1d4945..3709b3b6d2 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueFlags.gen.cs @@ -36,6 +36,9 @@ public enum QueueFlags : int [Obsolete("Deprecated in favour of \"OpticalFlowBitNV\"")] [NativeName("Name", "VK_QUEUE_OPTICAL_FLOW_BIT_NV")] QueueOpticalFlowBitNV = 256, + [Obsolete("Deprecated in favour of \"DataGraphBitArm\"")] + [NativeName("Name", "VK_QUEUE_DATA_GRAPH_BIT_ARM")] + QueueDataGraphBitArm = 1024, [Obsolete("Deprecated in favour of \"ProtectedBit\"")] [NativeName("Name", "VK_QUEUE_PROTECTED_BIT")] QueueProtectedBit = 16, @@ -53,6 +56,8 @@ public enum QueueFlags : int VideoEncodeBitKhr = 64, [NativeName("Name", "VK_QUEUE_OPTICAL_FLOW_BIT_NV")] OpticalFlowBitNV = 256, + [NativeName("Name", "VK_QUEUE_DATA_GRAPH_BIT_ARM")] + DataGraphBitArm = 1024, [NativeName("Name", "VK_QUEUE_PROTECTED_BIT")] ProtectedBit = 16, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriority.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriority.gen.cs new file mode 100644 index 0000000000..555366861a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriority.gen.cs @@ -0,0 +1,27 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkQueueGlobalPriority")] + public enum QueueGlobalPriority : int + { + [NativeName("Name", "")] + None = 0, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW")] + Low = 128, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM")] + Medium = 256, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH")] + High = 512, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME")] + Realtime = 1024, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityEXT.gen.cs index b2adfd5564..a7bab96871 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityEXT.gen.cs @@ -15,45 +15,25 @@ public enum QueueGlobalPriorityEXT : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"LowKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR")] - QueueGlobalPriorityLowKhr = 128, - [Obsolete("Deprecated in favour of \"MediumKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR")] - QueueGlobalPriorityMediumKhr = 256, - [Obsolete("Deprecated in favour of \"HighKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR")] - QueueGlobalPriorityHighKhr = 512, - [Obsolete("Deprecated in favour of \"RealtimeKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR")] - QueueGlobalPriorityRealtimeKhr = 1024, - [Obsolete("Deprecated in favour of \"LowExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT")] - QueueGlobalPriorityLowExt = 128, - [Obsolete("Deprecated in favour of \"MediumExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT")] - QueueGlobalPriorityMediumExt = 256, - [Obsolete("Deprecated in favour of \"HighExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT")] - QueueGlobalPriorityHighExt = 512, - [Obsolete("Deprecated in favour of \"RealtimeExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT")] - QueueGlobalPriorityRealtimeExt = 1024, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR")] - LowKhr = 128, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR")] - MediumKhr = 256, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR")] - HighKhr = 512, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR")] - RealtimeKhr = 1024, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT")] - LowExt = 128, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT")] - MediumExt = 256, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT")] - HighExt = 512, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT")] - RealtimeExt = 1024, + [Obsolete("Deprecated in favour of \"Low\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW")] + QueueGlobalPriorityLow = 128, + [Obsolete("Deprecated in favour of \"Medium\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM")] + QueueGlobalPriorityMedium = 256, + [Obsolete("Deprecated in favour of \"High\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH")] + QueueGlobalPriorityHigh = 512, + [Obsolete("Deprecated in favour of \"Realtime\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME")] + QueueGlobalPriorityRealtime = 1024, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW")] + Low = 128, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM")] + Medium = 256, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH")] + High = 512, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME")] + Realtime = 1024, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityKHR.gen.cs index 08778d734a..c9d477d592 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/QueueGlobalPriorityKHR.gen.cs @@ -15,45 +15,25 @@ public enum QueueGlobalPriorityKHR : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"LowKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR")] - QueueGlobalPriorityLowKhr = 128, - [Obsolete("Deprecated in favour of \"MediumKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR")] - QueueGlobalPriorityMediumKhr = 256, - [Obsolete("Deprecated in favour of \"HighKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR")] - QueueGlobalPriorityHighKhr = 512, - [Obsolete("Deprecated in favour of \"RealtimeKhr\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR")] - QueueGlobalPriorityRealtimeKhr = 1024, - [Obsolete("Deprecated in favour of \"LowExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT")] - QueueGlobalPriorityLowExt = 128, - [Obsolete("Deprecated in favour of \"MediumExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT")] - QueueGlobalPriorityMediumExt = 256, - [Obsolete("Deprecated in favour of \"HighExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT")] - QueueGlobalPriorityHighExt = 512, - [Obsolete("Deprecated in favour of \"RealtimeExt\"")] - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT")] - QueueGlobalPriorityRealtimeExt = 1024, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR")] - LowKhr = 128, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR")] - MediumKhr = 256, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR")] - HighKhr = 512, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR")] - RealtimeKhr = 1024, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT")] - LowExt = 128, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT")] - MediumExt = 256, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT")] - HighExt = 512, - [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT")] - RealtimeExt = 1024, + [Obsolete("Deprecated in favour of \"Low\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW")] + QueueGlobalPriorityLow = 128, + [Obsolete("Deprecated in favour of \"Medium\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM")] + QueueGlobalPriorityMedium = 256, + [Obsolete("Deprecated in favour of \"High\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH")] + QueueGlobalPriorityHigh = 512, + [Obsolete("Deprecated in favour of \"Realtime\"")] + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME")] + QueueGlobalPriorityRealtime = 1024, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_LOW")] + Low = 128, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM")] + Medium = 256, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_HIGH")] + High = 512, + [NativeName("Name", "VK_QUEUE_GLOBAL_PRIORITY_REALTIME")] + Realtime = 1024, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssIndexingModeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssIndexingModeNV.gen.cs new file mode 100644 index 0000000000..a0b6ae6e03 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssIndexingModeNV.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRayTracingLssIndexingModeNV")] + public enum RayTracingLssIndexingModeNV : int + { + [Obsolete("Deprecated in favour of \"ListNV\"")] + [NativeName("Name", "VK_RAY_TRACING_LSS_INDEXING_MODE_LIST_NV")] + RayTracingLssIndexingModeListNV = 0, + [Obsolete("Deprecated in favour of \"SuccessiveNV\"")] + [NativeName("Name", "VK_RAY_TRACING_LSS_INDEXING_MODE_SUCCESSIVE_NV")] + RayTracingLssIndexingModeSuccessiveNV = 1, + [NativeName("Name", "VK_RAY_TRACING_LSS_INDEXING_MODE_LIST_NV")] + ListNV = 0, + [NativeName("Name", "VK_RAY_TRACING_LSS_INDEXING_MODE_SUCCESSIVE_NV")] + SuccessiveNV = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssPrimitiveEndCapsModeNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssPrimitiveEndCapsModeNV.gen.cs new file mode 100644 index 0000000000..3a690df2f7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/RayTracingLssPrimitiveEndCapsModeNV.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRayTracingLssPrimitiveEndCapsModeNV")] + public enum RayTracingLssPrimitiveEndCapsModeNV : int + { + [Obsolete("Deprecated in favour of \"NoneNV\"")] + [NativeName("Name", "VK_RAY_TRACING_LSS_PRIMITIVE_END_CAPS_MODE_NONE_NV")] + RayTracingLssPrimitiveEndCapsModeNoneNV = 0, + [Obsolete("Deprecated in favour of \"ChainedNV\"")] + [NativeName("Name", "VK_RAY_TRACING_LSS_PRIMITIVE_END_CAPS_MODE_CHAINED_NV")] + RayTracingLssPrimitiveEndCapsModeChainedNV = 1, + [NativeName("Name", "VK_RAY_TRACING_LSS_PRIMITIVE_END_CAPS_MODE_NONE_NV")] + NoneNV = 0, + [NativeName("Name", "VK_RAY_TRACING_LSS_PRIMITIVE_END_CAPS_MODE_CHAINED_NV")] + ChainedNV = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderPassCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderPassCreateFlags.gen.cs index 18048e9146..d003de9def 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderPassCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderPassCreateFlags.gen.cs @@ -18,7 +18,12 @@ public enum RenderPassCreateFlags : int [Obsolete("Deprecated in favour of \"TransformBitQCom\"")] [NativeName("Name", "VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM")] RenderPassCreateTransformBitQCom = 2, + [Obsolete("Deprecated in favour of \"PerLayerFragmentDensityBitValve\"")] + [NativeName("Name", "VK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + RenderPassCreatePerLayerFragmentDensityBitValve = 4, [NativeName("Name", "VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM")] TransformBitQCom = 2, + [NativeName("Name", "VK_RENDER_PASS_CREATE_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + PerLayerFragmentDensityBitValve = 4, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlags.gen.cs index a6a0a91e5d..e942bb210d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlags.gen.cs @@ -18,21 +18,12 @@ public enum RenderingFlags : int [Obsolete("Deprecated in favour of \"ContentsSecondaryCommandBuffersBit\"")] [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT")] RenderingContentsSecondaryCommandBuffersBit = 1, - [Obsolete("Deprecated in favour of \"ContentsSecondaryCommandBuffersBitKhr\"")] - [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR")] - RenderingContentsSecondaryCommandBuffersBitKhr = 1, [Obsolete("Deprecated in favour of \"SuspendingBit\"")] [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT")] RenderingSuspendingBit = 2, - [Obsolete("Deprecated in favour of \"SuspendingBitKhr\"")] - [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT_KHR")] - RenderingSuspendingBitKhr = 2, [Obsolete("Deprecated in favour of \"ResumingBit\"")] [NativeName("Name", "VK_RENDERING_RESUMING_BIT")] RenderingResumingBit = 4, - [Obsolete("Deprecated in favour of \"ResumingBitKhr\"")] - [NativeName("Name", "VK_RENDERING_RESUMING_BIT_KHR")] - RenderingResumingBitKhr = 4, [Obsolete("Deprecated in favour of \"ContentsInlineBitExt\"")] [NativeName("Name", "VK_RENDERING_CONTENTS_INLINE_BIT_EXT")] RenderingContentsInlineBitExt = 16, @@ -42,23 +33,22 @@ public enum RenderingFlags : int [Obsolete("Deprecated in favour of \"ContentsInlineBitKhr\"")] [NativeName("Name", "VK_RENDERING_CONTENTS_INLINE_BIT_KHR")] RenderingContentsInlineBitKhr = 16, + [Obsolete("Deprecated in favour of \"PerLayerFragmentDensityBitValve\"")] + [NativeName("Name", "VK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + RenderingPerLayerFragmentDensityBitValve = 32, [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT")] ContentsSecondaryCommandBuffersBit = 1, - [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR")] - ContentsSecondaryCommandBuffersBitKhr = 1, [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT")] SuspendingBit = 2, - [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT_KHR")] - SuspendingBitKhr = 2, [NativeName("Name", "VK_RENDERING_RESUMING_BIT")] ResumingBit = 4, - [NativeName("Name", "VK_RENDERING_RESUMING_BIT_KHR")] - ResumingBitKhr = 4, [NativeName("Name", "VK_RENDERING_CONTENTS_INLINE_BIT_EXT")] ContentsInlineBitExt = 16, [NativeName("Name", "VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT")] EnableLegacyDitheringBitExt = 8, [NativeName("Name", "VK_RENDERING_CONTENTS_INLINE_BIT_KHR")] ContentsInlineBitKhr = 16, + [NativeName("Name", "VK_RENDERING_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] + PerLayerFragmentDensityBitValve = 32, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlagsKHR.gen.cs index c6a4cc653d..94a2d195e8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/RenderingFlagsKHR.gen.cs @@ -18,32 +18,17 @@ public enum RenderingFlagsKHR : int [Obsolete("Deprecated in favour of \"ContentsSecondaryCommandBuffersBit\"")] [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT")] RenderingContentsSecondaryCommandBuffersBit = 1, - [Obsolete("Deprecated in favour of \"ContentsSecondaryCommandBuffersBitKhr\"")] - [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR")] - RenderingContentsSecondaryCommandBuffersBitKhr = 1, [Obsolete("Deprecated in favour of \"SuspendingBit\"")] [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT")] RenderingSuspendingBit = 2, - [Obsolete("Deprecated in favour of \"SuspendingBitKhr\"")] - [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT_KHR")] - RenderingSuspendingBitKhr = 2, [Obsolete("Deprecated in favour of \"ResumingBit\"")] [NativeName("Name", "VK_RENDERING_RESUMING_BIT")] RenderingResumingBit = 4, - [Obsolete("Deprecated in favour of \"ResumingBitKhr\"")] - [NativeName("Name", "VK_RENDERING_RESUMING_BIT_KHR")] - RenderingResumingBitKhr = 4, [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT")] ContentsSecondaryCommandBuffersBit = 1, - [NativeName("Name", "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR")] - ContentsSecondaryCommandBuffersBitKhr = 1, [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT")] SuspendingBit = 2, - [NativeName("Name", "VK_RENDERING_SUSPENDING_BIT_KHR")] - SuspendingBitKhr = 2, [NativeName("Name", "VK_RENDERING_RESUMING_BIT")] ResumingBit = 4, - [NativeName("Name", "VK_RENDERING_RESUMING_BIT_KHR")] - ResumingBitKhr = 4, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ResolveModeFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ResolveModeFlags.gen.cs index 4c8849f19d..57fe9f745d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ResolveModeFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ResolveModeFlags.gen.cs @@ -28,6 +28,9 @@ public enum ResolveModeFlags : int [Obsolete("Deprecated in favour of \"MaxBit\"")] [NativeName("Name", "VK_RESOLVE_MODE_MAX_BIT")] ResolveModeMaxBit = 8, + [Obsolete("Deprecated in favour of \"ExternalFormatDownsampleBitAndroid\"")] + [NativeName("Name", "VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID")] + ResolveModeExternalFormatDownsampleBitAndroid = 16, [Obsolete("Deprecated in favour of \"ExternalFormatDownsampleAndroid\"")] [NativeName("Name", "VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID")] ResolveModeExternalFormatDownsampleAndroid = 16, @@ -41,6 +44,8 @@ public enum ResolveModeFlags : int MinBit = 4, [NativeName("Name", "VK_RESOLVE_MODE_MAX_BIT")] MaxBit = 8, + [NativeName("Name", "VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID")] + ExternalFormatDownsampleBitAndroid = 16, [NativeName("Name", "VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID")] ExternalFormatDownsampleAndroid = 16, } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/Result.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/Result.gen.cs index c77b334fe8..2660ba7f58 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/Result.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/Result.gen.cs @@ -118,6 +118,8 @@ public enum Result : int PipelineBinaryMissingKhr = 1000483000, [NativeName("Name", "VK_ERROR_NOT_ENOUGH_SPACE_KHR")] ErrorNotEnoughSpaceKhr = unchecked((int) -1000483000), + [NativeName("Name", "VK_ERROR_VALIDATION_FAILED")] + ErrorValidationFailed = unchecked((int) -1000011001), [NativeName("Name", "VK_ERROR_OUT_OF_POOL_MEMORY")] ErrorOutOfPoolMemory = unchecked((int) -1000069000), [NativeName("Name", "VK_ERROR_INVALID_EXTERNAL_HANDLE")] @@ -128,8 +130,8 @@ public enum Result : int ErrorInvalidOpaqueCaptureAddress = unchecked((int) -1000257000), [NativeName("Name", "VK_PIPELINE_COMPILE_REQUIRED")] PipelineCompileRequired = 1000297000, - [NativeName("Name", "VK_ERROR_VALIDATION_FAILED")] - ErrorValidationFailed = unchecked((int) -1000011001), + [NativeName("Name", "VK_ERROR_NOT_PERMITTED")] + ErrorNotPermitted = unchecked((int) -1000174001), [NativeName("Name", "VK_ERROR_INVALID_PIPELINE_CACHE_DATA")] ErrorInvalidPipelineCacheData = unchecked((int) -1000298000), [NativeName("Name", "VK_ERROR_NO_PIPELINE_MATCH")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs index 20e0d8aa30..6188e71173 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs @@ -212,6 +212,8 @@ public enum StructureType : int CUFunctionCreateInfoNvx = 1000029001, [NativeName("Name", "VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX")] CULaunchInfoNvx = 1000029002, + [NativeName("Name", "VK_STRUCTURE_TYPE_CU_MODULE_TEXTURING_MODE_CREATE_INFO_NVX")] + CUModuleTexturingModeCreateInfoNvx = 1000029004, [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX")] ImageViewHandleInfoNvx = 1000030000, [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX")] @@ -612,6 +614,8 @@ public enum StructureType : int WriteDescriptorSetInlineUniformBlockExt = 1000138002, [NativeName("Name", "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT")] DescriptorPoolInlineUniformBlockCreateInfoExt = 1000138003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR")] + PhysicalDeviceShaderBfloat16FeaturesKhr = 1000141000, [NativeName("Name", "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT")] SampleLocationsInfoExt = 1000143000, [NativeName("Name", "VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT")] @@ -1208,6 +1212,18 @@ public enum StructureType : int PhysicalDeviceCudaKernelLaunchFeaturesNV = 1000307003, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV")] PhysicalDeviceCudaKernelLaunchPropertiesNV = 1000307004, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_FEATURES_QCOM")] + PhysicalDeviceTileShadingFeaturesQCom = 1000309000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_PROPERTIES_QCOM")] + PhysicalDeviceTileShadingPropertiesQCom = 1000309001, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDER_PASS_TILE_SHADING_CREATE_INFO_QCOM")] + RenderPassTileShadingCreateInfoQCom = 1000309002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PER_TILE_BEGIN_INFO_QCOM")] + PerTileBeginInfoQCom = 1000309003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PER_TILE_END_INFO_QCOM")] + PerTileEndInfoQCom = 1000309004, + [NativeName("Name", "VK_STRUCTURE_TYPE_DISPATCH_TILE_INFO_QCOM")] + DispatchTileInfoQCom = 1000309005, [NativeName("Name", "VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV")] QueryLowLatencySupportNV = 1000310000, [NativeName("Name", "VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT")] @@ -1464,6 +1480,8 @@ public enum StructureType : int PhysicalDevicePrimitivesGeneratedQueryFeaturesExt = 1000382000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR")] PhysicalDeviceRayTracingMaintenance1FeaturesKhr = 1000386000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNTYPED_POINTERS_FEATURES_KHR")] + PhysicalDeviceShaderUntypedPointersFeaturesKhr = 1000387000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_EXT")] PhysicalDeviceGlobalPriorityQueryFeaturesExt = 1000388000, [NativeName("Name", "VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_EXT")] @@ -1582,6 +1600,12 @@ public enum StructureType : int ComputePipelineIndirectBufferInfoNV = 1000428001, [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV")] PipelineIndirectDeviceAddressInfoNV = 1000428002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_LINEAR_SWEPT_SPHERES_FEATURES_NV")] + PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV = 1000429008, + [NativeName("Name", "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_LINEAR_SWEPT_SPHERES_DATA_NV")] + AccelerationStructureGeometryLinearSweptSpheresDataNV = 1000429009, + [NativeName("Name", "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_SPHERES_DATA_NV")] + AccelerationStructureGeometrySpheresDataNV = 1000429010, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV")] PhysicalDeviceLinearColorAttachmentFeaturesNV = 1000430000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR")] @@ -1616,6 +1640,54 @@ public enum StructureType : int DirectDriverLoadingInfoLunarg = 1000459000, [NativeName("Name", "VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG")] DirectDriverLoadingListLunarg = 1000459001, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_CREATE_INFO_ARM")] + TensorCreateInfoArm = 1000460000, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_VIEW_CREATE_INFO_ARM")] + TensorViewCreateInfoArm = 1000460001, + [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_TENSOR_MEMORY_INFO_ARM")] + BindTensorMemoryInfoArm = 1000460002, + [NativeName("Name", "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_TENSOR_ARM")] + WriteDescriptorSetTensorArm = 1000460003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_PROPERTIES_ARM")] + PhysicalDeviceTensorPropertiesArm = 1000460004, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_FORMAT_PROPERTIES_ARM")] + TensorFormatPropertiesArm = 1000460005, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_DESCRIPTION_ARM")] + TensorDescriptionArm = 1000460006, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_MEMORY_REQUIREMENTS_INFO_ARM")] + TensorMemoryRequirementsInfoArm = 1000460007, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_MEMORY_BARRIER_ARM")] + TensorMemoryBarrierArm = 1000460008, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_FEATURES_ARM")] + PhysicalDeviceTensorFeaturesArm = 1000460009, + [NativeName("Name", "VK_STRUCTURE_TYPE_DEVICE_TENSOR_MEMORY_REQUIREMENTS_ARM")] + DeviceTensorMemoryRequirementsArm = 1000460010, + [NativeName("Name", "VK_STRUCTURE_TYPE_COPY_TENSOR_INFO_ARM")] + CopyTensorInfoArm = 1000460011, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_COPY_ARM")] + TensorCopyArm = 1000460012, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_DEPENDENCY_INFO_ARM")] + TensorDependencyInfoArm = 1000460013, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_TENSOR_ARM")] + MemoryDedicatedAllocateInfoTensorArm = 1000460014, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_TENSOR_INFO_ARM")] + PhysicalDeviceExternalTensorInfoArm = 1000460015, + [NativeName("Name", "VK_STRUCTURE_TYPE_EXTERNAL_TENSOR_PROPERTIES_ARM")] + ExternalTensorPropertiesArm = 1000460016, + [NativeName("Name", "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_TENSOR_CREATE_INFO_ARM")] + ExternalMemoryTensorCreateInfoArm = 1000460017, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_TENSOR_FEATURES_ARM")] + PhysicalDeviceDescriptorBufferTensorFeaturesArm = 1000460018, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_TENSOR_PROPERTIES_ARM")] + PhysicalDeviceDescriptorBufferTensorPropertiesArm = 1000460019, + [NativeName("Name", "VK_STRUCTURE_TYPE_DESCRIPTOR_GET_TENSOR_INFO_ARM")] + DescriptorGetTensorInfoArm = 1000460020, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_CAPTURE_DESCRIPTOR_DATA_INFO_ARM")] + TensorCaptureDescriptorDataInfoArm = 1000460021, + [NativeName("Name", "VK_STRUCTURE_TYPE_TENSOR_VIEW_CAPTURE_DESCRIPTOR_DATA_INFO_ARM")] + TensorViewCaptureDescriptorDataInfoArm = 1000460022, + [NativeName("Name", "VK_STRUCTURE_TYPE_FRAME_BOUNDARY_TENSORS_ARM")] + FrameBoundaryTensorsArm = 1000460023, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT")] PhysicalDeviceShaderModuleIdentifierFeaturesExt = 1000462000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT")] @@ -1672,6 +1744,22 @@ public enum StructureType : int AntiLagDataAmd = 1000476001, [NativeName("Name", "VK_STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD")] AntiLagPresentationInfoAmd = 1000476002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DENSE_GEOMETRY_FORMAT_FEATURES_AMDX")] + PhysicalDeviceDenseGeometryFormatFeaturesAmdx = 1000478000, + [NativeName("Name", "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DENSE_GEOMETRY_FORMAT_TRIANGLES_DATA_AMDX")] + AccelerationStructureDenseGeometryFormatTrianglesDataAmdx = 1000478001, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_ID_2_KHR")] + SurfaceCapabilitiesPresentID2Khr = 1000479000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PRESENT_ID_2_KHR")] + PresentID2Khr = 1000479001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_2_FEATURES_KHR")] + PhysicalDevicePresentID2FeaturesKhr = 1000479002, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_WAIT_2_KHR")] + SurfaceCapabilitiesPresentWait2Khr = 1000480000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_2_FEATURES_KHR")] + PhysicalDevicePresentWait2FeaturesKhr = 1000480001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PRESENT_WAIT_2_INFO_KHR")] + PresentWait2InfoKhr = 1000480002, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR")] PhysicalDeviceRayTracingPositionFetchFeaturesKhr = 1000481000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT")] @@ -1710,12 +1798,38 @@ public enum StructureType : int PhysicalDeviceAmigoProfilingFeaturesSec = 1000485000, [NativeName("Name", "VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC")] AmigoProfilingSubmitInfoSec = 1000485001, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_KHR")] + SurfacePresentModeKhr = 1000274000, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHR")] + SurfacePresentScalingCapabilitiesKhr = 1000274001, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_KHR")] + SurfacePresentModeCompatibilityKhr = 1000274002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR")] + PhysicalDeviceSwapchainMaintenance1FeaturesKhr = 1000275000, + [NativeName("Name", "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_KHR")] + SwapchainPresentFenceInfoKhr = 1000275001, + [NativeName("Name", "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_KHR")] + SwapchainPresentModesCreateInfoKhr = 1000275002, + [NativeName("Name", "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_KHR")] + SwapchainPresentModeInfoKhr = 1000275003, + [NativeName("Name", "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_KHR")] + SwapchainPresentScalingCreateInfoKhr = 1000275004, + [NativeName("Name", "VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_KHR")] + ReleaseSwapchainImagesInfoKhr = 1000275005, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM")] PhysicalDeviceMultiviewPerViewViewportsFeaturesQCom = 1000488000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV")] PhysicalDeviceRayTracingInvocationReorderFeaturesNV = 1000490000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV")] PhysicalDeviceRayTracingInvocationReorderPropertiesNV = 1000490001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_FEATURES_NV")] + PhysicalDeviceCooperativeVectorFeaturesNV = 1000491000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_PROPERTIES_NV")] + PhysicalDeviceCooperativeVectorPropertiesNV = 1000491001, + [NativeName("Name", "VK_STRUCTURE_TYPE_COOPERATIVE_VECTOR_PROPERTIES_NV")] + CooperativeVectorPropertiesNV = 1000491002, + [NativeName("Name", "VK_STRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV")] + ConvertCooperativeVectorMatrixInfoNV = 1000491004, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV")] PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV = 1000492000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV")] @@ -1762,6 +1876,46 @@ public enum StructureType : int CooperativeMatrixPropertiesKhr = 1000506001, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR")] PhysicalDeviceCooperativeMatrixPropertiesKhr = 1000506002, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CREATE_INFO_ARM")] + DataGraphPipelineCreateInfoArm = 1000507000, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_CREATE_INFO_ARM")] + DataGraphPipelineSessionCreateInfoArm = 1000507001, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_RESOURCE_INFO_ARM")] + DataGraphPipelineResourceInfoArm = 1000507002, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_ARM")] + DataGraphPipelineConstantArm = 1000507003, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_MEMORY_REQUIREMENTS_INFO_ARM")] + DataGraphPipelineSessionMemoryRequirementsInfoArm = 1000507004, + [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_DATA_GRAPH_PIPELINE_SESSION_MEMORY_INFO_ARM")] + BindDataGraphPipelineSessionMemoryInfoArm = 1000507005, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_FEATURES_ARM")] + PhysicalDeviceDataGraphFeaturesArm = 1000507006, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SHADER_MODULE_CREATE_INFO_ARM")] + DataGraphPipelineShaderModuleCreateInfoArm = 1000507007, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_PROPERTY_QUERY_RESULT_ARM")] + DataGraphPipelinePropertyQueryResultArm = 1000507008, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_INFO_ARM")] + DataGraphPipelineInfoArm = 1000507009, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_COMPILER_CONTROL_CREATE_INFO_ARM")] + DataGraphPipelineCompilerControlCreateInfoArm = 1000507010, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_REQUIREMENTS_INFO_ARM")] + DataGraphPipelineSessionBindPointRequirementsInfoArm = 1000507011, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_REQUIREMENT_ARM")] + DataGraphPipelineSessionBindPointRequirementArm = 1000507012, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_IDENTIFIER_CREATE_INFO_ARM")] + DataGraphPipelineIdentifierCreateInfoArm = 1000507013, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_DISPATCH_INFO_ARM")] + DataGraphPipelineDispatchInfoArm = 1000507014, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PROCESSING_ENGINE_CREATE_INFO_ARM")] + DataGraphProcessingEngineCreateInfoArm = 1000507016, + [NativeName("Name", "VK_STRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_PROCESSING_ENGINE_PROPERTIES_ARM")] + QueueFamilyDataGraphProcessingEnginePropertiesArm = 1000507017, + [NativeName("Name", "VK_STRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_PROPERTIES_ARM")] + QueueFamilyDataGraphPropertiesArm = 1000507018, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_QUEUE_FAMILY_DATA_GRAPH_PROCESSING_ENGINE_INFO_ARM")] + PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoArm = 1000507019, + [NativeName("Name", "VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_TENSOR_SEMI_STRUCTURED_SPARSITY_INFO_ARM")] + DataGraphPipelineConstantTensorSemiStructuredSparsityInfoArm = 1000507015, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM")] PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCom = 1000510000, [NativeName("Name", "VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM")] @@ -1780,6 +1934,36 @@ public enum StructureType : int VideoDecodeAV1SessionParametersCreateInfoKhr = 1000512004, [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR")] VideoDecodeAV1DpbSlotInfoKhr = 1000512005, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_KHR")] + VideoEncodeAV1CapabilitiesKhr = 1000513000, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR")] + VideoEncodeAV1SessionParametersCreateInfoKhr = 1000513001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_PICTURE_INFO_KHR")] + VideoEncodeAV1PictureInfoKhr = 1000513002, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_DPB_SLOT_INFO_KHR")] + VideoEncodeAV1DpbSlotInfoKhr = 1000513003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_AV1_FEATURES_KHR")] + PhysicalDeviceVideoEncodeAV1FeaturesKhr = 1000513004, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_PROFILE_INFO_KHR")] + VideoEncodeAV1ProfileInfoKhr = 1000513005, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_RATE_CONTROL_INFO_KHR")] + VideoEncodeAV1RateControlInfoKhr = 1000513006, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_RATE_CONTROL_LAYER_INFO_KHR")] + VideoEncodeAV1RateControlLayerInfoKhr = 1000513007, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHR")] + VideoEncodeAV1QualityLevelPropertiesKhr = 1000513008, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_CREATE_INFO_KHR")] + VideoEncodeAV1SessionCreateInfoKhr = 1000513009, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_GOP_REMAINING_FRAME_INFO_KHR")] + VideoEncodeAV1GopRemainingFrameInfoKhr = 1000513010, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_DECODE_VP9_FEATURES_KHR")] + PhysicalDeviceVideoDecodeVP9FeaturesKhr = 1000514000, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_CAPABILITIES_KHR")] + VideoDecodeVP9CapabilitiesKhr = 1000514001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_PICTURE_INFO_KHR")] + VideoDecodeVP9PictureInfoKhr = 1000514002, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_PROFILE_INFO_KHR")] + VideoDecodeVP9ProfileInfoKhr = 1000514003, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR")] PhysicalDeviceVideoMaintenance1FeaturesKhr = 1000515000, [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_INLINE_QUERY_INFO_KHR")] @@ -1812,6 +1996,10 @@ public enum StructureType : int PipelineVertexInputDivisorStateCreateInfoKhr = 1000190001, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR")] PhysicalDeviceVertexAttributeDivisorFeaturesKhr = 1000190002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFIED_IMAGE_LAYOUTS_FEATURES_KHR")] + PhysicalDeviceUnifiedImageLayoutsFeaturesKhr = 1000527000, + [NativeName("Name", "VK_STRUCTURE_TYPE_ATTACHMENT_FEEDBACK_LOOP_INFO_EXT")] + AttachmentFeedbackLoopInfoExt = 1000527001, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR")] PhysicalDeviceShaderFloatControls2FeaturesKhr = 1000528000, [NativeName("Name", "VK_STRUCTURE_TYPE_SCREEN_BUFFER_PROPERTIES_QNX")] @@ -1858,8 +2046,60 @@ public enum StructureType : int BindDescriptorBufferEmbeddedSamplersInfoExt = 1000545008, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV")] PhysicalDeviceDescriptorPoolOverallocationFeaturesNV = 1000546000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_MEMORY_HEAP_FEATURES_QCOM")] + PhysicalDeviceTileMemoryHeapFeaturesQCom = 1000547000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_MEMORY_HEAP_PROPERTIES_QCOM")] + PhysicalDeviceTileMemoryHeapPropertiesQCom = 1000547001, + [NativeName("Name", "VK_STRUCTURE_TYPE_TILE_MEMORY_REQUIREMENTS_QCOM")] + TileMemoryRequirementsQCom = 1000547002, + [NativeName("Name", "VK_STRUCTURE_TYPE_TILE_MEMORY_BIND_INFO_QCOM")] + TileMemoryBindInfoQCom = 1000547003, + [NativeName("Name", "VK_STRUCTURE_TYPE_TILE_MEMORY_SIZE_INFO_QCOM")] + TileMemorySizeInfoQCom = 1000547004, + [NativeName("Name", "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_STEREO_CREATE_INFO_NV")] + DisplaySurfaceStereoCreateInfoNV = 1000551000, + [NativeName("Name", "VK_STRUCTURE_TYPE_DISPLAY_MODE_STEREO_PROPERTIES_NV")] + DisplayModeStereoPropertiesNV = 1000551001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_CAPABILITIES_KHR")] + VideoEncodeIntraRefreshCapabilitiesKhr = 1000552000, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_INTRA_REFRESH_CREATE_INFO_KHR")] + VideoEncodeSessionIntraRefreshCreateInfoKhr = 1000552001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_INFO_KHR")] + VideoEncodeIntraRefreshInfoKhr = 1000552002, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_REFERENCE_INTRA_REFRESH_INFO_KHR")] + VideoReferenceIntraRefreshInfoKhr = 1000552003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_INTRA_REFRESH_FEATURES_KHR")] + PhysicalDeviceVideoEncodeIntraRefreshFeaturesKhr = 1000552004, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_CAPABILITIES_KHR")] + VideoEncodeQuantizationMapCapabilitiesKhr = 1000553000, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_FORMAT_QUANTIZATION_MAP_PROPERTIES_KHR")] + VideoFormatQuantizationMapPropertiesKhr = 1000553001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_INFO_KHR")] + VideoEncodeQuantizationMapInfoKhr = 1000553002, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_SESSION_PARAMETERS_CREATE_INFO_KHR")] + VideoEncodeQuantizationMapSessionParametersCreateInfoKhr = 1000553005, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUANTIZATION_MAP_FEATURES_KHR")] + PhysicalDeviceVideoEncodeQuantizationMapFeaturesKhr = 1000553009, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUANTIZATION_MAP_CAPABILITIES_KHR")] + VideoEncodeH264QuantizationMapCapabilitiesKhr = 1000553003, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUANTIZATION_MAP_CAPABILITIES_KHR")] + VideoEncodeH265QuantizationMapCapabilitiesKhr = 1000553004, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_FORMAT_H265_QUANTIZATION_MAP_PROPERTIES_KHR")] + VideoFormatH265QuantizationMapPropertiesKhr = 1000553006, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUANTIZATION_MAP_CAPABILITIES_KHR")] + VideoEncodeAV1QuantizationMapCapabilitiesKhr = 1000553007, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_FORMAT_AV1_QUANTIZATION_MAP_PROPERTIES_KHR")] + VideoFormatAV1QuantizationMapPropertiesKhr = 1000553008, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV")] PhysicalDeviceRawAccessChainsFeaturesNV = 1000555000, + [NativeName("Name", "VK_STRUCTURE_TYPE_EXTERNAL_COMPUTE_QUEUE_DEVICE_CREATE_INFO_NV")] + ExternalComputeQueueDeviceCreateInfoNV = 1000556000, + [NativeName("Name", "VK_STRUCTURE_TYPE_EXTERNAL_COMPUTE_QUEUE_CREATE_INFO_NV")] + ExternalComputeQueueCreateInfoNV = 1000556001, + [NativeName("Name", "VK_STRUCTURE_TYPE_EXTERNAL_COMPUTE_QUEUE_DATA_PARAMS_NV")] + ExternalComputeQueueDataParamsNV = 1000556002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_COMPUTE_QUEUE_PROPERTIES_NV")] + PhysicalDeviceExternalComputeQueuePropertiesNV = 1000556003, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR")] PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKhr = 1000558000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV")] @@ -1878,8 +2118,38 @@ public enum StructureType : int PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV = 1000563000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT")] PhysicalDeviceShaderReplicatedCompositesFeaturesExt = 1000564000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT8_FEATURES_EXT")] + PhysicalDeviceShaderFloat8FeaturesExt = 1000567000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV")] PhysicalDeviceRayTracingValidationFeaturesNV = 1000568000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_FEATURES_NV")] + PhysicalDeviceClusterAccelerationStructureFeaturesNV = 1000569000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_PROPERTIES_NV")] + PhysicalDeviceClusterAccelerationStructurePropertiesNV = 1000569001, + [NativeName("Name", "VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_CLUSTERS_BOTTOM_LEVEL_INPUT_NV")] + ClusterAccelerationStructureClustersBottomLevelInputNV = 1000569002, + [NativeName("Name", "VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_TRIANGLE_CLUSTER_INPUT_NV")] + ClusterAccelerationStructureTriangleClusterInputNV = 1000569003, + [NativeName("Name", "VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_MOVE_OBJECTS_INPUT_NV")] + ClusterAccelerationStructureMoveObjectsInputNV = 1000569004, + [NativeName("Name", "VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_INPUT_INFO_NV")] + ClusterAccelerationStructureInputInfoNV = 1000569005, + [NativeName("Name", "VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_COMMANDS_INFO_NV")] + ClusterAccelerationStructureCommandsInfoNV = 1000569006, + [NativeName("Name", "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CLUSTER_ACCELERATION_STRUCTURE_CREATE_INFO_NV")] + RayTracingPipelineClusterAccelerationStructureCreateInfoNV = 1000569007, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PARTITIONED_ACCELERATION_STRUCTURE_FEATURES_NV")] + PhysicalDevicePartitionedAccelerationStructureFeaturesNV = 1000570000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PARTITIONED_ACCELERATION_STRUCTURE_PROPERTIES_NV")] + PhysicalDevicePartitionedAccelerationStructurePropertiesNV = 1000570001, + [NativeName("Name", "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_PARTITIONED_ACCELERATION_STRUCTURE_NV")] + WriteDescriptorSetPartitionedAccelerationStructureNV = 1000570002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCES_INPUT_NV")] + PartitionedAccelerationStructureInstancesInputNV = 1000570003, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUILD_PARTITIONED_ACCELERATION_STRUCTURE_INFO_NV")] + BuildPartitionedAccelerationStructureInfoNV = 1000570004, + [NativeName("Name", "VK_STRUCTURE_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_FLAGS_NV")] + PartitionedAccelerationStructureFlagsNV = 1000570005, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_EXT")] PhysicalDeviceDeviceGeneratedCommandsFeaturesExt = 1000572000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT")] @@ -1908,6 +2178,10 @@ public enum StructureType : int GeneratedCommandsPipelineInfoExt = 1000572013, [NativeName("Name", "VK_STRUCTURE_TYPE_GENERATED_COMMANDS_SHADER_INFO_EXT")] GeneratedCommandsShaderInfoExt = 1000572014, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR")] + PhysicalDeviceMaintenance8FeaturesKhr = 1000574000, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR")] + MemoryBarrierAccessFlags3Khr = 1000574002, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA")] PhysicalDeviceImageAlignmentControlFeaturesMesa = 1000575000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA")] @@ -1918,12 +2192,74 @@ public enum StructureType : int PhysicalDeviceDepthClampControlFeaturesExt = 1000582000, [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT")] PipelineViewportDepthClampControlCreateInfoExt = 1000582001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_9_FEATURES_KHR")] + PhysicalDeviceMaintenance9FeaturesKhr = 1000584000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_9_PROPERTIES_KHR")] + PhysicalDeviceMaintenance9PropertiesKhr = 1000584001, + [NativeName("Name", "VK_STRUCTURE_TYPE_QUEUE_FAMILY_OWNERSHIP_TRANSFER_PROPERTIES_KHR")] + QueueFamilyOwnershipTransferPropertiesKhr = 1000584002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR")] + PhysicalDeviceVideoMaintenance2FeaturesKhr = 1000586000, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR")] + VideoDecodeH264InlineSessionParametersInfoKhr = 1000586001, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR")] + VideoDecodeH265InlineSessionParametersInfoKhr = 1000586002, + [NativeName("Name", "VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR")] + VideoDecodeAV1InlineSessionParametersInfoKhr = 1000586003, + [NativeName("Name", "VK_STRUCTURE_TYPE_SURFACE_CREATE_INFO_OHOS")] + SurfaceCreateInfoOhos = 1000685000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI")] + PhysicalDeviceHdrVividFeaturesHuawei = 1000590000, + [NativeName("Name", "VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI")] + HdrVividDynamicMetadataHuawei = 1000590001, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV")] PhysicalDeviceCooperativeMatrix2FeaturesNV = 1000593000, [NativeName("Name", "VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_FLEXIBLE_DIMENSIONS_PROPERTIES_NV")] CooperativeMatrixFlexibleDimensionsPropertiesNV = 1000593001, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NV")] PhysicalDeviceCooperativeMatrix2PropertiesNV = 1000593002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM")] + PhysicalDevicePipelineOpacityMicromapFeaturesArm = 1000596000, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT")] + ImportMemoryMetalHandleInfoExt = 1000602000, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT")] + MemoryMetalHandlePropertiesExt = 1000602001, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT")] + MemoryGetMetalHandleInfoExt = 1000602002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR")] + PhysicalDeviceDepthClampZeroOneFeaturesKhr = 1000421000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT")] + PhysicalDeviceVertexAttributeRobustnessFeaturesExt = 1000608000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FORMAT_PACK_FEATURES_ARM")] + PhysicalDeviceFormatPackFeaturesArm = 1000609000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_LAYERED_FEATURES_VALVE")] + PhysicalDeviceFragmentDensityMapLayeredFeaturesValve = 1000611000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_LAYERED_PROPERTIES_VALVE")] + PhysicalDeviceFragmentDensityMapLayeredPropertiesValve = 1000611001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_DENSITY_MAP_LAYERED_CREATE_INFO_VALVE")] + PipelineFragmentDensityMapLayeredCreateInfoValve = 1000611002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_KHR")] + PhysicalDeviceRobustness2FeaturesKhr = 1000286000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_KHR")] + PhysicalDeviceRobustness2PropertiesKhr = 1000286001, + [NativeName("Name", "VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV")] + SetPresentConfigNV = 1000613000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV")] + PhysicalDevicePresentMeteringFeaturesNV = 1000613001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_EXT")] + PhysicalDeviceFragmentDensityMapOffsetFeaturesExt = 1000425000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_EXT")] + PhysicalDeviceFragmentDensityMapOffsetPropertiesExt = 1000425001, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_EXT")] + RenderPassFragmentDensityMapOffsetEndInfoExt = 1000425002, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDERING_END_INFO_EXT")] + RenderingEndInfoExt = 1000619003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_DEVICE_MEMORY_FEATURES_EXT")] + PhysicalDeviceZeroInitializeDeviceMemoryFeaturesExt = 1000620000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_KHR")] + PhysicalDevicePresentModeFifoLatestReadyFeaturesKhr = 1000361000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC")] + PhysicalDevicePipelineCacheIncrementalModeFeaturesSec = 1000637000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")] PhysicalDeviceSubgroupProperties = 1000094000, [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO")] @@ -2262,6 +2598,106 @@ public enum StructureType : int DeviceBufferMemoryRequirements = 1000413002, [NativeName("Name", "VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS")] DeviceImageMemoryRequirements = 1000413003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES")] + PhysicalDeviceVulkan14Features = 55, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_PROPERTIES")] + PhysicalDeviceVulkan14Properties = 56, + [NativeName("Name", "VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO")] + DeviceQueueGlobalPriorityCreateInfo = 1000174000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES")] + PhysicalDeviceGlobalPriorityQueryFeatures = 1000388000, + [NativeName("Name", "VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES")] + QueueFamilyGlobalPriorityProperties = 1000388001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES")] + PhysicalDeviceShaderSubgroupRotateFeatures = 1000416000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES")] + PhysicalDeviceShaderFloatControls2Features = 1000528000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES")] + PhysicalDeviceShaderExpectAssumeFeatures = 1000544000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES")] + PhysicalDeviceLineRasterizationFeatures = 1000259000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO")] + PipelineRasterizationLineStateCreateInfo = 1000259001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES")] + PhysicalDeviceLineRasterizationProperties = 1000259002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES")] + PhysicalDeviceVertexAttributeDivisorProperties = 1000525000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO")] + PipelineVertexInputDivisorStateCreateInfo = 1000190001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES")] + PhysicalDeviceVertexAttributeDivisorFeatures = 1000190002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES")] + PhysicalDeviceIndexTypeUint8Features = 1000265000, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_MAP_INFO")] + MemoryMapInfo = 1000271000, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO")] + MemoryUnmapInfo = 1000271001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES")] + PhysicalDeviceMaintenance5Features = 1000470000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES")] + PhysicalDeviceMaintenance5Properties = 1000470001, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDERING_AREA_INFO")] + RenderingAreaInfo = 1000470003, + [NativeName("Name", "VK_STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO")] + DeviceImageSubresourceInfo = 1000470004, + [NativeName("Name", "VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2")] + SubresourceLayout2 = 1000338002, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2")] + ImageSubresource2 = 1000338003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO")] + PipelineCreateFlags2CreateInfo = 1000470005, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO")] + BufferUsageFlags2CreateInfo = 1000470006, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES")] + PhysicalDevicePushDescriptorProperties = 1000080000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES")] + PhysicalDeviceDynamicRenderingLocalReadFeatures = 1000232000, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO")] + RenderingAttachmentLocationInfo = 1000232001, + [NativeName("Name", "VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO")] + RenderingInputAttachmentIndexInfo = 1000232002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES")] + PhysicalDeviceMaintenance6Features = 1000545000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES")] + PhysicalDeviceMaintenance6Properties = 1000545001, + [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_MEMORY_STATUS")] + BindMemoryStatus = 1000545002, + [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO")] + BindDescriptorSetsInfo = 1000545003, + [NativeName("Name", "VK_STRUCTURE_TYPE_PUSH_CONSTANTS_INFO")] + PushConstantsInfo = 1000545004, + [NativeName("Name", "VK_STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_INFO")] + PushDescriptorSetInfo = 1000545005, + [NativeName("Name", "VK_STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO")] + PushDescriptorSetWithTemplateInfo = 1000545006, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES")] + PhysicalDevicePipelineProtectedAccessFeatures = 1000466000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO")] + PipelineRobustnessCreateInfo = 1000068000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES")] + PhysicalDevicePipelineRobustnessFeatures = 1000068001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES")] + PhysicalDevicePipelineRobustnessProperties = 1000068002, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES")] + PhysicalDeviceHostImageCopyFeatures = 1000270000, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES")] + PhysicalDeviceHostImageCopyProperties = 1000270001, + [NativeName("Name", "VK_STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY")] + MemoryToImageCopy = 1000270002, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY")] + ImageToMemoryCopy = 1000270003, + [NativeName("Name", "VK_STRUCTURE_TYPE_COPY_IMAGE_TO_MEMORY_INFO")] + CopyImageToMemoryInfo = 1000270004, + [NativeName("Name", "VK_STRUCTURE_TYPE_COPY_MEMORY_TO_IMAGE_INFO")] + CopyMemoryToImageInfo = 1000270005, + [NativeName("Name", "VK_STRUCTURE_TYPE_HOST_IMAGE_LAYOUT_TRANSITION_INFO")] + HostImageLayoutTransitionInfo = 1000270006, + [NativeName("Name", "VK_STRUCTURE_TYPE_COPY_IMAGE_TO_IMAGE_INFO")] + CopyImageToImageInfo = 1000270007, + [NativeName("Name", "VK_STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE")] + SubresourceHostMemcpySize = 1000270008, + [NativeName("Name", "VK_STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY")] + HostImageCopyDevicePerformanceQuery = 1000270009, [NativeName("Name", "VK_STRUCTURE_TYPE_PRIVATE_VENDOR_INFO_PLACEHOLDER_OFFSET_0_NV")] PrivateVendorInfoPlaceholderOffset0NV = 1000051000, [NativeName("Name", "VK_STRUCTURE_TYPE_REFRESH_OBJECT_LIST_KHR")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/SubgroupFeatureFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/SubgroupFeatureFlags.gen.cs index 0bc02157cb..2bb53fcaac 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/SubgroupFeatureFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/SubgroupFeatureFlags.gen.cs @@ -48,6 +48,12 @@ public enum SubgroupFeatureFlags : int [Obsolete("Deprecated in favour of \"RotateClusteredBitKhr\"")] [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR")] SubgroupFeatureRotateClusteredBitKhr = 1024, + [Obsolete("Deprecated in favour of \"RotateBit\"")] + [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_BIT")] + SubgroupFeatureRotateBit = 512, + [Obsolete("Deprecated in favour of \"RotateClusteredBit\"")] + [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT")] + SubgroupFeatureRotateClusteredBit = 1024, [NativeName("Name", "VK_SUBGROUP_FEATURE_BASIC_BIT")] BasicBit = 1, [NativeName("Name", "VK_SUBGROUP_FEATURE_VOTE_BIT")] @@ -70,5 +76,9 @@ public enum SubgroupFeatureFlags : int RotateBitKhr = 512, [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR")] RotateClusteredBitKhr = 1024, + [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_BIT")] + RotateBit = 512, + [NativeName("Name", "VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT")] + RotateClusteredBit = 1024, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlags.gen.cs index 4376a7fb7c..2593a61adc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlags.gen.cs @@ -15,15 +15,10 @@ public enum SubmitFlags : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Bit\"")] + [Obsolete("Deprecated in favour of \"ProtectedBit\"")] [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT")] SubmitProtectedBit = 1, - [Obsolete("Deprecated in favour of \"BitKhr\"")] - [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT_KHR")] - SubmitProtectedBitKhr = 1, [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT")] - Bit = 1, - [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT_KHR")] - BitKhr = 1, + ProtectedBit = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlagsKHR.gen.cs index d9d28d54f2..5e54e9e938 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/SubmitFlagsKHR.gen.cs @@ -15,15 +15,10 @@ public enum SubmitFlagsKHR : int { [NativeName("Name", "")] None = 0, - [Obsolete("Deprecated in favour of \"Bit\"")] + [Obsolete("Deprecated in favour of \"ProtectedBit\"")] [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT")] SubmitProtectedBit = 1, - [Obsolete("Deprecated in favour of \"BitKhr\"")] - [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT_KHR")] - SubmitProtectedBitKhr = 1, [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT")] - Bit = 1, - [NativeName("Name", "VK_SUBMIT_PROTECTED_BIT_KHR")] - BitKhr = 1, + ProtectedBit = 1, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/SubpassDescriptionFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/SubpassDescriptionFlags.gen.cs index a843c9c17e..e3d6b8e608 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/SubpassDescriptionFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/SubpassDescriptionFlags.gen.cs @@ -27,6 +27,9 @@ public enum SubpassDescriptionFlags : int [Obsolete("Deprecated in favour of \"ShaderResolveBitQCom\"")] [NativeName("Name", "VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM")] SubpassDescriptionShaderResolveBitQCom = 8, + [Obsolete("Deprecated in favour of \"TileShadingApronBitQCom\"")] + [NativeName("Name", "VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM")] + SubpassDescriptionTileShadingApronBitQCom = 256, [Obsolete("Deprecated in favour of \"RasterizationOrderAttachmentColorAccessBitArm\"")] [NativeName("Name", "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM")] SubpassDescriptionRasterizationOrderAttachmentColorAccessBitArm = 16, @@ -56,6 +59,8 @@ public enum SubpassDescriptionFlags : int FragmentRegionBitQCom = 4, [NativeName("Name", "VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM")] ShaderResolveBitQCom = 8, + [NativeName("Name", "VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM")] + TileShadingApronBitQCom = 256, [NativeName("Name", "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM")] RasterizationOrderAttachmentColorAccessBitArm = 16, [NativeName("Name", "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_ARM")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/SwapchainCreateFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/SwapchainCreateFlagsKHR.gen.cs index 366d6503b1..05f1d0b18d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/SwapchainCreateFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/SwapchainCreateFlagsKHR.gen.cs @@ -27,6 +27,15 @@ public enum SwapchainCreateFlagsKHR : int [Obsolete("Deprecated in favour of \"DeferredMemoryAllocationBitExt\"")] [NativeName("Name", "VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT")] SwapchainCreateDeferredMemoryAllocationBitExt = 8, + [Obsolete("Deprecated in favour of \"PresentID2BitKhr\"")] + [NativeName("Name", "VK_SWAPCHAIN_CREATE_PRESENT_ID_2_BIT_KHR")] + SwapchainCreatePresentID2BitKhr = 64, + [Obsolete("Deprecated in favour of \"PresentWait2BitKhr\"")] + [NativeName("Name", "VK_SWAPCHAIN_CREATE_PRESENT_WAIT_2_BIT_KHR")] + SwapchainCreatePresentWait2BitKhr = 128, + [Obsolete("Deprecated in favour of \"DeferredMemoryAllocationBitKhr\"")] + [NativeName("Name", "VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_KHR")] + SwapchainCreateDeferredMemoryAllocationBitKhr = 8, [NativeName("Name", "VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR")] SplitInstanceBindRegionsBitKhr = 1, [NativeName("Name", "VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR")] @@ -35,5 +44,11 @@ public enum SwapchainCreateFlagsKHR : int MutableFormatBitKhr = 4, [NativeName("Name", "VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT")] DeferredMemoryAllocationBitExt = 8, + [NativeName("Name", "VK_SWAPCHAIN_CREATE_PRESENT_ID_2_BIT_KHR")] + PresentID2BitKhr = 64, + [NativeName("Name", "VK_SWAPCHAIN_CREATE_PRESENT_WAIT_2_BIT_KHR")] + PresentWait2BitKhr = 128, + [NativeName("Name", "VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_KHR")] + DeferredMemoryAllocationBitKhr = 8, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/TensorCreateFlagsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorCreateFlagsARM.gen.cs new file mode 100644 index 0000000000..ad15caa9f7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorCreateFlagsARM.gen.cs @@ -0,0 +1,34 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkTensorCreateFlagsARM")] + public enum TensorCreateFlagsARM : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"MutableFormatBitArm\"")] + [NativeName("Name", "VK_TENSOR_CREATE_MUTABLE_FORMAT_BIT_ARM")] + TensorCreateMutableFormatBitArm = 1, + [Obsolete("Deprecated in favour of \"ProtectedBitArm\"")] + [NativeName("Name", "VK_TENSOR_CREATE_PROTECTED_BIT_ARM")] + TensorCreateProtectedBitArm = 2, + [Obsolete("Deprecated in favour of \"DescriptorBufferCaptureReplayBitArm\"")] + [NativeName("Name", "VK_TENSOR_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM")] + TensorCreateDescriptorBufferCaptureReplayBitArm = 4, + [NativeName("Name", "VK_TENSOR_CREATE_MUTABLE_FORMAT_BIT_ARM")] + MutableFormatBitArm = 1, + [NativeName("Name", "VK_TENSOR_CREATE_PROTECTED_BIT_ARM")] + ProtectedBitArm = 2, + [NativeName("Name", "VK_TENSOR_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM")] + DescriptorBufferCaptureReplayBitArm = 4, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/TensorTilingARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorTilingARM.gen.cs new file mode 100644 index 0000000000..55b426858a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorTilingARM.gen.cs @@ -0,0 +1,26 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorTilingARM")] + public enum TensorTilingARM : int + { + [Obsolete("Deprecated in favour of \"OptimalArm\"")] + [NativeName("Name", "VK_TENSOR_TILING_OPTIMAL_ARM")] + TensorTilingOptimalArm = 0, + [Obsolete("Deprecated in favour of \"LinearArm\"")] + [NativeName("Name", "VK_TENSOR_TILING_LINEAR_ARM")] + TensorTilingLinearArm = 1, + [NativeName("Name", "VK_TENSOR_TILING_OPTIMAL_ARM")] + OptimalArm = 0, + [NativeName("Name", "VK_TENSOR_TILING_LINEAR_ARM")] + LinearArm = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/TensorUsageFlagsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorUsageFlagsARM.gen.cs new file mode 100644 index 0000000000..7f129a91f6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorUsageFlagsARM.gen.cs @@ -0,0 +1,44 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkTensorUsageFlagsARM")] + public enum TensorUsageFlagsARM : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"ShaderBitArm\"")] + [NativeName("Name", "VK_TENSOR_USAGE_SHADER_BIT_ARM")] + TensorUsageShaderBitArm = 2, + [Obsolete("Deprecated in favour of \"TransferSrcBitArm\"")] + [NativeName("Name", "VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM")] + TensorUsageTransferSrcBitArm = 4, + [Obsolete("Deprecated in favour of \"TransferDstBitArm\"")] + [NativeName("Name", "VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM")] + TensorUsageTransferDstBitArm = 8, + [Obsolete("Deprecated in favour of \"ImageAliasingBitArm\"")] + [NativeName("Name", "VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM")] + TensorUsageImageAliasingBitArm = 16, + [Obsolete("Deprecated in favour of \"DataGraphBitArm\"")] + [NativeName("Name", "VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM")] + TensorUsageDataGraphBitArm = 32, + [NativeName("Name", "VK_TENSOR_USAGE_SHADER_BIT_ARM")] + ShaderBitArm = 2, + [NativeName("Name", "VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM")] + TransferSrcBitArm = 4, + [NativeName("Name", "VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM")] + TransferDstBitArm = 8, + [NativeName("Name", "VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM")] + ImageAliasingBitArm = 16, + [NativeName("Name", "VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM")] + DataGraphBitArm = 32, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/TensorViewCreateFlagsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorViewCreateFlagsARM.gen.cs new file mode 100644 index 0000000000..4eac4227c7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/TensorViewCreateFlagsARM.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkTensorViewCreateFlagsARM")] + public enum TensorViewCreateFlagsARM : long + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"DescriptorBufferCaptureReplayBitArm\"")] + [NativeName("Name", "VK_TENSOR_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM")] + TensorViewCreateDescriptorBufferCaptureReplayBitArm = 1, + [NativeName("Name", "VK_TENSOR_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM")] + DescriptorBufferCaptureReplayBitArm = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/TileShadingRenderPassFlagsQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/TileShadingRenderPassFlagsQCOM.gen.cs new file mode 100644 index 0000000000..06d788fe13 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/TileShadingRenderPassFlagsQCOM.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkTileShadingRenderPassFlagsQCOM")] + public enum TileShadingRenderPassFlagsQCOM : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"EnableBitQCom\"")] + [NativeName("Name", "VK_TILE_SHADING_RENDER_PASS_ENABLE_BIT_QCOM")] + TileShadingRenderPassEnableBitQCom = 1, + [Obsolete("Deprecated in favour of \"PerTileExecutionBitQCom\"")] + [NativeName("Name", "VK_TILE_SHADING_RENDER_PASS_PER_TILE_EXECUTION_BIT_QCOM")] + TileShadingRenderPassPerTileExecutionBitQCom = 2, + [NativeName("Name", "VK_TILE_SHADING_RENDER_PASS_ENABLE_BIT_QCOM")] + EnableBitQCom = 1, + [NativeName("Name", "VK_TILE_SHADING_RENDER_PASS_PER_TILE_EXECUTION_BIT_QCOM")] + PerTileExecutionBitQCom = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlags.gen.cs index 7b3b544f3e..87f6e06574 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlags.gen.cs @@ -18,33 +18,18 @@ public enum ToolPurposeFlags : int [Obsolete("Deprecated in favour of \"ValidationBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT")] ToolPurposeValidationBit = 1, - [Obsolete("Deprecated in favour of \"ValidationBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT_EXT")] - ToolPurposeValidationBitExt = 1, [Obsolete("Deprecated in favour of \"ProfilingBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT")] ToolPurposeProfilingBit = 2, - [Obsolete("Deprecated in favour of \"ProfilingBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT_EXT")] - ToolPurposeProfilingBitExt = 2, [Obsolete("Deprecated in favour of \"TracingBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT")] ToolPurposeTracingBit = 4, - [Obsolete("Deprecated in favour of \"TracingBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT_EXT")] - ToolPurposeTracingBitExt = 4, [Obsolete("Deprecated in favour of \"AdditionalFeaturesBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT")] ToolPurposeAdditionalFeaturesBit = 8, - [Obsolete("Deprecated in favour of \"AdditionalFeaturesBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT")] - ToolPurposeAdditionalFeaturesBitExt = 8, [Obsolete("Deprecated in favour of \"ModifyingFeaturesBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT")] ToolPurposeModifyingFeaturesBit = 16, - [Obsolete("Deprecated in favour of \"ModifyingFeaturesBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT")] - ToolPurposeModifyingFeaturesBitExt = 16, [Obsolete("Deprecated in favour of \"DebugReportingBitExt\"")] [NativeName("Name", "VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT")] ToolPurposeDebugReportingBitExt = 32, @@ -53,24 +38,14 @@ public enum ToolPurposeFlags : int ToolPurposeDebugMarkersBitExt = 64, [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT")] ValidationBit = 1, - [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT_EXT")] - ValidationBitExt = 1, [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT")] ProfilingBit = 2, - [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT_EXT")] - ProfilingBitExt = 2, [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT")] TracingBit = 4, - [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT_EXT")] - TracingBitExt = 4, [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT")] AdditionalFeaturesBit = 8, - [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT")] - AdditionalFeaturesBitExt = 8, [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT")] ModifyingFeaturesBit = 16, - [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT")] - ModifyingFeaturesBitExt = 16, [NativeName("Name", "VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT")] DebugReportingBitExt = 32, [NativeName("Name", "VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlagsEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlagsEXT.gen.cs index 606aa93236..4954ed7048 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlagsEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ToolPurposeFlagsEXT.gen.cs @@ -18,52 +18,27 @@ public enum ToolPurposeFlagsEXT : int [Obsolete("Deprecated in favour of \"ValidationBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT")] ToolPurposeValidationBit = 1, - [Obsolete("Deprecated in favour of \"ValidationBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT_EXT")] - ToolPurposeValidationBitExt = 1, [Obsolete("Deprecated in favour of \"ProfilingBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT")] ToolPurposeProfilingBit = 2, - [Obsolete("Deprecated in favour of \"ProfilingBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT_EXT")] - ToolPurposeProfilingBitExt = 2, [Obsolete("Deprecated in favour of \"TracingBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT")] ToolPurposeTracingBit = 4, - [Obsolete("Deprecated in favour of \"TracingBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT_EXT")] - ToolPurposeTracingBitExt = 4, [Obsolete("Deprecated in favour of \"AdditionalFeaturesBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT")] ToolPurposeAdditionalFeaturesBit = 8, - [Obsolete("Deprecated in favour of \"AdditionalFeaturesBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT")] - ToolPurposeAdditionalFeaturesBitExt = 8, [Obsolete("Deprecated in favour of \"ModifyingFeaturesBit\"")] [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT")] ToolPurposeModifyingFeaturesBit = 16, - [Obsolete("Deprecated in favour of \"ModifyingFeaturesBitExt\"")] - [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT")] - ToolPurposeModifyingFeaturesBitExt = 16, [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT")] ValidationBit = 1, - [NativeName("Name", "VK_TOOL_PURPOSE_VALIDATION_BIT_EXT")] - ValidationBitExt = 1, [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT")] ProfilingBit = 2, - [NativeName("Name", "VK_TOOL_PURPOSE_PROFILING_BIT_EXT")] - ProfilingBitExt = 2, [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT")] TracingBit = 4, - [NativeName("Name", "VK_TOOL_PURPOSE_TRACING_BIT_EXT")] - TracingBitExt = 4, [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT")] AdditionalFeaturesBit = 8, - [NativeName("Name", "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT")] - AdditionalFeaturesBitExt = 8, [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT")] ModifyingFeaturesBit = 16, - [NativeName("Name", "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT")] - ModifyingFeaturesBitExt = 16, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodecOperationFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodecOperationFlagsKHR.gen.cs index 400f6effd6..90b54d3dd2 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodecOperationFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodecOperationFlagsKHR.gen.cs @@ -31,6 +31,12 @@ public enum VideoCodecOperationFlagsKHR : int [Obsolete("Deprecated in favour of \"DecodeAV1BitKhr\"")] [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR")] VideoCodecOperationDecodeAV1BitKhr = 4, + [Obsolete("Deprecated in favour of \"EncodeAV1BitKhr\"")] + [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHR")] + VideoCodecOperationEncodeAV1BitKhr = 262144, + [Obsolete("Deprecated in favour of \"DecodeVP9BitKhr\"")] + [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_DECODE_VP9_BIT_KHR")] + VideoCodecOperationDecodeVP9BitKhr = 8, [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_NONE_KHR")] NoneKhr = 0, [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR")] @@ -43,5 +49,9 @@ public enum VideoCodecOperationFlagsKHR : int DecodeH265BitKhr = 2, [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR")] DecodeAV1BitKhr = 4, + [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHR")] + EncodeAV1BitKhr = 262144, + [NativeName("Name", "VK_VIDEO_CODEC_OPERATION_DECODE_VP9_BIT_KHR")] + DecodeVP9BitKhr = 8, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1CapabilityFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1CapabilityFlagsKHR.gen.cs new file mode 100644 index 0000000000..732852f45e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1CapabilityFlagsKHR.gen.cs @@ -0,0 +1,49 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoEncodeAV1CapabilityFlagsKHR")] + public enum VideoEncodeAV1CapabilityFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"PerRateControlGroupMinMaxQIndexBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX_BIT_KHR")] + VideoEncodeAV1CapabilityPerRateControlGroupMinMaxQIndexBitKhr = 1, + [Obsolete("Deprecated in favour of \"GenerateObuExtensionHeaderBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_GENERATE_OBU_EXTENSION_HEADER_BIT_KHR")] + VideoEncodeAV1CapabilityGenerateObuExtensionHeaderBitKhr = 2, + [Obsolete("Deprecated in favour of \"PrimaryReferenceCdfOnlyBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_PRIMARY_REFERENCE_CDF_ONLY_BIT_KHR")] + VideoEncodeAV1CapabilityPrimaryReferenceCdfOnlyBitKhr = 4, + [Obsolete("Deprecated in favour of \"FrameSizeOverrideBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_FRAME_SIZE_OVERRIDE_BIT_KHR")] + VideoEncodeAV1CapabilityFrameSizeOverrideBitKhr = 8, + [Obsolete("Deprecated in favour of \"MotionVectorScalingBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_MOTION_VECTOR_SCALING_BIT_KHR")] + VideoEncodeAV1CapabilityMotionVectorScalingBitKhr = 16, + [Obsolete("Deprecated in favour of \"CompoundPredictionIntraRefreshBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_COMPOUND_PREDICTION_INTRA_REFRESH_BIT_KHR")] + VideoEncodeAV1CapabilityCompoundPredictionIntraRefreshBitKhr = 32, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX_BIT_KHR")] + PerRateControlGroupMinMaxQIndexBitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_GENERATE_OBU_EXTENSION_HEADER_BIT_KHR")] + GenerateObuExtensionHeaderBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_PRIMARY_REFERENCE_CDF_ONLY_BIT_KHR")] + PrimaryReferenceCdfOnlyBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_FRAME_SIZE_OVERRIDE_BIT_KHR")] + FrameSizeOverrideBitKhr = 8, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_MOTION_VECTOR_SCALING_BIT_KHR")] + MotionVectorScalingBitKhr = 16, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_CAPABILITY_COMPOUND_PREDICTION_INTRA_REFRESH_BIT_KHR")] + CompoundPredictionIntraRefreshBitKhr = 32, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1PredictionModeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1PredictionModeKHR.gen.cs new file mode 100644 index 0000000000..136398639e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1PredictionModeKHR.gen.cs @@ -0,0 +1,36 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1PredictionModeKHR")] + public enum VideoEncodeAV1PredictionModeKHR : int + { + [Obsolete("Deprecated in favour of \"IntraOnlyKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_INTRA_ONLY_KHR")] + VideoEncodeAV1PredictionModeIntraOnlyKhr = 0, + [Obsolete("Deprecated in favour of \"SingleReferenceKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_SINGLE_REFERENCE_KHR")] + VideoEncodeAV1PredictionModeSingleReferenceKhr = 1, + [Obsolete("Deprecated in favour of \"UnidirectionalCompoundKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_UNIDIRECTIONAL_COMPOUND_KHR")] + VideoEncodeAV1PredictionModeUnidirectionalCompoundKhr = 2, + [Obsolete("Deprecated in favour of \"BidirectionalCompoundKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_BIDIRECTIONAL_COMPOUND_KHR")] + VideoEncodeAV1PredictionModeBidirectionalCompoundKhr = 3, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_INTRA_ONLY_KHR")] + IntraOnlyKhr = 0, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_SINGLE_REFERENCE_KHR")] + SingleReferenceKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_UNIDIRECTIONAL_COMPOUND_KHR")] + UnidirectionalCompoundKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_BIDIRECTIONAL_COMPOUND_KHR")] + BidirectionalCompoundKhr = 3, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlFlagsKHR.gen.cs new file mode 100644 index 0000000000..708d8e7336 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlFlagsKHR.gen.cs @@ -0,0 +1,39 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoEncodeAV1RateControlFlagsKHR")] + public enum VideoEncodeAV1RateControlFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"RegularGopBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REGULAR_GOP_BIT_KHR")] + VideoEncodeAV1RateControlRegularGopBitKhr = 1, + [Obsolete("Deprecated in favour of \"TemporalLayerPatternDyadicBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR")] + VideoEncodeAV1RateControlTemporalLayerPatternDyadicBitKhr = 2, + [Obsolete("Deprecated in favour of \"ReferencePatternFlatBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR")] + VideoEncodeAV1RateControlReferencePatternFlatBitKhr = 4, + [Obsolete("Deprecated in favour of \"ReferencePatternDyadicBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR")] + VideoEncodeAV1RateControlReferencePatternDyadicBitKhr = 8, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REGULAR_GOP_BIT_KHR")] + RegularGopBitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR")] + TemporalLayerPatternDyadicBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR")] + ReferencePatternFlatBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR")] + ReferencePatternDyadicBitKhr = 8, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlGroupKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlGroupKHR.gen.cs new file mode 100644 index 0000000000..c70343b1c0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1RateControlGroupKHR.gen.cs @@ -0,0 +1,31 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1RateControlGroupKHR")] + public enum VideoEncodeAV1RateControlGroupKHR : int + { + [Obsolete("Deprecated in favour of \"IntraKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_INTRA_KHR")] + VideoEncodeAV1RateControlGroupIntraKhr = 0, + [Obsolete("Deprecated in favour of \"PredictiveKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_PREDICTIVE_KHR")] + VideoEncodeAV1RateControlGroupPredictiveKhr = 1, + [Obsolete("Deprecated in favour of \"BipredictiveKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_BIPREDICTIVE_KHR")] + VideoEncodeAV1RateControlGroupBipredictiveKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_INTRA_KHR")] + IntraKhr = 0, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_PREDICTIVE_KHR")] + PredictiveKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_BIPREDICTIVE_KHR")] + BipredictiveKhr = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1StdFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1StdFlagsKHR.gen.cs new file mode 100644 index 0000000000..380ca8246b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1StdFlagsKHR.gen.cs @@ -0,0 +1,39 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoEncodeAV1StdFlagsKHR")] + public enum VideoEncodeAV1StdFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"UniformTileSpacingFlagSetBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_UNIFORM_TILE_SPACING_FLAG_SET_BIT_KHR")] + VideoEncodeAV1StdUniformTileSpacingFlagSetBitKhr = 1, + [Obsolete("Deprecated in favour of \"SkipModePresentUnsetBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_SKIP_MODE_PRESENT_UNSET_BIT_KHR")] + VideoEncodeAV1StdSkipModePresentUnsetBitKhr = 2, + [Obsolete("Deprecated in favour of \"PrimaryRefFrameBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_PRIMARY_REF_FRAME_BIT_KHR")] + VideoEncodeAV1StdPrimaryRefFrameBitKhr = 4, + [Obsolete("Deprecated in favour of \"DeltaQBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_DELTA_Q_BIT_KHR")] + VideoEncodeAV1StdDeltaQBitKhr = 8, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_UNIFORM_TILE_SPACING_FLAG_SET_BIT_KHR")] + UniformTileSpacingFlagSetBitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_SKIP_MODE_PRESENT_UNSET_BIT_KHR")] + SkipModePresentUnsetBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_PRIMARY_REF_FRAME_BIT_KHR")] + PrimaryRefFrameBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_STD_DELTA_Q_BIT_KHR")] + DeltaQBitKhr = 8, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1SuperblockSizeFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1SuperblockSizeFlagsKHR.gen.cs new file mode 100644 index 0000000000..5e8ca39242 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeAV1SuperblockSizeFlagsKHR.gen.cs @@ -0,0 +1,29 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoEncodeAV1SuperblockSizeFlagsKHR")] + public enum VideoEncodeAV1SuperblockSizeFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"Size64BitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_SUPERBLOCK_SIZE_64_BIT_KHR")] + VideoEncodeAV1SuperblockSize64BitKhr = 1, + [Obsolete("Deprecated in favour of \"Size128BitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_SUPERBLOCK_SIZE_128_BIT_KHR")] + VideoEncodeAV1SuperblockSize128BitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_SUPERBLOCK_SIZE_64_BIT_KHR")] + Size64BitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_AV1_SUPERBLOCK_SIZE_128_BIT_KHR")] + Size128BitKhr = 2, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeCapabilityFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeCapabilityFlagsKHR.gen.cs index e192cc54a5..b415eab762 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeCapabilityFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeCapabilityFlagsKHR.gen.cs @@ -21,9 +21,19 @@ public enum VideoEncodeCapabilityFlagsKHR : int [Obsolete("Deprecated in favour of \"InsufficientBitstreamBufferRangeDetectionBitKhr\"")] [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR")] VideoEncodeCapabilityInsufficientBitstreamBufferRangeDetectionBitKhr = 2, + [Obsolete("Deprecated in favour of \"QuantizationDeltaMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoEncodeCapabilityQuantizationDeltaMapBitKhr = 4, + [Obsolete("Deprecated in favour of \"EmphasisMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_EMPHASIS_MAP_BIT_KHR")] + VideoEncodeCapabilityEmphasisMapBitKhr = 8, [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR")] PrecedingExternallyEncodedBytesBitKhr = 1, [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR")] InsufficientBitstreamBufferRangeDetectionBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_QUANTIZATION_DELTA_MAP_BIT_KHR")] + QuantizationDeltaMapBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_CAPABILITY_EMPHASIS_MAP_BIT_KHR")] + EmphasisMapBitKhr = 8, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeFlagsKHR.gen.cs index 84cc80b8ea..dd03f8025b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeFlagsKHR.gen.cs @@ -15,5 +15,20 @@ public enum VideoEncodeFlagsKHR : int { [NativeName("Name", "")] None = 0, + [Obsolete("Deprecated in favour of \"IntraRefreshBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_BIT_KHR")] + VideoEncodeIntraRefreshBitKhr = 4, + [Obsolete("Deprecated in favour of \"WithQuantizationDeltaMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_WITH_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoEncodeWithQuantizationDeltaMapBitKhr = 1, + [Obsolete("Deprecated in favour of \"WithEmphasisMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_WITH_EMPHASIS_MAP_BIT_KHR")] + VideoEncodeWithEmphasisMapBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_BIT_KHR")] + IntraRefreshBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_WITH_QUANTIZATION_DELTA_MAP_BIT_KHR")] + WithQuantizationDeltaMapBitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_WITH_EMPHASIS_MAP_BIT_KHR")] + WithEmphasisMapBitKhr = 2, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH264CapabilityFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH264CapabilityFlagsKHR.gen.cs index 7fb216f1cf..a8527154f6 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH264CapabilityFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH264CapabilityFlagsKHR.gen.cs @@ -42,6 +42,12 @@ public enum VideoEncodeH264CapabilityFlagsKHR : int [Obsolete("Deprecated in favour of \"GeneratePrefixNaluBitKhr\"")] [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_GENERATE_PREFIX_NALU_BIT_KHR")] VideoEncodeH264CapabilityGeneratePrefixNaluBitKhr = 256, + [Obsolete("Deprecated in favour of \"BPictureIntraRefreshBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR")] + VideoEncodeH264CapabilityBPictureIntraRefreshBitKhr = 1024, + [Obsolete("Deprecated in favour of \"MBQPDiffWraparoundBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_MB_QP_DIFF_WRAPAROUND_BIT_KHR")] + VideoEncodeH264CapabilityMBQPDiffWraparoundBitKhr = 512, [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_KHR")] HrdComplianceBitKhr = 1, [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR")] @@ -60,5 +66,9 @@ public enum VideoEncodeH264CapabilityFlagsKHR : int PerSliceConstantQPBitKhr = 128, [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_GENERATE_PREFIX_NALU_BIT_KHR")] GeneratePrefixNaluBitKhr = 256, + [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR")] + BPictureIntraRefreshBitKhr = 1024, + [NativeName("Name", "VK_VIDEO_ENCODE_H264_CAPABILITY_MB_QP_DIFF_WRAPAROUND_BIT_KHR")] + MBQPDiffWraparoundBitKhr = 512, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH265CapabilityFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH265CapabilityFlagsKHR.gen.cs index 2b9450f580..d847fa908d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH265CapabilityFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeH265CapabilityFlagsKHR.gen.cs @@ -45,6 +45,12 @@ public enum VideoEncodeH265CapabilityFlagsKHR : int [Obsolete("Deprecated in favour of \"MultipleSliceSegmentsPerTileBitKhr\"")] [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR")] VideoEncodeH265CapabilityMultipleSliceSegmentsPerTileBitKhr = 512, + [Obsolete("Deprecated in favour of \"BPictureIntraRefreshBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR")] + VideoEncodeH265CapabilityBPictureIntraRefreshBitKhr = 2048, + [Obsolete("Deprecated in favour of \"CUQPDiffWraparoundBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_CU_QP_DIFF_WRAPAROUND_BIT_KHR")] + VideoEncodeH265CapabilityCUQPDiffWraparoundBitKhr = 1024, [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_KHR")] HrdComplianceBitKhr = 1, [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR")] @@ -65,5 +71,9 @@ public enum VideoEncodeH265CapabilityFlagsKHR : int MultipleTilesPerSliceSegmentBitKhr = 256, [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR")] MultipleSliceSegmentsPerTileBitKhr = 512, + [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR")] + BPictureIntraRefreshBitKhr = 2048, + [NativeName("Name", "VK_VIDEO_ENCODE_H265_CAPABILITY_CU_QP_DIFF_WRAPAROUND_BIT_KHR")] + CUQPDiffWraparoundBitKhr = 1024, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeIntraRefreshModeFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeIntraRefreshModeFlagsKHR.gen.cs new file mode 100644 index 0000000000..a635ec81ed --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoEncodeIntraRefreshModeFlagsKHR.gen.cs @@ -0,0 +1,42 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoEncodeIntraRefreshModeFlagsKHR")] + public enum VideoEncodeIntraRefreshModeFlagsKHR : int + { + [Obsolete("Deprecated in favour of \"NoneKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHR")] + VideoEncodeIntraRefreshModeNoneKhr = 0, + [Obsolete("Deprecated in favour of \"PerPicturePartitionBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR")] + VideoEncodeIntraRefreshModePerPicturePartitionBitKhr = 1, + [Obsolete("Deprecated in favour of \"BlockBasedBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHR")] + VideoEncodeIntraRefreshModeBlockBasedBitKhr = 2, + [Obsolete("Deprecated in favour of \"BlockRowBasedBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHR")] + VideoEncodeIntraRefreshModeBlockRowBasedBitKhr = 4, + [Obsolete("Deprecated in favour of \"BlockColumnBasedBitKhr\"")] + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_BIT_KHR")] + VideoEncodeIntraRefreshModeBlockColumnBasedBitKhr = 8, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHR")] + NoneKhr = 0, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR")] + PerPicturePartitionBitKhr = 1, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHR")] + BlockBasedBitKhr = 2, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHR")] + BlockRowBasedBitKhr = 4, + [NativeName("Name", "VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_BIT_KHR")] + BlockColumnBasedBitKhr = 8, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionCreateFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionCreateFlagsKHR.gen.cs index e74569c788..80aa5da812 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionCreateFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionCreateFlagsKHR.gen.cs @@ -24,11 +24,26 @@ public enum VideoSessionCreateFlagsKHR : int [Obsolete("Deprecated in favour of \"InlineQueriesBitKhr\"")] [NativeName("Name", "VK_VIDEO_SESSION_CREATE_INLINE_QUERIES_BIT_KHR")] VideoSessionCreateInlineQueriesBitKhr = 4, + [Obsolete("Deprecated in favour of \"AllowEncodeQuantizationDeltaMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoSessionCreateAllowEncodeQuantizationDeltaMapBitKhr = 8, + [Obsolete("Deprecated in favour of \"AllowEncodeEmphasisMapBitKhr\"")] + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR")] + VideoSessionCreateAllowEncodeEmphasisMapBitKhr = 16, + [Obsolete("Deprecated in favour of \"InlineSessionParametersBitKhr\"")] + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_INLINE_SESSION_PARAMETERS_BIT_KHR")] + VideoSessionCreateInlineSessionParametersBitKhr = 32, [NativeName("Name", "VK_VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR")] ProtectedContentBitKhr = 1, [NativeName("Name", "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS_BIT_KHR")] AllowEncodeParameterOptimizationsBitKhr = 2, [NativeName("Name", "VK_VIDEO_SESSION_CREATE_INLINE_QUERIES_BIT_KHR")] InlineQueriesBitKhr = 4, + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + AllowEncodeQuantizationDeltaMapBitKhr = 8, + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR")] + AllowEncodeEmphasisMapBitKhr = 16, + [NativeName("Name", "VK_VIDEO_SESSION_CREATE_INLINE_SESSION_PARAMETERS_BIT_KHR")] + InlineSessionParametersBitKhr = 32, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionParametersCreateFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionParametersCreateFlagsKHR.gen.cs new file mode 100644 index 0000000000..4a04521582 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoSessionParametersCreateFlagsKHR.gen.cs @@ -0,0 +1,24 @@ +// 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 Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags] + [NativeName("Name", "VkVideoSessionParametersCreateFlagsKHR")] + public enum VideoSessionParametersCreateFlagsKHR : int + { + [NativeName("Name", "")] + None = 0, + [Obsolete("Deprecated in favour of \"QuantizationMapCompatibleBitKhr\"")] + [NativeName("Name", "VK_VIDEO_SESSION_PARAMETERS_CREATE_QUANTIZATION_MAP_COMPATIBLE_BIT_KHR")] + VideoSessionParametersCreateQuantizationMapCompatibleBitKhr = 1, + [NativeName("Name", "VK_VIDEO_SESSION_PARAMETERS_CREATE_QUANTIZATION_MAP_COMPATIBLE_BIT_KHR")] + QuantizationMapCompatibleBitKhr = 1, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureDenseGeometryFormatTrianglesDataAMDX.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureDenseGeometryFormatTrianglesDataAMDX.gen.cs new file mode 100644 index 0000000000..fd73dd232b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureDenseGeometryFormatTrianglesDataAMDX.gen.cs @@ -0,0 +1,152 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX")] + public unsafe partial struct AccelerationStructureDenseGeometryFormatTrianglesDataAMDX : IChainStart, IExtendsChain + { + public AccelerationStructureDenseGeometryFormatTrianglesDataAMDX + ( + StructureType? sType = StructureType.AccelerationStructureDenseGeometryFormatTrianglesDataAmdx, + void* pNext = null, + DeviceOrHostAddressConstKHR? compressedData = null, + ulong? dataSize = null, + uint? numTriangles = null, + uint? numVertices = null, + uint? maxPrimitiveIndex = null, + uint? maxGeometryIndex = null, + CompressedTriangleFormatAMDX? format = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (compressedData is not null) + { + CompressedData = compressedData.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (numTriangles is not null) + { + NumTriangles = numTriangles.Value; + } + + if (numVertices is not null) + { + NumVertices = numVertices.Value; + } + + if (maxPrimitiveIndex is not null) + { + MaxPrimitiveIndex = maxPrimitiveIndex.Value; + } + + if (maxGeometryIndex is not null) + { + MaxGeometryIndex = maxGeometryIndex.Value; + } + + if (format is not null) + { + Format = format.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "compressedData")] + public DeviceOrHostAddressConstKHR CompressedData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "dataSize")] + public ulong DataSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numTriangles")] + public uint NumTriangles; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numVertices")] + public uint NumVertices; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPrimitiveIndex")] + public uint MaxPrimitiveIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxGeometryIndex")] + public uint MaxGeometryIndex; +/// + [NativeName("Type", "VkCompressedTriangleFormatAMDX")] + [NativeName("Type.Name", "VkCompressedTriangleFormatAMDX")] + [NativeName("Name", "format")] + public CompressedTriangleFormatAMDX Format; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.AccelerationStructureDenseGeometryFormatTrianglesDataAmdx; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref AccelerationStructureDenseGeometryFormatTrianglesDataAMDX Chain( + out AccelerationStructureDenseGeometryFormatTrianglesDataAMDX capture) + { + capture = new AccelerationStructureDenseGeometryFormatTrianglesDataAMDX(StructureType.AccelerationStructureDenseGeometryFormatTrianglesDataAmdx); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryKHR.gen.cs index 9916a92110..2b59592cf4 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryKHR.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkAccelerationStructureGeometryKHR")] - public unsafe partial struct AccelerationStructureGeometryKHR : IChainable + public unsafe partial struct AccelerationStructureGeometryKHR : IChainStart { public AccelerationStructureGeometryKHR ( @@ -92,5 +92,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref AccelerationStructureGeometryKHR Chain( + out AccelerationStructureGeometryKHR capture) + { + capture = new AccelerationStructureGeometryKHR(StructureType.AccelerationStructureGeometryKhr); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryLinearSweptSpheresDataNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryLinearSweptSpheresDataNV.gen.cs new file mode 100644 index 0000000000..0fcc914857 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometryLinearSweptSpheresDataNV.gen.cs @@ -0,0 +1,184 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkAccelerationStructureGeometryLinearSweptSpheresDataNV")] + public unsafe partial struct AccelerationStructureGeometryLinearSweptSpheresDataNV : IExtendsChain + { + public AccelerationStructureGeometryLinearSweptSpheresDataNV + ( + StructureType? sType = StructureType.AccelerationStructureGeometryLinearSweptSpheresDataNV, + void* pNext = null, + Format? vertexFormat = null, + DeviceOrHostAddressConstKHR? vertexData = null, + ulong? vertexStride = null, + Format? radiusFormat = null, + DeviceOrHostAddressConstKHR? radiusData = null, + ulong? radiusStride = null, + IndexType? indexType = null, + DeviceOrHostAddressConstKHR? indexData = null, + ulong? indexStride = null, + RayTracingLssIndexingModeNV? indexingMode = null, + RayTracingLssPrimitiveEndCapsModeNV? endCapsMode = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexFormat is not null) + { + VertexFormat = vertexFormat.Value; + } + + if (vertexData is not null) + { + VertexData = vertexData.Value; + } + + if (vertexStride is not null) + { + VertexStride = vertexStride.Value; + } + + if (radiusFormat is not null) + { + RadiusFormat = radiusFormat.Value; + } + + if (radiusData is not null) + { + RadiusData = radiusData.Value; + } + + if (radiusStride is not null) + { + RadiusStride = radiusStride.Value; + } + + if (indexType is not null) + { + IndexType = indexType.Value; + } + + if (indexData is not null) + { + IndexData = indexData.Value; + } + + if (indexStride is not null) + { + IndexStride = indexStride.Value; + } + + if (indexingMode is not null) + { + IndexingMode = indexingMode.Value; + } + + if (endCapsMode is not null) + { + EndCapsMode = endCapsMode.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "vertexFormat")] + public Format VertexFormat; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "vertexData")] + public DeviceOrHostAddressConstKHR VertexData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "vertexStride")] + public ulong VertexStride; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "radiusFormat")] + public Format RadiusFormat; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "radiusData")] + public DeviceOrHostAddressConstKHR RadiusData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "radiusStride")] + public ulong RadiusStride; +/// + [NativeName("Type", "VkIndexType")] + [NativeName("Type.Name", "VkIndexType")] + [NativeName("Name", "indexType")] + public IndexType IndexType; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "indexData")] + public DeviceOrHostAddressConstKHR IndexData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "indexStride")] + public ulong IndexStride; +/// + [NativeName("Type", "VkRayTracingLssIndexingModeNV")] + [NativeName("Type.Name", "VkRayTracingLssIndexingModeNV")] + [NativeName("Name", "indexingMode")] + public RayTracingLssIndexingModeNV IndexingMode; +/// + [NativeName("Type", "VkRayTracingLssPrimitiveEndCapsModeNV")] + [NativeName("Type.Name", "VkRayTracingLssPrimitiveEndCapsModeNV")] + [NativeName("Name", "endCapsMode")] + public RayTracingLssPrimitiveEndCapsModeNV EndCapsMode; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.AccelerationStructureGeometryLinearSweptSpheresDataNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometrySpheresDataNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometrySpheresDataNV.gen.cs new file mode 100644 index 0000000000..239e4abb0c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureGeometrySpheresDataNV.gen.cs @@ -0,0 +1,162 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkAccelerationStructureGeometrySpheresDataNV")] + public unsafe partial struct AccelerationStructureGeometrySpheresDataNV : IExtendsChain + { + public AccelerationStructureGeometrySpheresDataNV + ( + StructureType? sType = StructureType.AccelerationStructureGeometrySpheresDataNV, + void* pNext = null, + Format? vertexFormat = null, + DeviceOrHostAddressConstKHR? vertexData = null, + ulong? vertexStride = null, + Format? radiusFormat = null, + DeviceOrHostAddressConstKHR? radiusData = null, + ulong? radiusStride = null, + IndexType? indexType = null, + DeviceOrHostAddressConstKHR? indexData = null, + ulong? indexStride = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexFormat is not null) + { + VertexFormat = vertexFormat.Value; + } + + if (vertexData is not null) + { + VertexData = vertexData.Value; + } + + if (vertexStride is not null) + { + VertexStride = vertexStride.Value; + } + + if (radiusFormat is not null) + { + RadiusFormat = radiusFormat.Value; + } + + if (radiusData is not null) + { + RadiusData = radiusData.Value; + } + + if (radiusStride is not null) + { + RadiusStride = radiusStride.Value; + } + + if (indexType is not null) + { + IndexType = indexType.Value; + } + + if (indexData is not null) + { + IndexData = indexData.Value; + } + + if (indexStride is not null) + { + IndexStride = indexStride.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "vertexFormat")] + public Format VertexFormat; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "vertexData")] + public DeviceOrHostAddressConstKHR VertexData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "vertexStride")] + public ulong VertexStride; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "radiusFormat")] + public Format RadiusFormat; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "radiusData")] + public DeviceOrHostAddressConstKHR RadiusData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "radiusStride")] + public ulong RadiusStride; +/// + [NativeName("Type", "VkIndexType")] + [NativeName("Type.Name", "VkIndexType")] + [NativeName("Name", "indexType")] + public IndexType IndexType; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "indexData")] + public DeviceOrHostAddressConstKHR IndexData; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "indexStride")] + public ulong IndexStride; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.AccelerationStructureGeometrySpheresDataNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureTrianglesOpacityMicromapEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureTrianglesOpacityMicromapEXT.gen.cs index 8237af18b9..f42eec22c5 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureTrianglesOpacityMicromapEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureTrianglesOpacityMicromapEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkAccelerationStructureTrianglesOpacityMicromapEXT")] - public unsafe partial struct AccelerationStructureTrianglesOpacityMicromapEXT : IExtendsChain + public unsafe partial struct AccelerationStructureTrianglesOpacityMicromapEXT : IExtendsChain, IExtendsChain { public AccelerationStructureTrianglesOpacityMicromapEXT ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AttachmentFeedbackLoopInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AttachmentFeedbackLoopInfoEXT.gen.cs new file mode 100644 index 0000000000..6147de17e7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AttachmentFeedbackLoopInfoEXT.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkAttachmentFeedbackLoopInfoEXT")] + public unsafe partial struct AttachmentFeedbackLoopInfoEXT : IExtendsChain, IExtendsChain + { + public AttachmentFeedbackLoopInfoEXT + ( + StructureType? sType = StructureType.AttachmentFeedbackLoopInfoExt, + void* pNext = null, + Bool32? feedbackLoopEnable = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (feedbackLoopEnable is not null) + { + FeedbackLoopEnable = feedbackLoopEnable.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "feedbackLoopEnable")] + public Bool32 FeedbackLoopEnable; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.AttachmentFeedbackLoopInfoExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs new file mode 100644 index 0000000000..c889c522d8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBindDataGraphPipelineSessionMemoryInfoARM")] + public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM : IChainable + { + public BindDataGraphPipelineSessionMemoryInfoARM + ( + StructureType? sType = StructureType.BindDataGraphPipelineSessionMemoryInfoArm, + void* pNext = null, + DataGraphPipelineSessionARM? session = null, + DataGraphPipelineSessionBindPointARM? bindPoint = null, + uint? objectIndex = null, + DeviceMemory? memory = null, + ulong? memoryOffset = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (session is not null) + { + Session = session.Value; + } + + if (bindPoint is not null) + { + BindPoint = bindPoint.Value; + } + + if (objectIndex is not null) + { + ObjectIndex = objectIndex.Value; + } + + if (memory is not null) + { + Memory = memory.Value; + } + + if (memoryOffset is not null) + { + MemoryOffset = memoryOffset.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineSessionARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionARM")] + [NativeName("Name", "session")] + public DataGraphPipelineSessionARM Session; +/// + [NativeName("Type", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Name", "bindPoint")] + public DataGraphPipelineSessionBindPointARM BindPoint; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "objectIndex")] + public uint ObjectIndex; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "memoryOffset")] + public ulong MemoryOffset; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BindDataGraphPipelineSessionMemoryInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfo.gen.cs new file mode 100644 index 0000000000..3efae623ae --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfo.gen.cs @@ -0,0 +1,153 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBindDescriptorSetsInfo")] + [NativeName("Aliases", "VkBindDescriptorSetsInfoKHR")] + public unsafe partial struct BindDescriptorSetsInfo : IChainStart + { + public BindDescriptorSetsInfo + ( + StructureType? sType = StructureType.BindDescriptorSetsInfo, + void* pNext = null, + ShaderStageFlags? stageFlags = null, + PipelineLayout? layout = null, + uint? firstSet = null, + uint? descriptorSetCount = null, + DescriptorSet* pDescriptorSets = null, + uint? dynamicOffsetCount = null, + uint* pDynamicOffsets = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (stageFlags is not null) + { + StageFlags = stageFlags.Value; + } + + if (layout is not null) + { + Layout = layout.Value; + } + + if (firstSet is not null) + { + FirstSet = firstSet.Value; + } + + if (descriptorSetCount is not null) + { + DescriptorSetCount = descriptorSetCount.Value; + } + + if (pDescriptorSets is not null) + { + PDescriptorSets = pDescriptorSets; + } + + if (dynamicOffsetCount is not null) + { + DynamicOffsetCount = dynamicOffsetCount.Value; + } + + if (pDynamicOffsets is not null) + { + PDynamicOffsets = pDynamicOffsets; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkShaderStageFlags")] + [NativeName("Type.Name", "VkShaderStageFlags")] + [NativeName("Name", "stageFlags")] + public ShaderStageFlags StageFlags; +/// + [NativeName("Type", "VkPipelineLayout")] + [NativeName("Type.Name", "VkPipelineLayout")] + [NativeName("Name", "layout")] + public PipelineLayout Layout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "firstSet")] + public uint FirstSet; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "descriptorSetCount")] + public uint DescriptorSetCount; +/// + [NativeName("Type", "VkDescriptorSet*")] + [NativeName("Type.Name", "VkDescriptorSet")] + [NativeName("Name", "pDescriptorSets")] + public DescriptorSet* PDescriptorSets; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dynamicOffsetCount")] + public uint DynamicOffsetCount; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pDynamicOffsets")] + public uint* PDynamicOffsets; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BindDescriptorSetsInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref BindDescriptorSetsInfo Chain( + out BindDescriptorSetsInfo capture) + { + capture = new BindDescriptorSetsInfo(StructureType.BindDescriptorSetsInfo); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfoKHR.gen.cs index 2f3fdba588..08fc373699 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindDescriptorSetsInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkBindDescriptorSetsInfoKHR")] + [NativeName("AliasOf", "VkBindDescriptorSetsInfo")] public unsafe partial struct BindDescriptorSetsInfoKHR : IChainStart { public BindDescriptorSetsInfoKHR ( - StructureType? sType = StructureType.BindDescriptorSetsInfoKhr, + StructureType? sType = StructureType.BindDescriptorSetsInfo, void* pNext = null, ShaderStageFlags? stageFlags = null, PipelineLayout? layout = null, @@ -127,7 +128,7 @@ public BindDescriptorSetsInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.BindDescriptorSetsInfoKhr; + return SType = StructureType.BindDescriptorSetsInfo; } /// @@ -145,7 +146,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref BindDescriptorSetsInfoKHR Chain( out BindDescriptorSetsInfoKHR capture) { - capture = new BindDescriptorSetsInfoKHR(StructureType.BindDescriptorSetsInfoKhr); + capture = new BindDescriptorSetsInfoKHR(StructureType.BindDescriptorSetsInfo); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatus.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatus.gen.cs new file mode 100644 index 0000000000..406918e439 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatus.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBindMemoryStatus")] + [NativeName("Aliases", "VkBindMemoryStatusKHR")] + public unsafe partial struct BindMemoryStatus : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public BindMemoryStatus + ( + StructureType? sType = StructureType.BindMemoryStatus, + void* pNext = null, + Result* pResult = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pResult is not null) + { + PResult = pResult; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkResult*")] + [NativeName("Type.Name", "VkResult")] + [NativeName("Name", "pResult")] + public Result* PResult; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BindMemoryStatus; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatusKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatusKHR.gen.cs index 9805dc67c5..d0ed1912ce 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatusKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindMemoryStatusKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkBindMemoryStatusKHR")] + [NativeName("AliasOf", "VkBindMemoryStatus")] public unsafe partial struct BindMemoryStatusKHR : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public BindMemoryStatusKHR ( - StructureType? sType = StructureType.BindMemoryStatusKhr, + StructureType? sType = StructureType.BindMemoryStatus, void* pNext = null, Result* pResult = null ) : this() @@ -61,7 +62,7 @@ public BindMemoryStatusKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.BindMemoryStatusKhr; + return SType = StructureType.BindMemoryStatus; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BindTensorMemoryInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BindTensorMemoryInfoARM.gen.cs new file mode 100644 index 0000000000..0db4d11403 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BindTensorMemoryInfoARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBindTensorMemoryInfoARM")] + public unsafe partial struct BindTensorMemoryInfoARM : IChainable + { + public BindTensorMemoryInfoARM + ( + StructureType? sType = StructureType.BindTensorMemoryInfoArm, + void* pNext = null, + TensorARM? tensor = null, + DeviceMemory? memory = null, + ulong? memoryOffset = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + + if (memory is not null) + { + Memory = memory.Value; + } + + if (memoryOffset is not null) + { + MemoryOffset = memoryOffset.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "memoryOffset")] + public ulong MemoryOffset; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BindTensorMemoryInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfo.gen.cs new file mode 100644 index 0000000000..061267ffd7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfo.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferUsageFlags2CreateInfo")] + [NativeName("Aliases", "VkBufferUsageFlags2CreateInfoKHR")] + public unsafe partial struct BufferUsageFlags2CreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public BufferUsageFlags2CreateInfo + ( + StructureType? sType = StructureType.BufferUsageFlags2CreateInfo, + void* pNext = null, + BufferUsageFlags2? usage = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (usage is not null) + { + Usage = usage.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBufferUsageFlags2")] + [NativeName("Type.Name", "VkBufferUsageFlags2")] + [NativeName("Name", "usage")] + public BufferUsageFlags2 Usage; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BufferUsageFlags2CreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfoKHR.gen.cs index 3c6e0f2288..61e7ac5a5b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferUsageFlags2CreateInfoKHR.gen.cs @@ -17,13 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkBufferUsageFlags2CreateInfoKHR")] + [NativeName("AliasOf", "VkBufferUsageFlags2CreateInfo")] public unsafe partial struct BufferUsageFlags2CreateInfoKHR : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public BufferUsageFlags2CreateInfoKHR ( - StructureType? sType = StructureType.BufferUsageFlags2CreateInfoKhr, + StructureType? sType = StructureType.BufferUsageFlags2CreateInfo, void* pNext = null, - BufferUsageFlags2KHR? usage = null + BufferUsageFlags2? usage = null ) : this() { if (sType is not null) @@ -53,15 +54,15 @@ public BufferUsageFlags2CreateInfoKHR [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkBufferUsageFlags2KHR")] - [NativeName("Type.Name", "VkBufferUsageFlags2KHR")] + [NativeName("Type", "VkBufferUsageFlags2")] + [NativeName("Type.Name", "VkBufferUsageFlags2")] [NativeName("Name", "usage")] - public BufferUsageFlags2KHR Usage; + public BufferUsageFlags2 Usage; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.BufferUsageFlags2CreateInfoKhr; + return SType = StructureType.BufferUsageFlags2CreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureIndirectCommandNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureIndirectCommandNV.gen.cs new file mode 100644 index 0000000000..792e64c214 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureIndirectCommandNV.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBuildPartitionedAccelerationStructureIndirectCommandNV")] + public unsafe partial struct BuildPartitionedAccelerationStructureIndirectCommandNV + { + public BuildPartitionedAccelerationStructureIndirectCommandNV + ( + PartitionedAccelerationStructureOpTypeNV? opType = null, + uint? argCount = null, + StridedDeviceAddressNV? argData = null + ) : this() + { + if (opType is not null) + { + OpType = opType.Value; + } + + if (argCount is not null) + { + ArgCount = argCount.Value; + } + + if (argData is not null) + { + ArgData = argData.Value; + } + } + +/// + [NativeName("Type", "VkPartitionedAccelerationStructureOpTypeNV")] + [NativeName("Type.Name", "VkPartitionedAccelerationStructureOpTypeNV")] + [NativeName("Name", "opType")] + public PartitionedAccelerationStructureOpTypeNV OpType; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "argCount")] + public uint ArgCount; +/// + [NativeName("Type", "VkStridedDeviceAddressNV")] + [NativeName("Type.Name", "VkStridedDeviceAddressNV")] + [NativeName("Name", "argData")] + public StridedDeviceAddressNV ArgData; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureInfoNV.gen.cs new file mode 100644 index 0000000000..c50d58ebe5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BuildPartitionedAccelerationStructureInfoNV.gen.cs @@ -0,0 +1,129 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBuildPartitionedAccelerationStructureInfoNV")] + public unsafe partial struct BuildPartitionedAccelerationStructureInfoNV : IChainable + { + public BuildPartitionedAccelerationStructureInfoNV + ( + StructureType? sType = StructureType.BuildPartitionedAccelerationStructureInfoNV, + void* pNext = null, + PartitionedAccelerationStructureInstancesInputNV? input = null, + ulong? srcAccelerationStructureData = null, + ulong? dstAccelerationStructureData = null, + ulong? scratchData = null, + ulong? srcInfos = null, + ulong? srcInfosCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (input is not null) + { + Input = input.Value; + } + + if (srcAccelerationStructureData is not null) + { + SrcAccelerationStructureData = srcAccelerationStructureData.Value; + } + + if (dstAccelerationStructureData is not null) + { + DstAccelerationStructureData = dstAccelerationStructureData.Value; + } + + if (scratchData is not null) + { + ScratchData = scratchData.Value; + } + + if (srcInfos is not null) + { + SrcInfos = srcInfos.Value; + } + + if (srcInfosCount is not null) + { + SrcInfosCount = srcInfosCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPartitionedAccelerationStructureInstancesInputNV")] + [NativeName("Type.Name", "VkPartitionedAccelerationStructureInstancesInputNV")] + [NativeName("Name", "input")] + public PartitionedAccelerationStructureInstancesInputNV Input; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "srcAccelerationStructureData")] + public ulong SrcAccelerationStructureData; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "dstAccelerationStructureData")] + public ulong DstAccelerationStructureData; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "scratchData")] + public ulong ScratchData; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "srcInfos")] + public ulong SrcInfos; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "srcInfosCount")] + public ulong SrcInfosCount; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.BuildPartitionedAccelerationStructureInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildClustersBottomLevelInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildClustersBottomLevelInfoNV.gen.cs new file mode 100644 index 0000000000..a5f6efcee0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildClustersBottomLevelInfoNV.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureBuildClustersBottomLevelInfoNV")] + public unsafe partial struct ClusterAccelerationStructureBuildClustersBottomLevelInfoNV + { + public ClusterAccelerationStructureBuildClustersBottomLevelInfoNV + ( + uint? clusterReferencesCount = null, + uint? clusterReferencesStride = null, + ulong? clusterReferences = null + ) : this() + { + if (clusterReferencesCount is not null) + { + ClusterReferencesCount = clusterReferencesCount.Value; + } + + if (clusterReferencesStride is not null) + { + ClusterReferencesStride = clusterReferencesStride.Value; + } + + if (clusterReferences is not null) + { + ClusterReferences = clusterReferences.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterReferencesCount")] + public uint ClusterReferencesCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterReferencesStride")] + public uint ClusterReferencesStride; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "clusterReferences")] + public ulong ClusterReferences; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterInfoNV.gen.cs new file mode 100644 index 0000000000..feef868fb5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterInfoNV.gen.cs @@ -0,0 +1,232 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureBuildTriangleClusterInfoNV")] + public unsafe partial struct ClusterAccelerationStructureBuildTriangleClusterInfoNV + { + public ClusterAccelerationStructureBuildTriangleClusterInfoNV + ( + uint? clusterID = null, + ClusterAccelerationStructureClusterFlagsNV? clusterFlags = null, + uint? triangleCount = null, + uint? vertexCount = null, + uint? positionTruncateBitCount = null, + uint? indexType = null, + uint? opacityMicromapIndexType = null, + ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV? baseGeometryIndexAndGeometryFlags = null, + ushort? indexBufferStride = null, + ushort? vertexBufferStride = null, + ushort? geometryIndexAndFlagsBufferStride = null, + ushort? opacityMicromapIndexBufferStride = null, + ulong? indexBuffer = null, + ulong? vertexBuffer = null, + ulong? geometryIndexAndFlagsBuffer = null, + ulong? opacityMicromapArray = null, + ulong? opacityMicromapIndexBuffer = null + ) : this() + { + if (clusterID is not null) + { + ClusterID = clusterID.Value; + } + + if (clusterFlags is not null) + { + ClusterFlags = clusterFlags.Value; + } + + if (triangleCount is not null) + { + TriangleCount = triangleCount.Value; + } + + if (vertexCount is not null) + { + VertexCount = vertexCount.Value; + } + + if (positionTruncateBitCount is not null) + { + PositionTruncateBitCount = positionTruncateBitCount.Value; + } + + if (indexType is not null) + { + IndexType = indexType.Value; + } + + if (opacityMicromapIndexType is not null) + { + OpacityMicromapIndexType = opacityMicromapIndexType.Value; + } + + if (baseGeometryIndexAndGeometryFlags is not null) + { + BaseGeometryIndexAndGeometryFlags = baseGeometryIndexAndGeometryFlags.Value; + } + + if (indexBufferStride is not null) + { + IndexBufferStride = indexBufferStride.Value; + } + + if (vertexBufferStride is not null) + { + VertexBufferStride = vertexBufferStride.Value; + } + + if (geometryIndexAndFlagsBufferStride is not null) + { + GeometryIndexAndFlagsBufferStride = geometryIndexAndFlagsBufferStride.Value; + } + + if (opacityMicromapIndexBufferStride is not null) + { + OpacityMicromapIndexBufferStride = opacityMicromapIndexBufferStride.Value; + } + + if (indexBuffer is not null) + { + IndexBuffer = indexBuffer.Value; + } + + if (vertexBuffer is not null) + { + VertexBuffer = vertexBuffer.Value; + } + + if (geometryIndexAndFlagsBuffer is not null) + { + GeometryIndexAndFlagsBuffer = geometryIndexAndFlagsBuffer.Value; + } + + if (opacityMicromapArray is not null) + { + OpacityMicromapArray = opacityMicromapArray.Value; + } + + if (opacityMicromapIndexBuffer is not null) + { + OpacityMicromapIndexBuffer = opacityMicromapIndexBuffer.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterID")] + public uint ClusterID; +/// + [NativeName("Type", "VkClusterAccelerationStructureClusterFlagsNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureClusterFlagsNV")] + [NativeName("Name", "clusterFlags")] + public ClusterAccelerationStructureClusterFlagsNV ClusterFlags; + + private uint _bitfield1; + + public uint TriangleCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0x1FFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0x1FFu) | (uint)((uint)(value) & 0x1FFu)); + } + + public uint VertexCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 9) & 0x1FFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1FFu << 9)) | (uint)(((uint)(value) & 0x1FFu) << 9)); + } + + public uint PositionTruncateBitCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 18) & 0x3Fu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x3Fu << 18)) | (uint)(((uint)(value) & 0x3Fu) << 18)); + } + + public uint IndexType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 24) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 24)) | (uint)(((uint)(value) & 0xFu) << 24)); + } + + public uint OpacityMicromapIndexType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 28) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 28)) | (uint)(((uint)(value) & 0xFu) << 28)); + } +/// + [NativeName("Type", "VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV")] + [NativeName("Name", "baseGeometryIndexAndGeometryFlags")] + public ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV BaseGeometryIndexAndGeometryFlags; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "indexBufferStride")] + public ushort IndexBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "vertexBufferStride")] + public ushort VertexBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "geometryIndexAndFlagsBufferStride")] + public ushort GeometryIndexAndFlagsBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "opacityMicromapIndexBufferStride")] + public ushort OpacityMicromapIndexBufferStride; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "indexBuffer")] + public ulong IndexBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "vertexBuffer")] + public ulong VertexBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "geometryIndexAndFlagsBuffer")] + public ulong GeometryIndexAndFlagsBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "opacityMicromapArray")] + public ulong OpacityMicromapArray; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "opacityMicromapIndexBuffer")] + public ulong OpacityMicromapIndexBuffer; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.gen.cs new file mode 100644 index 0000000000..ced3e30727 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.gen.cs @@ -0,0 +1,243 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV")] + public unsafe partial struct ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV + { + public ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV + ( + uint? clusterID = null, + ClusterAccelerationStructureClusterFlagsNV? clusterFlags = null, + uint? triangleCount = null, + uint? vertexCount = null, + uint? positionTruncateBitCount = null, + uint? indexType = null, + uint? opacityMicromapIndexType = null, + ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV? baseGeometryIndexAndGeometryFlags = null, + ushort? indexBufferStride = null, + ushort? vertexBufferStride = null, + ushort? geometryIndexAndFlagsBufferStride = null, + ushort? opacityMicromapIndexBufferStride = null, + ulong? indexBuffer = null, + ulong? vertexBuffer = null, + ulong? geometryIndexAndFlagsBuffer = null, + ulong? opacityMicromapArray = null, + ulong? opacityMicromapIndexBuffer = null, + ulong? instantiationBoundingBoxLimit = null + ) : this() + { + if (clusterID is not null) + { + ClusterID = clusterID.Value; + } + + if (clusterFlags is not null) + { + ClusterFlags = clusterFlags.Value; + } + + if (triangleCount is not null) + { + TriangleCount = triangleCount.Value; + } + + if (vertexCount is not null) + { + VertexCount = vertexCount.Value; + } + + if (positionTruncateBitCount is not null) + { + PositionTruncateBitCount = positionTruncateBitCount.Value; + } + + if (indexType is not null) + { + IndexType = indexType.Value; + } + + if (opacityMicromapIndexType is not null) + { + OpacityMicromapIndexType = opacityMicromapIndexType.Value; + } + + if (baseGeometryIndexAndGeometryFlags is not null) + { + BaseGeometryIndexAndGeometryFlags = baseGeometryIndexAndGeometryFlags.Value; + } + + if (indexBufferStride is not null) + { + IndexBufferStride = indexBufferStride.Value; + } + + if (vertexBufferStride is not null) + { + VertexBufferStride = vertexBufferStride.Value; + } + + if (geometryIndexAndFlagsBufferStride is not null) + { + GeometryIndexAndFlagsBufferStride = geometryIndexAndFlagsBufferStride.Value; + } + + if (opacityMicromapIndexBufferStride is not null) + { + OpacityMicromapIndexBufferStride = opacityMicromapIndexBufferStride.Value; + } + + if (indexBuffer is not null) + { + IndexBuffer = indexBuffer.Value; + } + + if (vertexBuffer is not null) + { + VertexBuffer = vertexBuffer.Value; + } + + if (geometryIndexAndFlagsBuffer is not null) + { + GeometryIndexAndFlagsBuffer = geometryIndexAndFlagsBuffer.Value; + } + + if (opacityMicromapArray is not null) + { + OpacityMicromapArray = opacityMicromapArray.Value; + } + + if (opacityMicromapIndexBuffer is not null) + { + OpacityMicromapIndexBuffer = opacityMicromapIndexBuffer.Value; + } + + if (instantiationBoundingBoxLimit is not null) + { + InstantiationBoundingBoxLimit = instantiationBoundingBoxLimit.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterID")] + public uint ClusterID; +/// + [NativeName("Type", "VkClusterAccelerationStructureClusterFlagsNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureClusterFlagsNV")] + [NativeName("Name", "clusterFlags")] + public ClusterAccelerationStructureClusterFlagsNV ClusterFlags; + + private uint _bitfield1; + + public uint TriangleCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0x1FFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0x1FFu) | (uint)((uint)(value) & 0x1FFu)); + } + + public uint VertexCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 9) & 0x1FFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1FFu << 9)) | (uint)(((uint)(value) & 0x1FFu) << 9)); + } + + public uint PositionTruncateBitCount + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 18) & 0x3Fu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x3Fu << 18)) | (uint)(((uint)(value) & 0x3Fu) << 18)); + } + + public uint IndexType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 24) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 24)) | (uint)(((uint)(value) & 0xFu) << 24)); + } + + public uint OpacityMicromapIndexType + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 28) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 28)) | (uint)(((uint)(value) & 0xFu) << 28)); + } +/// + [NativeName("Type", "VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV")] + [NativeName("Name", "baseGeometryIndexAndGeometryFlags")] + public ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV BaseGeometryIndexAndGeometryFlags; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "indexBufferStride")] + public ushort IndexBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "vertexBufferStride")] + public ushort VertexBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "geometryIndexAndFlagsBufferStride")] + public ushort GeometryIndexAndFlagsBufferStride; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "opacityMicromapIndexBufferStride")] + public ushort OpacityMicromapIndexBufferStride; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "indexBuffer")] + public ulong IndexBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "vertexBuffer")] + public ulong VertexBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "geometryIndexAndFlagsBuffer")] + public ulong GeometryIndexAndFlagsBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "opacityMicromapArray")] + public ulong OpacityMicromapArray; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "opacityMicromapIndexBuffer")] + public ulong OpacityMicromapIndexBuffer; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "instantiationBoundingBoxLimit")] + public ulong InstantiationBoundingBoxLimit; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureClustersBottomLevelInputNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureClustersBottomLevelInputNV.gen.cs new file mode 100644 index 0000000000..303dba0424 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureClustersBottomLevelInputNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureClustersBottomLevelInputNV")] + public unsafe partial struct ClusterAccelerationStructureClustersBottomLevelInputNV : IChainable + { + public ClusterAccelerationStructureClustersBottomLevelInputNV + ( + StructureType? sType = StructureType.ClusterAccelerationStructureClustersBottomLevelInputNV, + void* pNext = null, + uint? maxTotalClusterCount = null, + uint? maxClusterCountPerAccelerationStructure = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxTotalClusterCount is not null) + { + MaxTotalClusterCount = maxTotalClusterCount.Value; + } + + if (maxClusterCountPerAccelerationStructure is not null) + { + MaxClusterCountPerAccelerationStructure = maxClusterCountPerAccelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTotalClusterCount")] + public uint MaxTotalClusterCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxClusterCountPerAccelerationStructure")] + public uint MaxClusterCountPerAccelerationStructure; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ClusterAccelerationStructureClustersBottomLevelInputNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureCommandsInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureCommandsInfoNV.gen.cs new file mode 100644 index 0000000000..e35b8717ee --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureCommandsInfoNV.gen.cs @@ -0,0 +1,151 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureCommandsInfoNV")] + public unsafe partial struct ClusterAccelerationStructureCommandsInfoNV : IChainable + { + public ClusterAccelerationStructureCommandsInfoNV + ( + StructureType? sType = StructureType.ClusterAccelerationStructureCommandsInfoNV, + void* pNext = null, + ClusterAccelerationStructureInputInfoNV? input = null, + ulong? dstImplicitData = null, + ulong? scratchData = null, + StridedDeviceAddressRegionKHR? dstAddressesArray = null, + StridedDeviceAddressRegionKHR? dstSizesArray = null, + StridedDeviceAddressRegionKHR? srcInfosArray = null, + ulong? srcInfosCount = null, + ClusterAccelerationStructureAddressResolutionFlagsNV? addressResolutionFlags = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (input is not null) + { + Input = input.Value; + } + + if (dstImplicitData is not null) + { + DstImplicitData = dstImplicitData.Value; + } + + if (scratchData is not null) + { + ScratchData = scratchData.Value; + } + + if (dstAddressesArray is not null) + { + DstAddressesArray = dstAddressesArray.Value; + } + + if (dstSizesArray is not null) + { + DstSizesArray = dstSizesArray.Value; + } + + if (srcInfosArray is not null) + { + SrcInfosArray = srcInfosArray.Value; + } + + if (srcInfosCount is not null) + { + SrcInfosCount = srcInfosCount.Value; + } + + if (addressResolutionFlags is not null) + { + AddressResolutionFlags = addressResolutionFlags.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkClusterAccelerationStructureInputInfoNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureInputInfoNV")] + [NativeName("Name", "input")] + public ClusterAccelerationStructureInputInfoNV Input; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "dstImplicitData")] + public ulong DstImplicitData; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "scratchData")] + public ulong ScratchData; +/// + [NativeName("Type", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Type.Name", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Name", "dstAddressesArray")] + public StridedDeviceAddressRegionKHR DstAddressesArray; +/// + [NativeName("Type", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Type.Name", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Name", "dstSizesArray")] + public StridedDeviceAddressRegionKHR DstSizesArray; +/// + [NativeName("Type", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Type.Name", "VkStridedDeviceAddressRegionKHR")] + [NativeName("Name", "srcInfosArray")] + public StridedDeviceAddressRegionKHR SrcInfosArray; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "srcInfosCount")] + public ulong SrcInfosCount; +/// + [NativeName("Type", "VkClusterAccelerationStructureAddressResolutionFlagsNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureAddressResolutionFlagsNV")] + [NativeName("Name", "addressResolutionFlags")] + public ClusterAccelerationStructureAddressResolutionFlagsNV AddressResolutionFlags; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ClusterAccelerationStructureCommandsInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.gen.cs new file mode 100644 index 0000000000..644fb1ba27 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.gen.cs @@ -0,0 +1,72 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV")] + public unsafe partial struct ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV + { + public ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV + ( + uint? geometryIndex = null, + uint? reserved = null, + uint? geometryFlags = null + ) : this() + { + if (geometryIndex is not null) + { + GeometryIndex = geometryIndex.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + + if (geometryFlags is not null) + { + GeometryFlags = geometryFlags.Value; + } + } + + + private uint _bitfield1; + + public uint GeometryIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0xFFFFFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0xFFFFFFu) | (uint)((uint)(value) & 0xFFFFFFu)); + } + + public uint Reserved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 24) & 0x1Fu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1Fu << 24)) | (uint)(((uint)(value) & 0x1Fu) << 24)); + } + + public uint GeometryFlags + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 29) & 0x7u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x7u << 29)) | (uint)(((uint)(value) & 0x7u) << 29)); + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGetTemplateIndicesInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGetTemplateIndicesInfoNV.gen.cs new file mode 100644 index 0000000000..a54eb7f16e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureGetTemplateIndicesInfoNV.gen.cs @@ -0,0 +1,39 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureGetTemplateIndicesInfoNV")] + public unsafe partial struct ClusterAccelerationStructureGetTemplateIndicesInfoNV + { + public ClusterAccelerationStructureGetTemplateIndicesInfoNV + ( + ulong? clusterTemplateAddress = null + ) : this() + { + if (clusterTemplateAddress is not null) + { + ClusterTemplateAddress = clusterTemplateAddress.Value; + } + } + +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "clusterTemplateAddress")] + public ulong ClusterTemplateAddress; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInputInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInputInfoNV.gen.cs new file mode 100644 index 0000000000..59b98b33ce --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInputInfoNV.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureInputInfoNV")] + public unsafe partial struct ClusterAccelerationStructureInputInfoNV : IChainable + { + public ClusterAccelerationStructureInputInfoNV + ( + StructureType? sType = StructureType.ClusterAccelerationStructureInputInfoNV, + void* pNext = null, + uint? maxAccelerationStructureCount = null, + BuildAccelerationStructureFlagsKHR? flags = null, + ClusterAccelerationStructureOpTypeNV? opType = null, + ClusterAccelerationStructureOpModeNV? opMode = null, + ClusterAccelerationStructureOpInputNV? opInput = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxAccelerationStructureCount is not null) + { + MaxAccelerationStructureCount = maxAccelerationStructureCount.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (opType is not null) + { + OpType = opType.Value; + } + + if (opMode is not null) + { + OpMode = opMode.Value; + } + + if (opInput is not null) + { + OpInput = opInput.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxAccelerationStructureCount")] + public uint MaxAccelerationStructureCount; +/// + [NativeName("Type", "VkBuildAccelerationStructureFlagsKHR")] + [NativeName("Type.Name", "VkBuildAccelerationStructureFlagsKHR")] + [NativeName("Name", "flags")] + public BuildAccelerationStructureFlagsKHR Flags; +/// + [NativeName("Type", "VkClusterAccelerationStructureOpTypeNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureOpTypeNV")] + [NativeName("Name", "opType")] + public ClusterAccelerationStructureOpTypeNV OpType; +/// + [NativeName("Type", "VkClusterAccelerationStructureOpModeNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureOpModeNV")] + [NativeName("Name", "opMode")] + public ClusterAccelerationStructureOpModeNV OpMode; +/// + [NativeName("Type", "VkClusterAccelerationStructureOpInputNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureOpInputNV")] + [NativeName("Name", "opInput")] + public ClusterAccelerationStructureOpInputNV OpInput; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ClusterAccelerationStructureInputInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInstantiateClusterInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInstantiateClusterInfoNV.gen.cs new file mode 100644 index 0000000000..1777214d72 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureInstantiateClusterInfoNV.gen.cs @@ -0,0 +1,91 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureInstantiateClusterInfoNV")] + public unsafe partial struct ClusterAccelerationStructureInstantiateClusterInfoNV + { + public ClusterAccelerationStructureInstantiateClusterInfoNV + ( + uint? clusterIdOffset = null, + uint? geometryIndexOffset = null, + uint? reserved = null, + ulong? clusterTemplateAddress = null, + StridedDeviceAddressNV? vertexBuffer = null + ) : this() + { + if (clusterIdOffset is not null) + { + ClusterIdOffset = clusterIdOffset.Value; + } + + if (geometryIndexOffset is not null) + { + GeometryIndexOffset = geometryIndexOffset.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + + if (clusterTemplateAddress is not null) + { + ClusterTemplateAddress = clusterTemplateAddress.Value; + } + + if (vertexBuffer is not null) + { + VertexBuffer = vertexBuffer.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterIdOffset")] + public uint ClusterIdOffset; + + private uint _bitfield1; + + public uint GeometryIndexOffset + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0xFFFFFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0xFFFFFFu) | (uint)((uint)(value) & 0xFFFFFFu)); + } + + public uint Reserved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 24) & 0xFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFFu << 24)) | (uint)(((uint)(value) & 0xFFu) << 24)); + } +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "clusterTemplateAddress")] + public ulong ClusterTemplateAddress; +/// + [NativeName("Type", "VkStridedDeviceAddressNV")] + [NativeName("Type.Name", "VkStridedDeviceAddressNV")] + [NativeName("Name", "vertexBuffer")] + public StridedDeviceAddressNV VertexBuffer; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInfoNV.gen.cs new file mode 100644 index 0000000000..f1ecaba100 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInfoNV.gen.cs @@ -0,0 +1,39 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureMoveObjectsInfoNV")] + public unsafe partial struct ClusterAccelerationStructureMoveObjectsInfoNV + { + public ClusterAccelerationStructureMoveObjectsInfoNV + ( + ulong? srcAccelerationStructure = null + ) : this() + { + if (srcAccelerationStructure is not null) + { + SrcAccelerationStructure = srcAccelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "srcAccelerationStructure")] + public ulong SrcAccelerationStructure; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInputNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInputNV.gen.cs new file mode 100644 index 0000000000..01c599d20e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureMoveObjectsInputNV.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureMoveObjectsInputNV")] + public unsafe partial struct ClusterAccelerationStructureMoveObjectsInputNV : IChainable + { + public ClusterAccelerationStructureMoveObjectsInputNV + ( + StructureType? sType = StructureType.ClusterAccelerationStructureMoveObjectsInputNV, + void* pNext = null, + ClusterAccelerationStructureTypeNV? type = null, + Bool32? noMoveOverlap = null, + ulong? maxMovedBytes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (type is not null) + { + Type = type.Value; + } + + if (noMoveOverlap is not null) + { + NoMoveOverlap = noMoveOverlap.Value; + } + + if (maxMovedBytes is not null) + { + MaxMovedBytes = maxMovedBytes.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkClusterAccelerationStructureTypeNV")] + [NativeName("Type.Name", "VkClusterAccelerationStructureTypeNV")] + [NativeName("Name", "type")] + public ClusterAccelerationStructureTypeNV Type; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "noMoveOverlap")] + public Bool32 NoMoveOverlap; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "maxMovedBytes")] + public ulong MaxMovedBytes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ClusterAccelerationStructureMoveObjectsInputNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureOpInputNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureOpInputNV.gen.cs new file mode 100644 index 0000000000..8322232a78 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureOpInputNV.gen.cs @@ -0,0 +1,65 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "VkClusterAccelerationStructureOpInputNV")] + public unsafe partial struct ClusterAccelerationStructureOpInputNV + { + public ClusterAccelerationStructureOpInputNV + ( + ClusterAccelerationStructureClustersBottomLevelInputNV* pClustersBottomLevel = null, + ClusterAccelerationStructureTriangleClusterInputNV* pTriangleClusters = null, + ClusterAccelerationStructureMoveObjectsInputNV* pMoveObjects = null + ) : this() + { + if (pClustersBottomLevel is not null) + { + PClustersBottomLevel = pClustersBottomLevel; + } + + if (pTriangleClusters is not null) + { + PTriangleClusters = pTriangleClusters; + } + + if (pMoveObjects is not null) + { + PMoveObjects = pMoveObjects; + } + } + +/// + [FieldOffset(0)] + [NativeName("Type", "VkClusterAccelerationStructureClustersBottomLevelInputNV*")] + [NativeName("Type.Name", "VkClusterAccelerationStructureClustersBottomLevelInputNV")] + [NativeName("Name", "pClustersBottomLevel")] + public ClusterAccelerationStructureClustersBottomLevelInputNV* PClustersBottomLevel; +/// + [FieldOffset(0)] + [NativeName("Type", "VkClusterAccelerationStructureTriangleClusterInputNV*")] + [NativeName("Type.Name", "VkClusterAccelerationStructureTriangleClusterInputNV")] + [NativeName("Name", "pTriangleClusters")] + public ClusterAccelerationStructureTriangleClusterInputNV* PTriangleClusters; +/// + [FieldOffset(0)] + [NativeName("Type", "VkClusterAccelerationStructureMoveObjectsInputNV*")] + [NativeName("Type.Name", "VkClusterAccelerationStructureMoveObjectsInputNV")] + [NativeName("Name", "pMoveObjects")] + public ClusterAccelerationStructureMoveObjectsInputNV* PMoveObjects; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureTriangleClusterInputNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureTriangleClusterInputNV.gen.cs new file mode 100644 index 0000000000..190ea6e28b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ClusterAccelerationStructureTriangleClusterInputNV.gen.cs @@ -0,0 +1,151 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkClusterAccelerationStructureTriangleClusterInputNV")] + public unsafe partial struct ClusterAccelerationStructureTriangleClusterInputNV : IChainable + { + public ClusterAccelerationStructureTriangleClusterInputNV + ( + StructureType? sType = StructureType.ClusterAccelerationStructureTriangleClusterInputNV, + void* pNext = null, + Format? vertexFormat = null, + uint? maxGeometryIndexValue = null, + uint? maxClusterUniqueGeometryCount = null, + uint? maxClusterTriangleCount = null, + uint? maxClusterVertexCount = null, + uint? maxTotalTriangleCount = null, + uint? maxTotalVertexCount = null, + uint? minPositionTruncateBitCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexFormat is not null) + { + VertexFormat = vertexFormat.Value; + } + + if (maxGeometryIndexValue is not null) + { + MaxGeometryIndexValue = maxGeometryIndexValue.Value; + } + + if (maxClusterUniqueGeometryCount is not null) + { + MaxClusterUniqueGeometryCount = maxClusterUniqueGeometryCount.Value; + } + + if (maxClusterTriangleCount is not null) + { + MaxClusterTriangleCount = maxClusterTriangleCount.Value; + } + + if (maxClusterVertexCount is not null) + { + MaxClusterVertexCount = maxClusterVertexCount.Value; + } + + if (maxTotalTriangleCount is not null) + { + MaxTotalTriangleCount = maxTotalTriangleCount.Value; + } + + if (maxTotalVertexCount is not null) + { + MaxTotalVertexCount = maxTotalVertexCount.Value; + } + + if (minPositionTruncateBitCount is not null) + { + MinPositionTruncateBitCount = minPositionTruncateBitCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "vertexFormat")] + public Format VertexFormat; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxGeometryIndexValue")] + public uint MaxGeometryIndexValue; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxClusterUniqueGeometryCount")] + public uint MaxClusterUniqueGeometryCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxClusterTriangleCount")] + public uint MaxClusterTriangleCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxClusterVertexCount")] + public uint MaxClusterVertexCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTotalTriangleCount")] + public uint MaxTotalTriangleCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTotalVertexCount")] + public uint MaxTotalVertexCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minPositionTruncateBitCount")] + public uint MinPositionTruncateBitCount; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ClusterAccelerationStructureTriangleClusterInputNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ConvertCooperativeVectorMatrixInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ConvertCooperativeVectorMatrixInfoNV.gen.cs new file mode 100644 index 0000000000..f29838a8e1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ConvertCooperativeVectorMatrixInfoNV.gen.cs @@ -0,0 +1,195 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkConvertCooperativeVectorMatrixInfoNV")] + public unsafe partial struct ConvertCooperativeVectorMatrixInfoNV : IChainable + { + public ConvertCooperativeVectorMatrixInfoNV + ( + StructureType? sType = StructureType.ConvertCooperativeVectorMatrixInfoNV, + void* pNext = null, + nuint? srcSize = null, + DeviceOrHostAddressConstKHR? srcData = null, + nuint* pDstSize = null, + DeviceOrHostAddressKHR? dstData = null, + ComponentTypeKHR? srcComponentType = null, + ComponentTypeKHR? dstComponentType = null, + uint? numRows = null, + uint? numColumns = null, + CooperativeVectorMatrixLayoutNV? srcLayout = null, + nuint? srcStride = null, + CooperativeVectorMatrixLayoutNV? dstLayout = null, + nuint? dstStride = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (srcSize is not null) + { + SrcSize = srcSize.Value; + } + + if (srcData is not null) + { + SrcData = srcData.Value; + } + + if (pDstSize is not null) + { + PDstSize = pDstSize; + } + + if (dstData is not null) + { + DstData = dstData.Value; + } + + if (srcComponentType is not null) + { + SrcComponentType = srcComponentType.Value; + } + + if (dstComponentType is not null) + { + DstComponentType = dstComponentType.Value; + } + + if (numRows is not null) + { + NumRows = numRows.Value; + } + + if (numColumns is not null) + { + NumColumns = numColumns.Value; + } + + if (srcLayout is not null) + { + SrcLayout = srcLayout.Value; + } + + if (srcStride is not null) + { + SrcStride = srcStride.Value; + } + + if (dstLayout is not null) + { + DstLayout = dstLayout.Value; + } + + if (dstStride is not null) + { + DstStride = dstStride.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "srcSize")] + public nuint SrcSize; +/// + [NativeName("Type", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressConstKHR")] + [NativeName("Name", "srcData")] + public DeviceOrHostAddressConstKHR SrcData; +/// + [NativeName("Type", "size_t*")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "pDstSize")] + public nuint* PDstSize; +/// + [NativeName("Type", "VkDeviceOrHostAddressKHR")] + [NativeName("Type.Name", "VkDeviceOrHostAddressKHR")] + [NativeName("Name", "dstData")] + public DeviceOrHostAddressKHR DstData; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "srcComponentType")] + public ComponentTypeKHR SrcComponentType; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "dstComponentType")] + public ComponentTypeKHR DstComponentType; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numRows")] + public uint NumRows; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numColumns")] + public uint NumColumns; +/// + [NativeName("Type", "VkCooperativeVectorMatrixLayoutNV")] + [NativeName("Type.Name", "VkCooperativeVectorMatrixLayoutNV")] + [NativeName("Name", "srcLayout")] + public CooperativeVectorMatrixLayoutNV SrcLayout; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "srcStride")] + public nuint SrcStride; +/// + [NativeName("Type", "VkCooperativeVectorMatrixLayoutNV")] + [NativeName("Type.Name", "VkCooperativeVectorMatrixLayoutNV")] + [NativeName("Name", "dstLayout")] + public CooperativeVectorMatrixLayoutNV DstLayout; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "dstStride")] + public nuint DstStride; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ConvertCooperativeVectorMatrixInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CooperativeVectorPropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CooperativeVectorPropertiesNV.gen.cs new file mode 100644 index 0000000000..8cd212dc8b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CooperativeVectorPropertiesNV.gen.cs @@ -0,0 +1,129 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCooperativeVectorPropertiesNV")] + public unsafe partial struct CooperativeVectorPropertiesNV : IChainable + { + public CooperativeVectorPropertiesNV + ( + StructureType? sType = StructureType.CooperativeVectorPropertiesNV, + void* pNext = null, + ComponentTypeKHR? inputType = null, + ComponentTypeKHR? inputInterpretation = null, + ComponentTypeKHR? matrixInterpretation = null, + ComponentTypeKHR? biasInterpretation = null, + ComponentTypeKHR? resultType = null, + Bool32? transpose = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (inputType is not null) + { + InputType = inputType.Value; + } + + if (inputInterpretation is not null) + { + InputInterpretation = inputInterpretation.Value; + } + + if (matrixInterpretation is not null) + { + MatrixInterpretation = matrixInterpretation.Value; + } + + if (biasInterpretation is not null) + { + BiasInterpretation = biasInterpretation.Value; + } + + if (resultType is not null) + { + ResultType = resultType.Value; + } + + if (transpose is not null) + { + Transpose = transpose.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "inputType")] + public ComponentTypeKHR InputType; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "inputInterpretation")] + public ComponentTypeKHR InputInterpretation; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "matrixInterpretation")] + public ComponentTypeKHR MatrixInterpretation; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "biasInterpretation")] + public ComponentTypeKHR BiasInterpretation; +/// + [NativeName("Type", "VkComponentTypeKHR")] + [NativeName("Type.Name", "VkComponentTypeKHR")] + [NativeName("Name", "resultType")] + public ComponentTypeKHR ResultType; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "transpose")] + public Bool32 Transpose; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CooperativeVectorPropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfo.gen.cs new file mode 100644 index 0000000000..4f947fbd2a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfo.gen.cs @@ -0,0 +1,141 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCopyImageToImageInfo")] + [NativeName("Aliases", "VkCopyImageToImageInfoEXT")] + public unsafe partial struct CopyImageToImageInfo : IChainable + { + public CopyImageToImageInfo + ( + StructureType? sType = StructureType.CopyImageToImageInfo, + void* pNext = null, + HostImageCopyFlags? flags = null, + Image? srcImage = null, + ImageLayout? srcImageLayout = null, + Image? dstImage = null, + ImageLayout? dstImageLayout = null, + uint? regionCount = null, + ImageCopy2* pRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (srcImage is not null) + { + SrcImage = srcImage.Value; + } + + if (srcImageLayout is not null) + { + SrcImageLayout = srcImageLayout.Value; + } + + if (dstImage is not null) + { + DstImage = dstImage.Value; + } + + if (dstImageLayout is not null) + { + DstImageLayout = dstImageLayout.Value; + } + + if (regionCount is not null) + { + RegionCount = regionCount.Value; + } + + if (pRegions is not null) + { + PRegions = pRegions; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] + [NativeName("Name", "flags")] + public HostImageCopyFlags Flags; +/// + [NativeName("Type", "VkImage")] + [NativeName("Type.Name", "VkImage")] + [NativeName("Name", "srcImage")] + public Image SrcImage; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "srcImageLayout")] + public ImageLayout SrcImageLayout; +/// + [NativeName("Type", "VkImage")] + [NativeName("Type.Name", "VkImage")] + [NativeName("Name", "dstImage")] + public Image DstImage; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "dstImageLayout")] + public ImageLayout DstImageLayout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "regionCount")] + public uint RegionCount; +/// + [NativeName("Type", "VkImageCopy2*")] + [NativeName("Type.Name", "VkImageCopy2")] + [NativeName("Name", "pRegions")] + public ImageCopy2* PRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CopyImageToImageInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfoEXT.gen.cs index e158b4b6af..6f79f89e79 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToImageInfoEXT.gen.cs @@ -17,13 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkCopyImageToImageInfoEXT")] + [NativeName("AliasOf", "VkCopyImageToImageInfo")] public unsafe partial struct CopyImageToImageInfoEXT : IChainable { public CopyImageToImageInfoEXT ( - StructureType? sType = StructureType.CopyImageToImageInfoExt, + StructureType? sType = StructureType.CopyImageToImageInfo, void* pNext = null, - HostImageCopyFlagsEXT? flags = null, + HostImageCopyFlags? flags = null, Image? srcImage = null, ImageLayout? srcImageLayout = null, Image? dstImage = null, @@ -89,10 +90,10 @@ public CopyImageToImageInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkHostImageCopyFlagsEXT")] - [NativeName("Type.Name", "VkHostImageCopyFlagsEXT")] + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] [NativeName("Name", "flags")] - public HostImageCopyFlagsEXT Flags; + public HostImageCopyFlags Flags; /// [NativeName("Type", "VkImage")] [NativeName("Type.Name", "VkImage")] @@ -127,7 +128,7 @@ public CopyImageToImageInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.CopyImageToImageInfoExt; + return SType = StructureType.CopyImageToImageInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfo.gen.cs new file mode 100644 index 0000000000..e9f4f8beeb --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfo.gen.cs @@ -0,0 +1,119 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCopyImageToMemoryInfo")] + [NativeName("Aliases", "VkCopyImageToMemoryInfoEXT")] + public unsafe partial struct CopyImageToMemoryInfo : IChainable + { + public CopyImageToMemoryInfo + ( + StructureType? sType = StructureType.CopyImageToMemoryInfo, + void* pNext = null, + HostImageCopyFlags? flags = null, + Image? srcImage = null, + ImageLayout? srcImageLayout = null, + uint? regionCount = null, + ImageToMemoryCopy* pRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (srcImage is not null) + { + SrcImage = srcImage.Value; + } + + if (srcImageLayout is not null) + { + SrcImageLayout = srcImageLayout.Value; + } + + if (regionCount is not null) + { + RegionCount = regionCount.Value; + } + + if (pRegions is not null) + { + PRegions = pRegions; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] + [NativeName("Name", "flags")] + public HostImageCopyFlags Flags; +/// + [NativeName("Type", "VkImage")] + [NativeName("Type.Name", "VkImage")] + [NativeName("Name", "srcImage")] + public Image SrcImage; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "srcImageLayout")] + public ImageLayout SrcImageLayout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "regionCount")] + public uint RegionCount; +/// + [NativeName("Type", "VkImageToMemoryCopy*")] + [NativeName("Type.Name", "VkImageToMemoryCopy")] + [NativeName("Name", "pRegions")] + public ImageToMemoryCopy* PRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CopyImageToMemoryInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfoEXT.gen.cs index fc31df5a81..4892912c0b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyImageToMemoryInfoEXT.gen.cs @@ -17,17 +17,18 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkCopyImageToMemoryInfoEXT")] + [NativeName("AliasOf", "VkCopyImageToMemoryInfo")] public unsafe partial struct CopyImageToMemoryInfoEXT : IChainable { public CopyImageToMemoryInfoEXT ( - StructureType? sType = StructureType.CopyImageToMemoryInfoExt, + StructureType? sType = StructureType.CopyImageToMemoryInfo, void* pNext = null, - HostImageCopyFlagsEXT? flags = null, + HostImageCopyFlags? flags = null, Image? srcImage = null, ImageLayout? srcImageLayout = null, uint? regionCount = null, - ImageToMemoryCopyEXT* pRegions = null + ImageToMemoryCopy* pRegions = null ) : this() { if (sType is not null) @@ -77,10 +78,10 @@ public CopyImageToMemoryInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkHostImageCopyFlagsEXT")] - [NativeName("Type.Name", "VkHostImageCopyFlagsEXT")] + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] [NativeName("Name", "flags")] - public HostImageCopyFlagsEXT Flags; + public HostImageCopyFlags Flags; /// [NativeName("Type", "VkImage")] [NativeName("Type.Name", "VkImage")] @@ -97,15 +98,15 @@ public CopyImageToMemoryInfoEXT [NativeName("Name", "regionCount")] public uint RegionCount; /// - [NativeName("Type", "VkImageToMemoryCopyEXT*")] - [NativeName("Type.Name", "VkImageToMemoryCopyEXT")] + [NativeName("Type", "VkImageToMemoryCopy*")] + [NativeName("Type.Name", "VkImageToMemoryCopy")] [NativeName("Name", "pRegions")] - public ImageToMemoryCopyEXT* PRegions; + public ImageToMemoryCopy* PRegions; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.CopyImageToMemoryInfoExt; + return SType = StructureType.CopyImageToMemoryInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfo.gen.cs new file mode 100644 index 0000000000..4826af4eca --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfo.gen.cs @@ -0,0 +1,119 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCopyMemoryToImageInfo")] + [NativeName("Aliases", "VkCopyMemoryToImageInfoEXT")] + public unsafe partial struct CopyMemoryToImageInfo : IChainable + { + public CopyMemoryToImageInfo + ( + StructureType? sType = StructureType.CopyMemoryToImageInfo, + void* pNext = null, + HostImageCopyFlags? flags = null, + Image? dstImage = null, + ImageLayout? dstImageLayout = null, + uint? regionCount = null, + MemoryToImageCopy* pRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (dstImage is not null) + { + DstImage = dstImage.Value; + } + + if (dstImageLayout is not null) + { + DstImageLayout = dstImageLayout.Value; + } + + if (regionCount is not null) + { + RegionCount = regionCount.Value; + } + + if (pRegions is not null) + { + PRegions = pRegions; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] + [NativeName("Name", "flags")] + public HostImageCopyFlags Flags; +/// + [NativeName("Type", "VkImage")] + [NativeName("Type.Name", "VkImage")] + [NativeName("Name", "dstImage")] + public Image DstImage; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "dstImageLayout")] + public ImageLayout DstImageLayout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "regionCount")] + public uint RegionCount; +/// + [NativeName("Type", "VkMemoryToImageCopy*")] + [NativeName("Type.Name", "VkMemoryToImageCopy")] + [NativeName("Name", "pRegions")] + public MemoryToImageCopy* PRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CopyMemoryToImageInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfoEXT.gen.cs index 241a808394..a334c55d05 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyMemoryToImageInfoEXT.gen.cs @@ -17,17 +17,18 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkCopyMemoryToImageInfoEXT")] + [NativeName("AliasOf", "VkCopyMemoryToImageInfo")] public unsafe partial struct CopyMemoryToImageInfoEXT : IChainable { public CopyMemoryToImageInfoEXT ( - StructureType? sType = StructureType.CopyMemoryToImageInfoExt, + StructureType? sType = StructureType.CopyMemoryToImageInfo, void* pNext = null, - HostImageCopyFlagsEXT? flags = null, + HostImageCopyFlags? flags = null, Image? dstImage = null, ImageLayout? dstImageLayout = null, uint? regionCount = null, - MemoryToImageCopyEXT* pRegions = null + MemoryToImageCopy* pRegions = null ) : this() { if (sType is not null) @@ -77,10 +78,10 @@ public CopyMemoryToImageInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkHostImageCopyFlagsEXT")] - [NativeName("Type.Name", "VkHostImageCopyFlagsEXT")] + [NativeName("Type", "VkHostImageCopyFlags")] + [NativeName("Type.Name", "VkHostImageCopyFlags")] [NativeName("Name", "flags")] - public HostImageCopyFlagsEXT Flags; + public HostImageCopyFlags Flags; /// [NativeName("Type", "VkImage")] [NativeName("Type.Name", "VkImage")] @@ -97,15 +98,15 @@ public CopyMemoryToImageInfoEXT [NativeName("Name", "regionCount")] public uint RegionCount; /// - [NativeName("Type", "VkMemoryToImageCopyEXT*")] - [NativeName("Type.Name", "VkMemoryToImageCopyEXT")] + [NativeName("Type", "VkMemoryToImageCopy*")] + [NativeName("Type.Name", "VkMemoryToImageCopy")] [NativeName("Name", "pRegions")] - public MemoryToImageCopyEXT* PRegions; + public MemoryToImageCopy* PRegions; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.CopyMemoryToImageInfoExt; + return SType = StructureType.CopyMemoryToImageInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CopyTensorInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyTensorInfoARM.gen.cs new file mode 100644 index 0000000000..58205b6684 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CopyTensorInfoARM.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCopyTensorInfoARM")] + public unsafe partial struct CopyTensorInfoARM : IChainable + { + public CopyTensorInfoARM + ( + StructureType? sType = StructureType.CopyTensorInfoArm, + void* pNext = null, + TensorARM? srcTensor = null, + TensorARM? dstTensor = null, + uint? regionCount = null, + TensorCopyARM* pRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (srcTensor is not null) + { + SrcTensor = srcTensor.Value; + } + + if (dstTensor is not null) + { + DstTensor = dstTensor.Value; + } + + if (regionCount is not null) + { + RegionCount = regionCount.Value; + } + + if (pRegions is not null) + { + PRegions = pRegions; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "srcTensor")] + public TensorARM SrcTensor; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "dstTensor")] + public TensorARM DstTensor; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "regionCount")] + public uint RegionCount; +/// + [NativeName("Type", "VkTensorCopyARM*")] + [NativeName("Type.Name", "VkTensorCopyARM")] + [NativeName("Name", "pRegions")] + public TensorCopyARM* PRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CopyTensorInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleCreateInfoNVX.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleCreateInfoNVX.gen.cs index ab6fba734c..0df874c9b1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleCreateInfoNVX.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleCreateInfoNVX.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkCuModuleCreateInfoNVX")] - public unsafe partial struct CuModuleCreateInfoNVX : IChainable + public unsafe partial struct CuModuleCreateInfoNVX : IChainStart { public CuModuleCreateInfoNVX ( @@ -81,5 +81,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref CuModuleCreateInfoNVX Chain( + out CuModuleCreateInfoNVX capture) + { + capture = new CuModuleCreateInfoNVX(StructureType.CUModuleCreateInfoNvx); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleTexturingModeCreateInfoNVX.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleTexturingModeCreateInfoNVX.gen.cs new file mode 100644 index 0000000000..462cfe6326 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CuModuleTexturingModeCreateInfoNVX.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkCuModuleTexturingModeCreateInfoNVX")] + public unsafe partial struct CuModuleTexturingModeCreateInfoNVX : IExtendsChain + { + public CuModuleTexturingModeCreateInfoNVX + ( + StructureType? sType = StructureType.CUModuleTexturingModeCreateInfoNvx, + void* pNext = null, + Bool32? use64bitTexturing = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (use64bitTexturing is not null) + { + Use64bitTexturing = use64bitTexturing.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "use64bitTexturing")] + public Bool32 Use64bitTexturing; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.CUModuleTexturingModeCreateInfoNvx; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs new file mode 100644 index 0000000000..92e7681f06 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineCompilerControlCreateInfoARM")] + public unsafe partial struct DataGraphPipelineCompilerControlCreateInfoARM : IExtendsChain + { + public DataGraphPipelineCompilerControlCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineCompilerControlCreateInfoArm, + void* pNext = null, + byte* pVendorOptions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pVendorOptions is not null) + { + PVendorOptions = pVendorOptions; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "char*")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "pVendorOptions")] + public byte* PVendorOptions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineCompilerControlCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantARM.gen.cs new file mode 100644 index 0000000000..590488e474 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantARM.gen.cs @@ -0,0 +1,97 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineConstantARM")] + public unsafe partial struct DataGraphPipelineConstantARM : IChainStart + { + public DataGraphPipelineConstantARM + ( + StructureType? sType = StructureType.DataGraphPipelineConstantArm, + void* pNext = null, + uint? id = null, + void* pConstantData = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (id is not null) + { + Id = id.Value; + } + + if (pConstantData is not null) + { + PConstantData = pConstantData; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "id")] + public uint Id; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pConstantData")] + public void* PConstantData; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineConstantArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DataGraphPipelineConstantARM Chain( + out DataGraphPipelineConstantARM capture) + { + capture = new DataGraphPipelineConstantARM(StructureType.DataGraphPipelineConstantArm); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs new file mode 100644 index 0000000000..ba0f252d36 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM")] + public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM : IExtendsChain + { + public DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineConstantTensorSemiStructuredSparsityInfoArm, + void* pNext = null, + uint? dimension = null, + uint? zeroCount = null, + uint? groupSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dimension is not null) + { + Dimension = dimension.Value; + } + + if (zeroCount is not null) + { + ZeroCount = zeroCount.Value; + } + + if (groupSize is not null) + { + GroupSize = groupSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dimension")] + public uint Dimension; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "zeroCount")] + public uint ZeroCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "groupSize")] + public uint GroupSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineConstantTensorSemiStructuredSparsityInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCreateInfoARM.gen.cs new file mode 100644 index 0000000000..0cf652f1ce --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineCreateInfoARM.gen.cs @@ -0,0 +1,119 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineCreateInfoARM")] + public unsafe partial struct DataGraphPipelineCreateInfoARM : IChainStart + { + public DataGraphPipelineCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineCreateInfoArm, + void* pNext = null, + PipelineCreateFlags2KHR? flags = null, + PipelineLayout? layout = null, + uint? resourceInfoCount = null, + DataGraphPipelineResourceInfoARM* pResourceInfos = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (layout is not null) + { + Layout = layout.Value; + } + + if (resourceInfoCount is not null) + { + ResourceInfoCount = resourceInfoCount.Value; + } + + if (pResourceInfos is not null) + { + PResourceInfos = pResourceInfos; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineCreateFlags2KHR")] + [NativeName("Type.Name", "VkPipelineCreateFlags2KHR")] + [NativeName("Name", "flags")] + public PipelineCreateFlags2KHR Flags; +/// + [NativeName("Type", "VkPipelineLayout")] + [NativeName("Type.Name", "VkPipelineLayout")] + [NativeName("Name", "layout")] + public PipelineLayout Layout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "resourceInfoCount")] + public uint ResourceInfoCount; +/// + [NativeName("Type", "VkDataGraphPipelineResourceInfoARM*")] + [NativeName("Type.Name", "VkDataGraphPipelineResourceInfoARM")] + [NativeName("Name", "pResourceInfos")] + public DataGraphPipelineResourceInfoARM* PResourceInfos; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DataGraphPipelineCreateInfoARM Chain( + out DataGraphPipelineCreateInfoARM capture) + { + capture = new DataGraphPipelineCreateInfoARM(StructureType.DataGraphPipelineCreateInfoArm); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineDispatchInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineDispatchInfoARM.gen.cs new file mode 100644 index 0000000000..91239596e0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineDispatchInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineDispatchInfoARM")] + public unsafe partial struct DataGraphPipelineDispatchInfoARM : IChainable + { + public DataGraphPipelineDispatchInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineDispatchInfoArm, + void* pNext = null, + DataGraphPipelineDispatchFlagsARM? flags = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineDispatchFlagsARM")] + [NativeName("Type.Name", "VkDataGraphPipelineDispatchFlagsARM")] + [NativeName("Name", "flags")] + public DataGraphPipelineDispatchFlagsARM Flags; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineDispatchInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineIdentifierCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineIdentifierCreateInfoARM.gen.cs new file mode 100644 index 0000000000..e28ffb8bf3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineIdentifierCreateInfoARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineIdentifierCreateInfoARM")] + public unsafe partial struct DataGraphPipelineIdentifierCreateInfoARM : IExtendsChain + { + public DataGraphPipelineIdentifierCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineIdentifierCreateInfoArm, + void* pNext = null, + uint? identifierSize = null, + byte* pIdentifier = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (identifierSize is not null) + { + IdentifierSize = identifierSize.Value; + } + + if (pIdentifier is not null) + { + PIdentifier = pIdentifier; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "identifierSize")] + public uint IdentifierSize; +/// + [NativeName("Type", "uint8_t*")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "pIdentifier")] + public byte* PIdentifier; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineIdentifierCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineInfoARM.gen.cs new file mode 100644 index 0000000000..52ad3ddf72 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineInfoARM")] + public unsafe partial struct DataGraphPipelineInfoARM : IChainable + { + public DataGraphPipelineInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineInfoArm, + void* pNext = null, + Pipeline? dataGraphPipeline = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dataGraphPipeline is not null) + { + DataGraphPipeline = dataGraphPipeline.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipeline")] + [NativeName("Type.Name", "VkPipeline")] + [NativeName("Name", "dataGraphPipeline")] + public Pipeline DataGraphPipeline; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelinePropertyQueryResultARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelinePropertyQueryResultARM.gen.cs new file mode 100644 index 0000000000..c694aebb9f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelinePropertyQueryResultARM.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelinePropertyQueryResultARM")] + public unsafe partial struct DataGraphPipelinePropertyQueryResultARM : IChainable + { + public DataGraphPipelinePropertyQueryResultARM + ( + StructureType? sType = StructureType.DataGraphPipelinePropertyQueryResultArm, + void* pNext = null, + DataGraphPipelinePropertyARM? property = null, + Bool32? isText = null, + nuint? dataSize = null, + void* pData = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (property is not null) + { + Property = property.Value; + } + + if (isText is not null) + { + IsText = isText.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (pData is not null) + { + PData = pData; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelinePropertyARM")] + [NativeName("Type.Name", "VkDataGraphPipelinePropertyARM")] + [NativeName("Name", "property")] + public DataGraphPipelinePropertyARM Property; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "isText")] + public Bool32 IsText; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "dataSize")] + public nuint DataSize; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pData")] + public void* PData; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelinePropertyQueryResultArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineResourceInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineResourceInfoARM.gen.cs new file mode 100644 index 0000000000..a73f81ab3d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineResourceInfoARM.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineResourceInfoARM")] + public unsafe partial struct DataGraphPipelineResourceInfoARM : IChainStart + { + public DataGraphPipelineResourceInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineResourceInfoArm, + void* pNext = null, + uint? descriptorSet = null, + uint? binding = null, + uint? arrayElement = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (descriptorSet is not null) + { + DescriptorSet = descriptorSet.Value; + } + + if (binding is not null) + { + Binding = binding.Value; + } + + if (arrayElement is not null) + { + ArrayElement = arrayElement.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "descriptorSet")] + public uint DescriptorSet; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "binding")] + public uint Binding; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "arrayElement")] + public uint ArrayElement; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineResourceInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DataGraphPipelineResourceInfoARM Chain( + out DataGraphPipelineResourceInfoARM capture) + { + capture = new DataGraphPipelineResourceInfoARM(StructureType.DataGraphPipelineResourceInfoArm); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionARM.gen.cs new file mode 100644 index 0000000000..6e9f5398d0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionARM.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionARM")] + public unsafe partial struct DataGraphPipelineSessionARM + { + public DataGraphPipelineSessionARM + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementARM.gen.cs new file mode 100644 index 0000000000..75231e4c96 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionBindPointRequirementARM")] + public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM : IChainable + { + public DataGraphPipelineSessionBindPointRequirementARM + ( + StructureType? sType = StructureType.DataGraphPipelineSessionBindPointRequirementArm, + void* pNext = null, + DataGraphPipelineSessionBindPointARM? bindPoint = null, + DataGraphPipelineSessionBindPointTypeARM? bindPointType = null, + uint? numObjects = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (bindPoint is not null) + { + BindPoint = bindPoint.Value; + } + + if (bindPointType is not null) + { + BindPointType = bindPointType.Value; + } + + if (numObjects is not null) + { + NumObjects = numObjects.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Name", "bindPoint")] + public DataGraphPipelineSessionBindPointARM BindPoint; +/// + [NativeName("Type", "VkDataGraphPipelineSessionBindPointTypeARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionBindPointTypeARM")] + [NativeName("Name", "bindPointType")] + public DataGraphPipelineSessionBindPointTypeARM BindPointType; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numObjects")] + public uint NumObjects; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineSessionBindPointRequirementArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs new file mode 100644 index 0000000000..d935ceb745 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionBindPointRequirementsInfoARM")] + public unsafe partial struct DataGraphPipelineSessionBindPointRequirementsInfoARM : IChainable + { + public DataGraphPipelineSessionBindPointRequirementsInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineSessionBindPointRequirementsInfoArm, + void* pNext = null, + DataGraphPipelineSessionARM? session = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (session is not null) + { + Session = session.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineSessionARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionARM")] + [NativeName("Name", "session")] + public DataGraphPipelineSessionARM Session; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineSessionBindPointRequirementsInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionCreateInfoARM.gen.cs new file mode 100644 index 0000000000..9bda06826a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionCreateInfoARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionCreateInfoARM")] + public unsafe partial struct DataGraphPipelineSessionCreateInfoARM : IChainable + { + public DataGraphPipelineSessionCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineSessionCreateInfoArm, + void* pNext = null, + DataGraphPipelineSessionCreateFlagsARM? flags = null, + Pipeline? dataGraphPipeline = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (dataGraphPipeline is not null) + { + DataGraphPipeline = dataGraphPipeline.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineSessionCreateFlagsARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionCreateFlagsARM")] + [NativeName("Name", "flags")] + public DataGraphPipelineSessionCreateFlagsARM Flags; +/// + [NativeName("Type", "VkPipeline")] + [NativeName("Type.Name", "VkPipeline")] + [NativeName("Name", "dataGraphPipeline")] + public Pipeline DataGraphPipeline; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineSessionCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs new file mode 100644 index 0000000000..3f2ba01861 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineSessionMemoryRequirementsInfoARM")] + public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM : IChainable + { + public DataGraphPipelineSessionMemoryRequirementsInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineSessionMemoryRequirementsInfoArm, + void* pNext = null, + DataGraphPipelineSessionARM? session = null, + DataGraphPipelineSessionBindPointARM? bindPoint = null, + uint? objectIndex = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (session is not null) + { + Session = session.Value; + } + + if (bindPoint is not null) + { + BindPoint = bindPoint.Value; + } + + if (objectIndex is not null) + { + ObjectIndex = objectIndex.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDataGraphPipelineSessionARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionARM")] + [NativeName("Name", "session")] + public DataGraphPipelineSessionARM Session; +/// + [NativeName("Type", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Type.Name", "VkDataGraphPipelineSessionBindPointARM")] + [NativeName("Name", "bindPoint")] + public DataGraphPipelineSessionBindPointARM BindPoint; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "objectIndex")] + public uint ObjectIndex; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineSessionMemoryRequirementsInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs new file mode 100644 index 0000000000..69389c6eae --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphPipelineShaderModuleCreateInfoARM")] + public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM : IExtendsChain + { + public DataGraphPipelineShaderModuleCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphPipelineShaderModuleCreateInfoArm, + void* pNext = null, + ShaderModule? module = null, + byte* pName = null, + SpecializationInfo* pSpecializationInfo = null, + uint? constantCount = null, + DataGraphPipelineConstantARM* pConstants = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (module is not null) + { + Module = module.Value; + } + + if (pName is not null) + { + PName = pName; + } + + if (pSpecializationInfo is not null) + { + PSpecializationInfo = pSpecializationInfo; + } + + if (constantCount is not null) + { + ConstantCount = constantCount.Value; + } + + if (pConstants is not null) + { + PConstants = pConstants; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkShaderModule")] + [NativeName("Type.Name", "VkShaderModule")] + [NativeName("Name", "module")] + public ShaderModule Module; +/// + [NativeName("Type", "char*")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "pName")] + public byte* PName; +/// + [NativeName("Type", "VkSpecializationInfo*")] + [NativeName("Type.Name", "VkSpecializationInfo")] + [NativeName("Name", "pSpecializationInfo")] + public SpecializationInfo* PSpecializationInfo; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "constantCount")] + public uint ConstantCount; +/// + [NativeName("Type", "VkDataGraphPipelineConstantARM*")] + [NativeName("Type.Name", "VkDataGraphPipelineConstantARM")] + [NativeName("Name", "pConstants")] + public DataGraphPipelineConstantARM* PConstants; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphPipelineShaderModuleCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphProcessingEngineCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphProcessingEngineCreateInfoARM.gen.cs new file mode 100644 index 0000000000..5bf3bc74a6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DataGraphProcessingEngineCreateInfoARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDataGraphProcessingEngineCreateInfoARM")] + public unsafe partial struct DataGraphProcessingEngineCreateInfoARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public DataGraphProcessingEngineCreateInfoARM + ( + StructureType? sType = StructureType.DataGraphProcessingEngineCreateInfoArm, + void* pNext = null, + uint? processingEngineCount = null, + PhysicalDeviceDataGraphProcessingEngineARM* pProcessingEngines = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (processingEngineCount is not null) + { + ProcessingEngineCount = processingEngineCount.Value; + } + + if (pProcessingEngines is not null) + { + PProcessingEngines = pProcessingEngines; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "processingEngineCount")] + public uint ProcessingEngineCount; +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphProcessingEngineARM*")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphProcessingEngineARM")] + [NativeName("Name", "pProcessingEngines")] + public PhysicalDeviceDataGraphProcessingEngineARM* PProcessingEngines; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DataGraphProcessingEngineCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfo.gen.cs index 6efb183b63..1394f42785 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfo.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDependencyInfo")] [NativeName("Aliases", "VkDependencyInfoKHR")] - public unsafe partial struct DependencyInfo : IChainable + public unsafe partial struct DependencyInfo : IChainStart { public DependencyInfo ( @@ -137,5 +137,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DependencyInfo Chain( + out DependencyInfo capture) + { + capture = new DependencyInfo(StructureType.DependencyInfo); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfoKHR.gen.cs index 6c808b7fea..17d8797750 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DependencyInfoKHR.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDependencyInfoKHR")] [NativeName("AliasOf", "VkDependencyInfo")] - public unsafe partial struct DependencyInfoKHR : IChainable + public unsafe partial struct DependencyInfoKHR : IChainStart { public DependencyInfoKHR ( @@ -137,5 +137,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DependencyInfoKHR Chain( + out DependencyInfoKHR capture) + { + capture = new DependencyInfoKHR(StructureType.DependencyInfo); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetInfoEXT.gen.cs index 07db2d5ffb..170f9dd3d1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetInfoEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDescriptorGetInfoEXT")] - public unsafe partial struct DescriptorGetInfoEXT : IChainable + public unsafe partial struct DescriptorGetInfoEXT : IChainStart { public DescriptorGetInfoEXT ( @@ -81,5 +81,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DescriptorGetInfoEXT Chain( + out DescriptorGetInfoEXT capture) + { + capture = new DescriptorGetInfoEXT(StructureType.DescriptorGetInfoExt); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetTensorInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetTensorInfoARM.gen.cs new file mode 100644 index 0000000000..1aee717ca2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorGetTensorInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDescriptorGetTensorInfoARM")] + public unsafe partial struct DescriptorGetTensorInfoARM : IExtendsChain + { + public DescriptorGetTensorInfoARM + ( + StructureType? sType = StructureType.DescriptorGetTensorInfoArm, + void* pNext = null, + TensorViewARM? tensorView = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorView is not null) + { + TensorView = tensorView.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorViewARM")] + [NativeName("Type.Name", "VkTensorViewARM")] + [NativeName("Name", "tensorView")] + public TensorViewARM TensorView; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DescriptorGetTensorInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfo.gen.cs new file mode 100644 index 0000000000..aa548310ed --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfo.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDeviceImageSubresourceInfo")] + [NativeName("Aliases", "VkDeviceImageSubresourceInfoKHR")] + public unsafe partial struct DeviceImageSubresourceInfo : IChainable + { + public DeviceImageSubresourceInfo + ( + StructureType? sType = StructureType.DeviceImageSubresourceInfo, + void* pNext = null, + ImageCreateInfo* pCreateInfo = null, + ImageSubresource2* pSubresource = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pCreateInfo is not null) + { + PCreateInfo = pCreateInfo; + } + + if (pSubresource is not null) + { + PSubresource = pSubresource; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkImageCreateInfo*")] + [NativeName("Type.Name", "VkImageCreateInfo")] + [NativeName("Name", "pCreateInfo")] + public ImageCreateInfo* PCreateInfo; +/// + [NativeName("Type", "VkImageSubresource2*")] + [NativeName("Type.Name", "VkImageSubresource2")] + [NativeName("Name", "pSubresource")] + public ImageSubresource2* PSubresource; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DeviceImageSubresourceInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfoKHR.gen.cs index 979325c311..e52ad73bad 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceImageSubresourceInfoKHR.gen.cs @@ -17,14 +17,15 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDeviceImageSubresourceInfoKHR")] + [NativeName("AliasOf", "VkDeviceImageSubresourceInfo")] public unsafe partial struct DeviceImageSubresourceInfoKHR : IChainable { public DeviceImageSubresourceInfoKHR ( - StructureType? sType = StructureType.DeviceImageSubresourceInfoKhr, + StructureType? sType = StructureType.DeviceImageSubresourceInfo, void* pNext = null, ImageCreateInfo* pCreateInfo = null, - ImageSubresource2KHR* pSubresource = null + ImageSubresource2* pSubresource = null ) : this() { if (sType is not null) @@ -64,15 +65,15 @@ public DeviceImageSubresourceInfoKHR [NativeName("Name", "pCreateInfo")] public ImageCreateInfo* PCreateInfo; /// - [NativeName("Type", "VkImageSubresource2KHR*")] - [NativeName("Type.Name", "VkImageSubresource2KHR")] + [NativeName("Type", "VkImageSubresource2*")] + [NativeName("Type.Name", "VkImageSubresource2")] [NativeName("Name", "pSubresource")] - public ImageSubresource2KHR* PSubresource; + public ImageSubresource2* PSubresource; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.DeviceImageSubresourceInfoKhr; + return SType = StructureType.DeviceImageSubresourceInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfo.gen.cs new file mode 100644 index 0000000000..81f8fa69d4 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfo.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDeviceQueueGlobalPriorityCreateInfo")] + [NativeName("Aliases", "VkDeviceQueueGlobalPriorityCreateInfoKHR, VkDeviceQueueGlobalPriorityCreateInfoEXT")] + public unsafe partial struct DeviceQueueGlobalPriorityCreateInfo : IExtendsChain + { + public DeviceQueueGlobalPriorityCreateInfo + ( + StructureType? sType = StructureType.DeviceQueueGlobalPriorityCreateInfo, + void* pNext = null, + QueueGlobalPriority? globalPriority = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (globalPriority is not null) + { + GlobalPriority = globalPriority.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] + [NativeName("Name", "globalPriority")] + public QueueGlobalPriority GlobalPriority; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DeviceQueueGlobalPriorityCreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoEXT.gen.cs index ac1f9ed389..6f263c0096 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoEXT.gen.cs @@ -17,14 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDeviceQueueGlobalPriorityCreateInfoEXT")] - [NativeName("AliasOf", "VkDeviceQueueGlobalPriorityCreateInfoKHR")] + [NativeName("AliasOf", "VkDeviceQueueGlobalPriorityCreateInfo")] public unsafe partial struct DeviceQueueGlobalPriorityCreateInfoEXT : IExtendsChain { public DeviceQueueGlobalPriorityCreateInfoEXT ( - StructureType? sType = StructureType.DeviceQueueGlobalPriorityCreateInfoKhr, + StructureType? sType = StructureType.DeviceQueueGlobalPriorityCreateInfo, void* pNext = null, - QueueGlobalPriorityKHR? globalPriority = null + QueueGlobalPriority? globalPriority = null ) : this() { if (sType is not null) @@ -54,15 +54,15 @@ public DeviceQueueGlobalPriorityCreateInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkQueueGlobalPriorityKHR")] - [NativeName("Type.Name", "VkQueueGlobalPriorityKHR")] + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] [NativeName("Name", "globalPriority")] - public QueueGlobalPriorityKHR GlobalPriority; + public QueueGlobalPriority GlobalPriority; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.DeviceQueueGlobalPriorityCreateInfoKhr; + return SType = StructureType.DeviceQueueGlobalPriorityCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoKHR.gen.cs index 4b75bc4bdb..702a7235c9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceQueueGlobalPriorityCreateInfoKHR.gen.cs @@ -17,14 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDeviceQueueGlobalPriorityCreateInfoKHR")] - [NativeName("Aliases", "VkDeviceQueueGlobalPriorityCreateInfoEXT")] + [NativeName("AliasOf", "VkDeviceQueueGlobalPriorityCreateInfo")] public unsafe partial struct DeviceQueueGlobalPriorityCreateInfoKHR : IExtendsChain { public DeviceQueueGlobalPriorityCreateInfoKHR ( - StructureType? sType = StructureType.DeviceQueueGlobalPriorityCreateInfoKhr, + StructureType? sType = StructureType.DeviceQueueGlobalPriorityCreateInfo, void* pNext = null, - QueueGlobalPriorityKHR? globalPriority = null + QueueGlobalPriority? globalPriority = null ) : this() { if (sType is not null) @@ -54,15 +54,15 @@ public DeviceQueueGlobalPriorityCreateInfoKHR [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkQueueGlobalPriorityKHR")] - [NativeName("Type.Name", "VkQueueGlobalPriorityKHR")] + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] [NativeName("Name", "globalPriority")] - public QueueGlobalPriorityKHR GlobalPriority; + public QueueGlobalPriority GlobalPriority; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.DeviceQueueGlobalPriorityCreateInfoKhr; + return SType = StructureType.DeviceQueueGlobalPriorityCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceTensorMemoryRequirementsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceTensorMemoryRequirementsARM.gen.cs new file mode 100644 index 0000000000..d00693fd5d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DeviceTensorMemoryRequirementsARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDeviceTensorMemoryRequirementsARM")] + public unsafe partial struct DeviceTensorMemoryRequirementsARM : IChainable + { + public DeviceTensorMemoryRequirementsARM + ( + StructureType? sType = StructureType.DeviceTensorMemoryRequirementsArm, + void* pNext = null, + TensorCreateInfoARM* pCreateInfo = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pCreateInfo is not null) + { + PCreateInfo = pCreateInfo; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorCreateInfoARM*")] + [NativeName("Type.Name", "VkTensorCreateInfoARM")] + [NativeName("Name", "pCreateInfo")] + public TensorCreateInfoARM* PCreateInfo; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DeviceTensorMemoryRequirementsArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DispatchTileInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DispatchTileInfoQCOM.gen.cs new file mode 100644 index 0000000000..e7fb0fcbaf --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DispatchTileInfoQCOM.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDispatchTileInfoQCOM")] + public unsafe partial struct DispatchTileInfoQCOM : IChainable + { + public DispatchTileInfoQCOM + ( + StructureType? sType = StructureType.DispatchTileInfoQCom, + void* pNext = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DispatchTileInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeProperties2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeProperties2KHR.gen.cs index ac3bce58d4..bc08279343 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeProperties2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeProperties2KHR.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDisplayModeProperties2KHR")] - public unsafe partial struct DisplayModeProperties2KHR : IChainable + public unsafe partial struct DisplayModeProperties2KHR : IChainStart { public DisplayModeProperties2KHR ( @@ -70,5 +70,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DisplayModeProperties2KHR Chain( + out DisplayModeProperties2KHR capture) + { + capture = new DisplayModeProperties2KHR(StructureType.DisplayModeProperties2Khr); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeStereoPropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeStereoPropertiesNV.gen.cs new file mode 100644 index 0000000000..6fb636fc36 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplayModeStereoPropertiesNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDisplayModeStereoPropertiesNV")] + public unsafe partial struct DisplayModeStereoPropertiesNV : IExtendsChain + { + public DisplayModeStereoPropertiesNV + ( + StructureType? sType = StructureType.DisplayModeStereoPropertiesNV, + void* pNext = null, + Bool32? hdmi3DSupported = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (hdmi3DSupported is not null) + { + Hdmi3DSupported = hdmi3DSupported.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "hdmi3DSupported")] + public Bool32 Hdmi3DSupported; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DisplayModeStereoPropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceCreateInfoKHR.gen.cs index 764f4c7178..3682bee659 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceCreateInfoKHR.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkDisplaySurfaceCreateInfoKHR")] - public unsafe partial struct DisplaySurfaceCreateInfoKHR : IChainable + public unsafe partial struct DisplaySurfaceCreateInfoKHR : IChainStart { public DisplaySurfaceCreateInfoKHR ( @@ -147,5 +147,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref DisplaySurfaceCreateInfoKHR Chain( + out DisplaySurfaceCreateInfoKHR capture) + { + capture = new DisplaySurfaceCreateInfoKHR(StructureType.DisplaySurfaceCreateInfoKhr); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceStereoCreateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceStereoCreateInfoNV.gen.cs new file mode 100644 index 0000000000..012445eba2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DisplaySurfaceStereoCreateInfoNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkDisplaySurfaceStereoCreateInfoNV")] + public unsafe partial struct DisplaySurfaceStereoCreateInfoNV : IExtendsChain + { + public DisplaySurfaceStereoCreateInfoNV + ( + StructureType? sType = StructureType.DisplaySurfaceStereoCreateInfoNV, + void* pNext = null, + DisplaySurfaceStereoTypeNV? stereoType = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (stereoType is not null) + { + StereoType = stereoType.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDisplaySurfaceStereoTypeNV")] + [NativeName("Type.Name", "VkDisplaySurfaceStereoTypeNV")] + [NativeName("Name", "stereoType")] + public DisplaySurfaceStereoTypeNV StereoType; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.DisplaySurfaceStereoCreateInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueCreateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueCreateInfoNV.gen.cs new file mode 100644 index 0000000000..99c48c3d76 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueCreateInfoNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalComputeQueueCreateInfoNV")] + public unsafe partial struct ExternalComputeQueueCreateInfoNV : IChainable + { + public ExternalComputeQueueCreateInfoNV + ( + StructureType? sType = StructureType.ExternalComputeQueueCreateInfoNV, + void* pNext = null, + Queue? preferredQueue = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (preferredQueue is not null) + { + PreferredQueue = preferredQueue.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkQueue")] + [NativeName("Type.Name", "VkQueue")] + [NativeName("Name", "preferredQueue")] + public Queue PreferredQueue; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ExternalComputeQueueCreateInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDataParamsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDataParamsNV.gen.cs new file mode 100644 index 0000000000..759195bcb1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDataParamsNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalComputeQueueDataParamsNV")] + public unsafe partial struct ExternalComputeQueueDataParamsNV : IChainable + { + public ExternalComputeQueueDataParamsNV + ( + StructureType? sType = StructureType.ExternalComputeQueueDataParamsNV, + void* pNext = null, + uint? deviceIndex = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (deviceIndex is not null) + { + DeviceIndex = deviceIndex.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "deviceIndex")] + public uint DeviceIndex; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ExternalComputeQueueDataParamsNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDeviceCreateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDeviceCreateInfoNV.gen.cs new file mode 100644 index 0000000000..686a05ef90 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueDeviceCreateInfoNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalComputeQueueDeviceCreateInfoNV")] + public unsafe partial struct ExternalComputeQueueDeviceCreateInfoNV : IExtendsChain + { + public ExternalComputeQueueDeviceCreateInfoNV + ( + StructureType? sType = StructureType.ExternalComputeQueueDeviceCreateInfoNV, + void* pNext = null, + uint? reservedExternalQueues = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (reservedExternalQueues is not null) + { + ReservedExternalQueues = reservedExternalQueues.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "reservedExternalQueues")] + public uint ReservedExternalQueues; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ExternalComputeQueueDeviceCreateInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueNV.gen.cs new file mode 100644 index 0000000000..e4ed9c6345 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalComputeQueueNV.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalComputeQueueNV")] + public unsafe partial struct ExternalComputeQueueNV + { + public ExternalComputeQueueNV + ( + nint? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public nint Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalMemoryTensorCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalMemoryTensorCreateInfoARM.gen.cs new file mode 100644 index 0000000000..7a07ffe52f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalMemoryTensorCreateInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalMemoryTensorCreateInfoARM")] + public unsafe partial struct ExternalMemoryTensorCreateInfoARM : IExtendsChain + { + public ExternalMemoryTensorCreateInfoARM + ( + StructureType? sType = StructureType.ExternalMemoryTensorCreateInfoArm, + void* pNext = null, + ExternalMemoryHandleTypeFlags? handleTypes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (handleTypes is not null) + { + HandleTypes = handleTypes.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExternalMemoryHandleTypeFlags")] + [NativeName("Type.Name", "VkExternalMemoryHandleTypeFlags")] + [NativeName("Name", "handleTypes")] + public ExternalMemoryHandleTypeFlags HandleTypes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ExternalMemoryTensorCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalTensorPropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalTensorPropertiesARM.gen.cs new file mode 100644 index 0000000000..e3f14c83dd --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExternalTensorPropertiesARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkExternalTensorPropertiesARM")] + public unsafe partial struct ExternalTensorPropertiesARM : IChainable + { + public ExternalTensorPropertiesARM + ( + StructureType? sType = StructureType.ExternalTensorPropertiesArm, + void* pNext = null, + ExternalMemoryProperties? externalMemoryProperties = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (externalMemoryProperties is not null) + { + ExternalMemoryProperties = externalMemoryProperties.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExternalMemoryProperties")] + [NativeName("Type.Name", "VkExternalMemoryProperties")] + [NativeName("Name", "externalMemoryProperties")] + public ExternalMemoryProperties ExternalMemoryProperties; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ExternalTensorPropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/FrameBoundaryTensorsARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/FrameBoundaryTensorsARM.gen.cs new file mode 100644 index 0000000000..59f967e6b9 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/FrameBoundaryTensorsARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkFrameBoundaryTensorsARM")] + public unsafe partial struct FrameBoundaryTensorsARM : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public FrameBoundaryTensorsARM + ( + StructureType? sType = StructureType.FrameBoundaryTensorsArm, + void* pNext = null, + uint? tensorCount = null, + TensorARM* pTensors = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorCount is not null) + { + TensorCount = tensorCount.Value; + } + + if (pTensors is not null) + { + PTensors = pTensors; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "tensorCount")] + public uint TensorCount; +/// + [NativeName("Type", "VkTensorARM*")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "pTensors")] + public TensorARM* PTensors; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.FrameBoundaryTensorsArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HdrMetadataEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HdrMetadataEXT.gen.cs index a0ad5234d5..39b1058a87 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/HdrMetadataEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HdrMetadataEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkHdrMetadataEXT")] - public unsafe partial struct HdrMetadataEXT : IChainable + public unsafe partial struct HdrMetadataEXT : IChainStart { public HdrMetadataEXT ( @@ -147,5 +147,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref HdrMetadataEXT Chain( + out HdrMetadataEXT capture) + { + capture = new HdrMetadataEXT(StructureType.HdrMetadataExt); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HdrVividDynamicMetadataHUAWEI.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HdrVividDynamicMetadataHUAWEI.gen.cs new file mode 100644 index 0000000000..925b884edb --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HdrVividDynamicMetadataHUAWEI.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkHdrVividDynamicMetadataHUAWEI")] + public unsafe partial struct HdrVividDynamicMetadataHUAWEI : IExtendsChain + { + public HdrVividDynamicMetadataHUAWEI + ( + StructureType? sType = StructureType.HdrVividDynamicMetadataHuawei, + void* pNext = null, + nuint? dynamicMetadataSize = null, + void* pDynamicMetadata = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dynamicMetadataSize is not null) + { + DynamicMetadataSize = dynamicMetadataSize.Value; + } + + if (pDynamicMetadata is not null) + { + PDynamicMetadata = pDynamicMetadata; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "dynamicMetadataSize")] + public nuint DynamicMetadataSize; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pDynamicMetadata")] + public void* PDynamicMetadata; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.HdrVividDynamicMetadataHuawei; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQuery.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQuery.gen.cs new file mode 100644 index 0000000000..22c30456f5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQuery.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkHostImageCopyDevicePerformanceQuery")] + [NativeName("Aliases", "VkHostImageCopyDevicePerformanceQueryEXT")] + public unsafe partial struct HostImageCopyDevicePerformanceQuery : IExtendsChain, IExtendsChain + { + public HostImageCopyDevicePerformanceQuery + ( + StructureType? sType = StructureType.HostImageCopyDevicePerformanceQuery, + void* pNext = null, + Bool32? optimalDeviceAccess = null, + Bool32? identicalMemoryLayout = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (optimalDeviceAccess is not null) + { + OptimalDeviceAccess = optimalDeviceAccess.Value; + } + + if (identicalMemoryLayout is not null) + { + IdenticalMemoryLayout = identicalMemoryLayout.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "optimalDeviceAccess")] + public Bool32 OptimalDeviceAccess; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "identicalMemoryLayout")] + public Bool32 IdenticalMemoryLayout; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.HostImageCopyDevicePerformanceQuery; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQueryEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQueryEXT.gen.cs index ae06ed62e0..b134f8fbee 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQueryEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageCopyDevicePerformanceQueryEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkHostImageCopyDevicePerformanceQueryEXT")] + [NativeName("AliasOf", "VkHostImageCopyDevicePerformanceQuery")] public unsafe partial struct HostImageCopyDevicePerformanceQueryEXT : IExtendsChain, IExtendsChain { public HostImageCopyDevicePerformanceQueryEXT ( - StructureType? sType = StructureType.HostImageCopyDevicePerformanceQueryExt, + StructureType? sType = StructureType.HostImageCopyDevicePerformanceQuery, void* pNext = null, Bool32? optimalDeviceAccess = null, Bool32? identicalMemoryLayout = null @@ -72,7 +73,7 @@ public HostImageCopyDevicePerformanceQueryEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.HostImageCopyDevicePerformanceQueryExt; + return SType = StructureType.HostImageCopyDevicePerformanceQuery; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfo.gen.cs new file mode 100644 index 0000000000..cfdb26a6fc --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfo.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkHostImageLayoutTransitionInfo")] + [NativeName("Aliases", "VkHostImageLayoutTransitionInfoEXT")] + public unsafe partial struct HostImageLayoutTransitionInfo : IChainable + { + public HostImageLayoutTransitionInfo + ( + StructureType? sType = StructureType.HostImageLayoutTransitionInfo, + void* pNext = null, + Image? image = null, + ImageLayout? oldLayout = null, + ImageLayout? newLayout = null, + ImageSubresourceRange? subresourceRange = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (image is not null) + { + Image = image.Value; + } + + if (oldLayout is not null) + { + OldLayout = oldLayout.Value; + } + + if (newLayout is not null) + { + NewLayout = newLayout.Value; + } + + if (subresourceRange is not null) + { + SubresourceRange = subresourceRange.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkImage")] + [NativeName("Type.Name", "VkImage")] + [NativeName("Name", "image")] + public Image Image; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "oldLayout")] + public ImageLayout OldLayout; +/// + [NativeName("Type", "VkImageLayout")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "newLayout")] + public ImageLayout NewLayout; +/// + [NativeName("Type", "VkImageSubresourceRange")] + [NativeName("Type.Name", "VkImageSubresourceRange")] + [NativeName("Name", "subresourceRange")] + public ImageSubresourceRange SubresourceRange; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.HostImageLayoutTransitionInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfoEXT.gen.cs index 4ebb147061..fbf870bc70 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/HostImageLayoutTransitionInfoEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkHostImageLayoutTransitionInfoEXT")] + [NativeName("AliasOf", "VkHostImageLayoutTransitionInfo")] public unsafe partial struct HostImageLayoutTransitionInfoEXT : IChainable { public HostImageLayoutTransitionInfoEXT ( - StructureType? sType = StructureType.HostImageLayoutTransitionInfoExt, + StructureType? sType = StructureType.HostImageLayoutTransitionInfo, void* pNext = null, Image? image = null, ImageLayout? oldLayout = null, @@ -94,7 +95,7 @@ public HostImageLayoutTransitionInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.HostImageLayoutTransitionInfoExt; + return SType = StructureType.HostImageLayoutTransitionInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageCompressionPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageCompressionPropertiesEXT.gen.cs index 0e3e76116b..2a4d3acba7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageCompressionPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageCompressionPropertiesEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkImageCompressionPropertiesEXT")] - public unsafe partial struct ImageCompressionPropertiesEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + public unsafe partial struct ImageCompressionPropertiesEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public ImageCompressionPropertiesEXT ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2.gen.cs new file mode 100644 index 0000000000..cf8999efbd --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImageSubresource2")] + [NativeName("Aliases", "VkImageSubresource2KHR, VkImageSubresource2EXT")] + public unsafe partial struct ImageSubresource2 : IChainable + { + public ImageSubresource2 + ( + StructureType? sType = StructureType.ImageSubresource2, + void* pNext = null, + ImageSubresource? imageSubresource = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (imageSubresource is not null) + { + ImageSubresource = imageSubresource.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkImageSubresource")] + [NativeName("Type.Name", "VkImageSubresource")] + [NativeName("Name", "imageSubresource")] + public ImageSubresource ImageSubresource; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ImageSubresource2; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2EXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2EXT.gen.cs index 7b8fd1f405..055dcd669d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2EXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2EXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkImageSubresource2EXT")] - [NativeName("AliasOf", "VkImageSubresource2KHR")] + [NativeName("AliasOf", "VkImageSubresource2")] public unsafe partial struct ImageSubresource2EXT : IChainable { public ImageSubresource2EXT ( - StructureType? sType = StructureType.ImageSubresource2Khr, + StructureType? sType = StructureType.ImageSubresource2, void* pNext = null, ImageSubresource? imageSubresource = null ) : this() @@ -62,7 +62,7 @@ public ImageSubresource2EXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.ImageSubresource2Khr; + return SType = StructureType.ImageSubresource2; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2KHR.gen.cs index d929600a73..99cd516f04 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageSubresource2KHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkImageSubresource2KHR")] - [NativeName("Aliases", "VkImageSubresource2EXT")] + [NativeName("AliasOf", "VkImageSubresource2")] public unsafe partial struct ImageSubresource2KHR : IChainable { public ImageSubresource2KHR ( - StructureType? sType = StructureType.ImageSubresource2Khr, + StructureType? sType = StructureType.ImageSubresource2, void* pNext = null, ImageSubresource? imageSubresource = null ) : this() @@ -62,7 +62,7 @@ public ImageSubresource2KHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.ImageSubresource2Khr; + return SType = StructureType.ImageSubresource2; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopy.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopy.gen.cs new file mode 100644 index 0000000000..7006ca395b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopy.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImageToMemoryCopy")] + [NativeName("Aliases", "VkImageToMemoryCopyEXT")] + public unsafe partial struct ImageToMemoryCopy : IChainable + { + public ImageToMemoryCopy + ( + StructureType? sType = StructureType.ImageToMemoryCopy, + void* pNext = null, + void* pHostPointer = null, + uint? memoryRowLength = null, + uint? memoryImageHeight = null, + ImageSubresourceLayers? imageSubresource = null, + Offset3D? imageOffset = null, + Extent3D? imageExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pHostPointer is not null) + { + PHostPointer = pHostPointer; + } + + if (memoryRowLength is not null) + { + MemoryRowLength = memoryRowLength.Value; + } + + if (memoryImageHeight is not null) + { + MemoryImageHeight = memoryImageHeight.Value; + } + + if (imageSubresource is not null) + { + ImageSubresource = imageSubresource.Value; + } + + if (imageOffset is not null) + { + ImageOffset = imageOffset.Value; + } + + if (imageExtent is not null) + { + ImageExtent = imageExtent.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pHostPointer")] + public void* PHostPointer; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryRowLength")] + public uint MemoryRowLength; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryImageHeight")] + public uint MemoryImageHeight; +/// + [NativeName("Type", "VkImageSubresourceLayers")] + [NativeName("Type.Name", "VkImageSubresourceLayers")] + [NativeName("Name", "imageSubresource")] + public ImageSubresourceLayers ImageSubresource; +/// + [NativeName("Type", "VkOffset3D")] + [NativeName("Type.Name", "VkOffset3D")] + [NativeName("Name", "imageOffset")] + public Offset3D ImageOffset; +/// + [NativeName("Type", "VkExtent3D")] + [NativeName("Type.Name", "VkExtent3D")] + [NativeName("Name", "imageExtent")] + public Extent3D ImageExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ImageToMemoryCopy; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopyEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopyEXT.gen.cs index 24ace9631d..1e26ea28ef 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopyEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageToMemoryCopyEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkImageToMemoryCopyEXT")] + [NativeName("AliasOf", "VkImageToMemoryCopy")] public unsafe partial struct ImageToMemoryCopyEXT : IChainable { public ImageToMemoryCopyEXT ( - StructureType? sType = StructureType.ImageToMemoryCopyExt, + StructureType? sType = StructureType.ImageToMemoryCopy, void* pNext = null, void* pHostPointer = null, uint? memoryRowLength = null, @@ -116,7 +117,7 @@ public ImageToMemoryCopyEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.ImageToMemoryCopyExt; + return SType = StructureType.ImageToMemoryCopy; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryMetalHandleInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryMetalHandleInfoEXT.gen.cs new file mode 100644 index 0000000000..e8b3c92d5c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryMetalHandleInfoEXT.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImportMemoryMetalHandleInfoEXT")] + public unsafe partial struct ImportMemoryMetalHandleInfoEXT : IExtendsChain + { + public ImportMemoryMetalHandleInfoEXT + ( + StructureType? sType = StructureType.ImportMemoryMetalHandleInfoExt, + void* pNext = null, + ExternalMemoryHandleTypeFlags? handleType = null, + void* handle = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (handleType is not null) + { + HandleType = handleType.Value; + } + + if (handle is not null) + { + Handle = handle; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Type.Name", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Name", "handleType")] + public ExternalMemoryHandleTypeFlags HandleType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "handle")] + public void* Handle; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ImportMemoryMetalHandleInfoExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryBarrierAccessFlags3KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryBarrierAccessFlags3KHR.gen.cs new file mode 100644 index 0000000000..2832e9dea2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryBarrierAccessFlags3KHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryBarrierAccessFlags3KHR")] + public unsafe partial struct MemoryBarrierAccessFlags3KHR : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public MemoryBarrierAccessFlags3KHR + ( + StructureType? sType = StructureType.MemoryBarrierAccessFlags3Khr, + void* pNext = null, + AccessFlags3KHR? srcAccessMask3 = null, + AccessFlags3KHR? dstAccessMask3 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (srcAccessMask3 is not null) + { + SrcAccessMask3 = srcAccessMask3.Value; + } + + if (dstAccessMask3 is not null) + { + DstAccessMask3 = dstAccessMask3.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkAccessFlags3KHR")] + [NativeName("Type.Name", "VkAccessFlags3KHR")] + [NativeName("Name", "srcAccessMask3")] + public AccessFlags3KHR SrcAccessMask3; +/// + [NativeName("Type", "VkAccessFlags3KHR")] + [NativeName("Type.Name", "VkAccessFlags3KHR")] + [NativeName("Name", "dstAccessMask3")] + public AccessFlags3KHR DstAccessMask3; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryBarrierAccessFlags3Khr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryDedicatedAllocateInfoTensorARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryDedicatedAllocateInfoTensorARM.gen.cs new file mode 100644 index 0000000000..069ce82660 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryDedicatedAllocateInfoTensorARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryDedicatedAllocateInfoTensorARM")] + public unsafe partial struct MemoryDedicatedAllocateInfoTensorARM : IExtendsChain + { + public MemoryDedicatedAllocateInfoTensorARM + ( + StructureType? sType = StructureType.MemoryDedicatedAllocateInfoTensorArm, + void* pNext = null, + TensorARM? tensor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryDedicatedAllocateInfoTensorArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryGetMetalHandleInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryGetMetalHandleInfoEXT.gen.cs new file mode 100644 index 0000000000..f1a0526867 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryGetMetalHandleInfoEXT.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryGetMetalHandleInfoEXT")] + public unsafe partial struct MemoryGetMetalHandleInfoEXT : IChainable + { + public MemoryGetMetalHandleInfoEXT + ( + StructureType? sType = StructureType.MemoryGetMetalHandleInfoExt, + void* pNext = null, + DeviceMemory? memory = null, + ExternalMemoryHandleTypeFlags? handleType = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (memory is not null) + { + Memory = memory.Value; + } + + if (handleType is not null) + { + HandleType = handleType.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; +/// + [NativeName("Type", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Type.Name", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Name", "handleType")] + public ExternalMemoryHandleTypeFlags HandleType; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryGetMetalHandleInfoExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfo.gen.cs new file mode 100644 index 0000000000..4b8e85c892 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfo.gen.cs @@ -0,0 +1,120 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryMapInfo")] + [NativeName("Aliases", "VkMemoryMapInfoKHR")] + public unsafe partial struct MemoryMapInfo : IChainStart + { + public MemoryMapInfo + ( + StructureType? sType = StructureType.MemoryMapInfo, + void* pNext = null, + MemoryMapFlags? flags = null, + DeviceMemory? memory = null, + ulong? offset = null, + ulong? size = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (memory is not null) + { + Memory = memory.Value; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (size is not null) + { + Size = size.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkMemoryMapFlags")] + [NativeName("Type.Name", "VkMemoryMapFlags")] + [NativeName("Name", "flags")] + public MemoryMapFlags Flags; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "offset")] + public ulong Offset; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "size")] + public ulong Size; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryMapInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref MemoryMapInfo Chain( + out MemoryMapInfo capture) + { + capture = new MemoryMapInfo(StructureType.MemoryMapInfo); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfoKHR.gen.cs index e72ac879cf..fd8c658175 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkMemoryMapInfoKHR")] + [NativeName("AliasOf", "VkMemoryMapInfo")] public unsafe partial struct MemoryMapInfoKHR : IChainStart { public MemoryMapInfoKHR ( - StructureType? sType = StructureType.MemoryMapInfoKhr, + StructureType? sType = StructureType.MemoryMapInfo, void* pNext = null, MemoryMapFlags? flags = null, DeviceMemory? memory = null, @@ -94,7 +95,7 @@ public MemoryMapInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.MemoryMapInfoKhr; + return SType = StructureType.MemoryMapInfo; } /// @@ -112,7 +113,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref MemoryMapInfoKHR Chain( out MemoryMapInfoKHR capture) { - capture = new MemoryMapInfoKHR(StructureType.MemoryMapInfoKhr); + capture = new MemoryMapInfoKHR(StructureType.MemoryMapInfo); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapPlacedInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapPlacedInfoEXT.gen.cs index 784e53aa7d..d605be5262 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapPlacedInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMapPlacedInfoEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkMemoryMapPlacedInfoEXT")] - public unsafe partial struct MemoryMapPlacedInfoEXT : IExtendsChain + public unsafe partial struct MemoryMapPlacedInfoEXT : IExtendsChain, IExtendsChain { public MemoryMapPlacedInfoEXT ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMetalHandlePropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMetalHandlePropertiesEXT.gen.cs new file mode 100644 index 0000000000..131083245a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryMetalHandlePropertiesEXT.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryMetalHandlePropertiesEXT")] + public unsafe partial struct MemoryMetalHandlePropertiesEXT : IChainable + { + public MemoryMetalHandlePropertiesEXT + ( + StructureType? sType = StructureType.MemoryMetalHandlePropertiesExt, + void* pNext = null, + uint? memoryTypeBits = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (memoryTypeBits is not null) + { + MemoryTypeBits = memoryTypeBits.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryTypeBits")] + public uint MemoryTypeBits; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryMetalHandlePropertiesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopy.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopy.gen.cs new file mode 100644 index 0000000000..d2d0c8215d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopy.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryToImageCopy")] + [NativeName("Aliases", "VkMemoryToImageCopyEXT")] + public unsafe partial struct MemoryToImageCopy : IChainable + { + public MemoryToImageCopy + ( + StructureType? sType = StructureType.MemoryToImageCopy, + void* pNext = null, + void* pHostPointer = null, + uint? memoryRowLength = null, + uint? memoryImageHeight = null, + ImageSubresourceLayers? imageSubresource = null, + Offset3D? imageOffset = null, + Extent3D? imageExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pHostPointer is not null) + { + PHostPointer = pHostPointer; + } + + if (memoryRowLength is not null) + { + MemoryRowLength = memoryRowLength.Value; + } + + if (memoryImageHeight is not null) + { + MemoryImageHeight = memoryImageHeight.Value; + } + + if (imageSubresource is not null) + { + ImageSubresource = imageSubresource.Value; + } + + if (imageOffset is not null) + { + ImageOffset = imageOffset.Value; + } + + if (imageExtent is not null) + { + ImageExtent = imageExtent.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pHostPointer")] + public void* PHostPointer; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryRowLength")] + public uint MemoryRowLength; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryImageHeight")] + public uint MemoryImageHeight; +/// + [NativeName("Type", "VkImageSubresourceLayers")] + [NativeName("Type.Name", "VkImageSubresourceLayers")] + [NativeName("Name", "imageSubresource")] + public ImageSubresourceLayers ImageSubresource; +/// + [NativeName("Type", "VkOffset3D")] + [NativeName("Type.Name", "VkOffset3D")] + [NativeName("Name", "imageOffset")] + public Offset3D ImageOffset; +/// + [NativeName("Type", "VkExtent3D")] + [NativeName("Type.Name", "VkExtent3D")] + [NativeName("Name", "imageExtent")] + public Extent3D ImageExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryToImageCopy; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopyEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopyEXT.gen.cs index 4338c992e8..32866c8f1f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopyEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryToImageCopyEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkMemoryToImageCopyEXT")] + [NativeName("AliasOf", "VkMemoryToImageCopy")] public unsafe partial struct MemoryToImageCopyEXT : IChainable { public MemoryToImageCopyEXT ( - StructureType? sType = StructureType.MemoryToImageCopyExt, + StructureType? sType = StructureType.MemoryToImageCopy, void* pNext = null, void* pHostPointer = null, uint? memoryRowLength = null, @@ -116,7 +117,7 @@ public MemoryToImageCopyEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.MemoryToImageCopyExt; + return SType = StructureType.MemoryToImageCopy; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfo.gen.cs new file mode 100644 index 0000000000..8952b6e0b3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfo.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkMemoryUnmapInfo")] + [NativeName("Aliases", "VkMemoryUnmapInfoKHR")] + public unsafe partial struct MemoryUnmapInfo : IChainable + { + public MemoryUnmapInfo + ( + StructureType? sType = StructureType.MemoryUnmapInfo, + void* pNext = null, + MemoryUnmapFlags? flags = null, + DeviceMemory? memory = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (memory is not null) + { + Memory = memory.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkMemoryUnmapFlags")] + [NativeName("Type.Name", "VkMemoryUnmapFlags")] + [NativeName("Name", "flags")] + public MemoryUnmapFlags Flags; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.MemoryUnmapInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfoKHR.gen.cs index c0d0c7e5e1..1c3341ed74 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MemoryUnmapInfoKHR.gen.cs @@ -17,13 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkMemoryUnmapInfoKHR")] + [NativeName("AliasOf", "VkMemoryUnmapInfo")] public unsafe partial struct MemoryUnmapInfoKHR : IChainable { public MemoryUnmapInfoKHR ( - StructureType? sType = StructureType.MemoryUnmapInfoKhr, + StructureType? sType = StructureType.MemoryUnmapInfo, void* pNext = null, - MemoryUnmapFlagsKHR? flags = null, + MemoryUnmapFlags? flags = null, DeviceMemory? memory = null ) : this() { @@ -59,10 +60,10 @@ public MemoryUnmapInfoKHR [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkMemoryUnmapFlagsKHR")] - [NativeName("Type.Name", "VkMemoryUnmapFlagsKHR")] + [NativeName("Type", "VkMemoryUnmapFlags")] + [NativeName("Type.Name", "VkMemoryUnmapFlags")] [NativeName("Name", "flags")] - public MemoryUnmapFlagsKHR Flags; + public MemoryUnmapFlags Flags; /// [NativeName("Type", "VkDeviceMemory")] [NativeName("Type.Name", "VkDeviceMemory")] @@ -72,7 +73,7 @@ public MemoryUnmapInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.MemoryUnmapInfoKhr; + return SType = StructureType.MemoryUnmapInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/OpaqueCaptureDescriptorDataCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/OpaqueCaptureDescriptorDataCreateInfoEXT.gen.cs index 1609c033f1..a2ad4188cf 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/OpaqueCaptureDescriptorDataCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/OpaqueCaptureDescriptorDataCreateInfoEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkOpaqueCaptureDescriptorDataCreateInfoEXT")] - public unsafe partial struct OpaqueCaptureDescriptorDataCreateInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + public unsafe partial struct OpaqueCaptureDescriptorDataCreateInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public OpaqueCaptureDescriptorDataCreateInfoEXT ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureFlagsNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureFlagsNV.gen.cs new file mode 100644 index 0000000000..3a1871d9da --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureFlagsNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureFlagsNV")] + public unsafe partial struct PartitionedAccelerationStructureFlagsNV : IExtendsChain + { + public PartitionedAccelerationStructureFlagsNV + ( + StructureType? sType = StructureType.PartitionedAccelerationStructureFlagsNV, + void* pNext = null, + Bool32? enablePartitionTranslation = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (enablePartitionTranslation is not null) + { + EnablePartitionTranslation = enablePartitionTranslation.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "enablePartitionTranslation")] + public Bool32 EnablePartitionTranslation; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PartitionedAccelerationStructureFlagsNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureInstancesInputNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureInstancesInputNV.gen.cs new file mode 100644 index 0000000000..cdb04589f8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureInstancesInputNV.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureInstancesInputNV")] + public unsafe partial struct PartitionedAccelerationStructureInstancesInputNV : IChainStart + { + public PartitionedAccelerationStructureInstancesInputNV + ( + StructureType? sType = StructureType.PartitionedAccelerationStructureInstancesInputNV, + void* pNext = null, + BuildAccelerationStructureFlagsKHR? flags = null, + uint? instanceCount = null, + uint? maxInstancePerPartitionCount = null, + uint? partitionCount = null, + uint? maxInstanceInGlobalPartitionCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (instanceCount is not null) + { + InstanceCount = instanceCount.Value; + } + + if (maxInstancePerPartitionCount is not null) + { + MaxInstancePerPartitionCount = maxInstancePerPartitionCount.Value; + } + + if (partitionCount is not null) + { + PartitionCount = partitionCount.Value; + } + + if (maxInstanceInGlobalPartitionCount is not null) + { + MaxInstanceInGlobalPartitionCount = maxInstanceInGlobalPartitionCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBuildAccelerationStructureFlagsKHR")] + [NativeName("Type.Name", "VkBuildAccelerationStructureFlagsKHR")] + [NativeName("Name", "flags")] + public BuildAccelerationStructureFlagsKHR Flags; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceCount")] + public uint InstanceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxInstancePerPartitionCount")] + public uint MaxInstancePerPartitionCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "partitionCount")] + public uint PartitionCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxInstanceInGlobalPartitionCount")] + public uint MaxInstanceInGlobalPartitionCount; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PartitionedAccelerationStructureInstancesInputNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref PartitionedAccelerationStructureInstancesInputNV Chain( + out PartitionedAccelerationStructureInstancesInputNV capture) + { + capture = new PartitionedAccelerationStructureInstancesInputNV(StructureType.PartitionedAccelerationStructureInstancesInputNV); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureUpdateInstanceDataNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureUpdateInstanceDataNV.gen.cs new file mode 100644 index 0000000000..6f958b4b05 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureUpdateInstanceDataNV.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureUpdateInstanceDataNV")] + public unsafe partial struct PartitionedAccelerationStructureUpdateInstanceDataNV + { + public PartitionedAccelerationStructureUpdateInstanceDataNV + ( + uint? instanceIndex = null, + uint? instanceContributionToHitGroupIndex = null, + ulong? accelerationStructure = null + ) : this() + { + if (instanceIndex is not null) + { + InstanceIndex = instanceIndex.Value; + } + + if (instanceContributionToHitGroupIndex is not null) + { + InstanceContributionToHitGroupIndex = instanceContributionToHitGroupIndex.Value; + } + + if (accelerationStructure is not null) + { + AccelerationStructure = accelerationStructure.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceIndex")] + public uint InstanceIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceContributionToHitGroupIndex")] + public uint InstanceContributionToHitGroupIndex; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "accelerationStructure")] + public ulong AccelerationStructure; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWriteInstanceDataNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWriteInstanceDataNV.gen.cs new file mode 100644 index 0000000000..d44848ca42 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWriteInstanceDataNV.gen.cs @@ -0,0 +1,121 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureWriteInstanceDataNV")] + public unsafe partial struct PartitionedAccelerationStructureWriteInstanceDataNV + { + public PartitionedAccelerationStructureWriteInstanceDataNV + ( + TransformMatrixKHR? transform = null, + uint? instanceID = null, + uint? instanceMask = null, + uint? instanceContributionToHitGroupIndex = null, + PartitionedAccelerationStructureInstanceFlagsNV? instanceFlags = null, + uint? instanceIndex = null, + uint? partitionIndex = null, + ulong? accelerationStructure = null + ) : this() + { + if (transform is not null) + { + Transform = transform.Value; + } + + if (instanceID is not null) + { + InstanceID = instanceID.Value; + } + + if (instanceMask is not null) + { + InstanceMask = instanceMask.Value; + } + + if (instanceContributionToHitGroupIndex is not null) + { + InstanceContributionToHitGroupIndex = instanceContributionToHitGroupIndex.Value; + } + + if (instanceFlags is not null) + { + InstanceFlags = instanceFlags.Value; + } + + if (instanceIndex is not null) + { + InstanceIndex = instanceIndex.Value; + } + + if (partitionIndex is not null) + { + PartitionIndex = partitionIndex.Value; + } + + if (accelerationStructure is not null) + { + AccelerationStructure = accelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkTransformMatrixKHR")] + [NativeName("Type.Name", "VkTransformMatrixKHR")] + [NativeName("Name", "transform")] + public TransformMatrixKHR Transform; + /// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "explicitAABB")] + public fixed float ExplicitAabb[6]; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceID")] + public uint InstanceID; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceMask")] + public uint InstanceMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceContributionToHitGroupIndex")] + public uint InstanceContributionToHitGroupIndex; +/// + [NativeName("Type", "VkPartitionedAccelerationStructureInstanceFlagsNV")] + [NativeName("Type.Name", "VkPartitionedAccelerationStructureInstanceFlagsNV")] + [NativeName("Name", "instanceFlags")] + public PartitionedAccelerationStructureInstanceFlagsNV InstanceFlags; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "instanceIndex")] + public uint InstanceIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "partitionIndex")] + public uint PartitionIndex; +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "accelerationStructure")] + public ulong AccelerationStructure; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWritePartitionTranslationDataNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWritePartitionTranslationDataNV.gen.cs new file mode 100644 index 0000000000..9375226b89 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PartitionedAccelerationStructureWritePartitionTranslationDataNV.gen.cs @@ -0,0 +1,44 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPartitionedAccelerationStructureWritePartitionTranslationDataNV")] + public unsafe partial struct PartitionedAccelerationStructureWritePartitionTranslationDataNV + { + public PartitionedAccelerationStructureWritePartitionTranslationDataNV + ( + uint? partitionIndex = null + ) : this() + { + if (partitionIndex is not null) + { + PartitionIndex = partitionIndex.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "partitionIndex")] + public uint PartitionIndex; + /// + [NativeName("Type", "float")] + [NativeName("Type.Name", "float")] + [NativeName("Name", "partitionTranslation")] + public fixed float PartitionTranslation[3]; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileBeginInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileBeginInfoQCOM.gen.cs new file mode 100644 index 0000000000..a9ae4dda1d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileBeginInfoQCOM.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPerTileBeginInfoQCOM")] + public unsafe partial struct PerTileBeginInfoQCOM : IChainable + { + public PerTileBeginInfoQCOM + ( + StructureType? sType = StructureType.PerTileBeginInfoQCom, + void* pNext = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PerTileBeginInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileEndInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileEndInfoQCOM.gen.cs new file mode 100644 index 0000000000..4e7d90bc1e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PerTileEndInfoQCOM.gen.cs @@ -0,0 +1,63 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPerTileEndInfoQCOM")] + public unsafe partial struct PerTileEndInfoQCOM : IChainable + { + public PerTileEndInfoQCOM + ( + StructureType? sType = StructureType.PerTileEndInfoQCom, + void* pNext = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PerTileEndInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructureFeaturesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructureFeaturesNV.gen.cs new file mode 100644 index 0000000000..524b8eeeaf --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructureFeaturesNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceClusterAccelerationStructureFeaturesNV")] + public unsafe partial struct PhysicalDeviceClusterAccelerationStructureFeaturesNV : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceClusterAccelerationStructureFeaturesNV + ( + StructureType? sType = StructureType.PhysicalDeviceClusterAccelerationStructureFeaturesNV, + void* pNext = null, + Bool32? clusterAccelerationStructure = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (clusterAccelerationStructure is not null) + { + ClusterAccelerationStructure = clusterAccelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "clusterAccelerationStructure")] + public Bool32 ClusterAccelerationStructure; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceClusterAccelerationStructureFeaturesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructurePropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructurePropertiesNV.gen.cs new file mode 100644 index 0000000000..529da98591 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceClusterAccelerationStructurePropertiesNV.gen.cs @@ -0,0 +1,151 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceClusterAccelerationStructurePropertiesNV")] + public unsafe partial struct PhysicalDeviceClusterAccelerationStructurePropertiesNV : IExtendsChain, IExtendsChain + { + public PhysicalDeviceClusterAccelerationStructurePropertiesNV + ( + StructureType? sType = StructureType.PhysicalDeviceClusterAccelerationStructurePropertiesNV, + void* pNext = null, + uint? maxVerticesPerCluster = null, + uint? maxTrianglesPerCluster = null, + uint? clusterScratchByteAlignment = null, + uint? clusterByteAlignment = null, + uint? clusterTemplateByteAlignment = null, + uint? clusterBottomLevelByteAlignment = null, + uint? clusterTemplateBoundsByteAlignment = null, + uint? maxClusterGeometryIndex = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxVerticesPerCluster is not null) + { + MaxVerticesPerCluster = maxVerticesPerCluster.Value; + } + + if (maxTrianglesPerCluster is not null) + { + MaxTrianglesPerCluster = maxTrianglesPerCluster.Value; + } + + if (clusterScratchByteAlignment is not null) + { + ClusterScratchByteAlignment = clusterScratchByteAlignment.Value; + } + + if (clusterByteAlignment is not null) + { + ClusterByteAlignment = clusterByteAlignment.Value; + } + + if (clusterTemplateByteAlignment is not null) + { + ClusterTemplateByteAlignment = clusterTemplateByteAlignment.Value; + } + + if (clusterBottomLevelByteAlignment is not null) + { + ClusterBottomLevelByteAlignment = clusterBottomLevelByteAlignment.Value; + } + + if (clusterTemplateBoundsByteAlignment is not null) + { + ClusterTemplateBoundsByteAlignment = clusterTemplateBoundsByteAlignment.Value; + } + + if (maxClusterGeometryIndex is not null) + { + MaxClusterGeometryIndex = maxClusterGeometryIndex.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxVerticesPerCluster")] + public uint MaxVerticesPerCluster; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTrianglesPerCluster")] + public uint MaxTrianglesPerCluster; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterScratchByteAlignment")] + public uint ClusterScratchByteAlignment; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterByteAlignment")] + public uint ClusterByteAlignment; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterTemplateByteAlignment")] + public uint ClusterTemplateByteAlignment; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterBottomLevelByteAlignment")] + public uint ClusterBottomLevelByteAlignment; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "clusterTemplateBoundsByteAlignment")] + public uint ClusterTemplateBoundsByteAlignment; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxClusterGeometryIndex")] + public uint MaxClusterGeometryIndex; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceClusterAccelerationStructurePropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorFeaturesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorFeaturesNV.gen.cs new file mode 100644 index 0000000000..20a8c7cd78 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorFeaturesNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceCooperativeVectorFeaturesNV")] + public unsafe partial struct PhysicalDeviceCooperativeVectorFeaturesNV : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceCooperativeVectorFeaturesNV + ( + StructureType? sType = StructureType.PhysicalDeviceCooperativeVectorFeaturesNV, + void* pNext = null, + Bool32? cooperativeVector = null, + Bool32? cooperativeVectorTraining = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (cooperativeVector is not null) + { + CooperativeVector = cooperativeVector.Value; + } + + if (cooperativeVectorTraining is not null) + { + CooperativeVectorTraining = cooperativeVectorTraining.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "cooperativeVector")] + public Bool32 CooperativeVector; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "cooperativeVectorTraining")] + public Bool32 CooperativeVectorTraining; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceCooperativeVectorFeaturesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorPropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorPropertiesNV.gen.cs new file mode 100644 index 0000000000..4c9edbbbc1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceCooperativeVectorPropertiesNV.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceCooperativeVectorPropertiesNV")] + public unsafe partial struct PhysicalDeviceCooperativeVectorPropertiesNV : IExtendsChain, IExtendsChain + { + public PhysicalDeviceCooperativeVectorPropertiesNV + ( + StructureType? sType = StructureType.PhysicalDeviceCooperativeVectorPropertiesNV, + void* pNext = null, + ShaderStageFlags? cooperativeVectorSupportedStages = null, + Bool32? cooperativeVectorTrainingFloat16Accumulation = null, + Bool32? cooperativeVectorTrainingFloat32Accumulation = null, + uint? maxCooperativeVectorComponents = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (cooperativeVectorSupportedStages is not null) + { + CooperativeVectorSupportedStages = cooperativeVectorSupportedStages.Value; + } + + if (cooperativeVectorTrainingFloat16Accumulation is not null) + { + CooperativeVectorTrainingFloat16Accumulation = cooperativeVectorTrainingFloat16Accumulation.Value; + } + + if (cooperativeVectorTrainingFloat32Accumulation is not null) + { + CooperativeVectorTrainingFloat32Accumulation = cooperativeVectorTrainingFloat32Accumulation.Value; + } + + if (maxCooperativeVectorComponents is not null) + { + MaxCooperativeVectorComponents = maxCooperativeVectorComponents.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkShaderStageFlags")] + [NativeName("Type.Name", "VkShaderStageFlags")] + [NativeName("Name", "cooperativeVectorSupportedStages")] + public ShaderStageFlags CooperativeVectorSupportedStages; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "cooperativeVectorTrainingFloat16Accumulation")] + public Bool32 CooperativeVectorTrainingFloat16Accumulation; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "cooperativeVectorTrainingFloat32Accumulation")] + public Bool32 CooperativeVectorTrainingFloat32Accumulation; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxCooperativeVectorComponents")] + public uint MaxCooperativeVectorComponents; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceCooperativeVectorPropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphFeaturesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphFeaturesARM.gen.cs new file mode 100644 index 0000000000..461f44ff6b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphFeaturesARM.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDataGraphFeaturesARM")] + public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceDataGraphFeaturesARM + ( + StructureType? sType = StructureType.PhysicalDeviceDataGraphFeaturesArm, + void* pNext = null, + Bool32? dataGraph = null, + Bool32? dataGraphUpdateAfterBind = null, + Bool32? dataGraphSpecializationConstants = null, + Bool32? dataGraphDescriptorBuffer = null, + Bool32? dataGraphShaderModule = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dataGraph is not null) + { + DataGraph = dataGraph.Value; + } + + if (dataGraphUpdateAfterBind is not null) + { + DataGraphUpdateAfterBind = dataGraphUpdateAfterBind.Value; + } + + if (dataGraphSpecializationConstants is not null) + { + DataGraphSpecializationConstants = dataGraphSpecializationConstants.Value; + } + + if (dataGraphDescriptorBuffer is not null) + { + DataGraphDescriptorBuffer = dataGraphDescriptorBuffer.Value; + } + + if (dataGraphShaderModule is not null) + { + DataGraphShaderModule = dataGraphShaderModule.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dataGraph")] + public Bool32 DataGraph; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dataGraphUpdateAfterBind")] + public Bool32 DataGraphUpdateAfterBind; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dataGraphSpecializationConstants")] + public Bool32 DataGraphSpecializationConstants; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dataGraphDescriptorBuffer")] + public Bool32 DataGraphDescriptorBuffer; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dataGraphShaderModule")] + public Bool32 DataGraphShaderModule; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDataGraphFeaturesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphOperationSupportARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphOperationSupportARM.gen.cs new file mode 100644 index 0000000000..493095c649 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphOperationSupportARM.gen.cs @@ -0,0 +1,55 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDataGraphOperationSupportARM")] + public unsafe partial struct PhysicalDeviceDataGraphOperationSupportARM + { + public PhysicalDeviceDataGraphOperationSupportARM + ( + PhysicalDeviceDataGraphOperationTypeARM? operationType = null, + uint? version = null + ) : this() + { + if (operationType is not null) + { + OperationType = operationType.Value; + } + + if (version is not null) + { + Version = version.Value; + } + } + +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphOperationTypeARM")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphOperationTypeARM")] + [NativeName("Name", "operationType")] + public PhysicalDeviceDataGraphOperationTypeARM OperationType; + /// + [NativeName("Type", "char")] + [NativeName("Type.Name", "char")] + [NativeName("Name", "name")] + public fixed byte Name[128]; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "version")] + public uint Version; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs new file mode 100644 index 0000000000..d00df79922 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDataGraphProcessingEngineARM")] + public unsafe partial struct PhysicalDeviceDataGraphProcessingEngineARM + { + public PhysicalDeviceDataGraphProcessingEngineARM + ( + PhysicalDeviceDataGraphProcessingEngineTypeARM? type = null, + Bool32? isForeign = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (isForeign is not null) + { + IsForeign = isForeign.Value; + } + } + +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphProcessingEngineTypeARM")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphProcessingEngineTypeARM")] + [NativeName("Name", "type")] + public PhysicalDeviceDataGraphProcessingEngineTypeARM Type; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "isForeign")] + public Bool32 IsForeign; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDenseGeometryFormatFeaturesAMDX.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDenseGeometryFormatFeaturesAMDX.gen.cs new file mode 100644 index 0000000000..fa01f54464 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDenseGeometryFormatFeaturesAMDX.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX")] + public unsafe partial struct PhysicalDeviceDenseGeometryFormatFeaturesAMDX : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceDenseGeometryFormatFeaturesAMDX + ( + StructureType? sType = StructureType.PhysicalDeviceDenseGeometryFormatFeaturesAmdx, + void* pNext = null, + Bool32? denseGeometryFormat = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (denseGeometryFormat is not null) + { + DenseGeometryFormat = denseGeometryFormat.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "denseGeometryFormat")] + public Bool32 DenseGeometryFormat; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDenseGeometryFormatFeaturesAmdx; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesEXT.gen.cs index ade6cf2ce2..4efedc6470 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceDepthClampZeroOneFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceDepthClampZeroOneFeaturesKHR")] public unsafe partial struct PhysicalDeviceDepthClampZeroOneFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceDepthClampZeroOneFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesExt, + StructureType? sType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesKhr, void* pNext = null, Bool32? depthClampZeroOne = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceDepthClampZeroOneFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesExt; + return SType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesKHR.gen.cs new file mode 100644 index 0000000000..9c7c3ff418 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDepthClampZeroOneFeaturesKHR.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDepthClampZeroOneFeaturesKHR")] + [NativeName("Aliases", "VkPhysicalDeviceDepthClampZeroOneFeaturesEXT")] + public unsafe partial struct PhysicalDeviceDepthClampZeroOneFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceDepthClampZeroOneFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesKhr, + void* pNext = null, + Bool32? depthClampZeroOne = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (depthClampZeroOne is not null) + { + DepthClampZeroOne = depthClampZeroOne.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "depthClampZeroOne")] + public Bool32 DepthClampZeroOne; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDepthClampZeroOneFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorFeaturesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorFeaturesARM.gen.cs new file mode 100644 index 0000000000..ffacac5171 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorFeaturesARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDescriptorBufferTensorFeaturesARM")] + public unsafe partial struct PhysicalDeviceDescriptorBufferTensorFeaturesARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceDescriptorBufferTensorFeaturesARM + ( + StructureType? sType = StructureType.PhysicalDeviceDescriptorBufferTensorFeaturesArm, + void* pNext = null, + Bool32? descriptorBufferTensorDescriptors = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (descriptorBufferTensorDescriptors is not null) + { + DescriptorBufferTensorDescriptors = descriptorBufferTensorDescriptors.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "descriptorBufferTensorDescriptors")] + public Bool32 DescriptorBufferTensorDescriptors; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDescriptorBufferTensorFeaturesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorPropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorPropertiesARM.gen.cs new file mode 100644 index 0000000000..19b01cca6e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDescriptorBufferTensorPropertiesARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDescriptorBufferTensorPropertiesARM")] + public unsafe partial struct PhysicalDeviceDescriptorBufferTensorPropertiesARM : IExtendsChain, IExtendsChain + { + public PhysicalDeviceDescriptorBufferTensorPropertiesARM + ( + StructureType? sType = StructureType.PhysicalDeviceDescriptorBufferTensorPropertiesArm, + void* pNext = null, + nuint? tensorCaptureReplayDescriptorDataSize = null, + nuint? tensorViewCaptureReplayDescriptorDataSize = null, + nuint? tensorDescriptorSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorCaptureReplayDescriptorDataSize is not null) + { + TensorCaptureReplayDescriptorDataSize = tensorCaptureReplayDescriptorDataSize.Value; + } + + if (tensorViewCaptureReplayDescriptorDataSize is not null) + { + TensorViewCaptureReplayDescriptorDataSize = tensorViewCaptureReplayDescriptorDataSize.Value; + } + + if (tensorDescriptorSize is not null) + { + TensorDescriptorSize = tensorDescriptorSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "tensorCaptureReplayDescriptorDataSize")] + public nuint TensorCaptureReplayDescriptorDataSize; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "tensorViewCaptureReplayDescriptorDataSize")] + public nuint TensorViewCaptureReplayDescriptorDataSize; +/// + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "tensorDescriptorSize")] + public nuint TensorDescriptorSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDescriptorBufferTensorPropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeatures.gen.cs new file mode 100644 index 0000000000..51ea576c77 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceDynamicRenderingLocalReadFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR")] + public unsafe partial struct PhysicalDeviceDynamicRenderingLocalReadFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceDynamicRenderingLocalReadFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeatures, + void* pNext = null, + Bool32? dynamicRenderingLocalRead = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dynamicRenderingLocalRead is not null) + { + DynamicRenderingLocalRead = dynamicRenderingLocalRead.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dynamicRenderingLocalRead")] + public Bool32 DynamicRenderingLocalRead; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR.gen.cs index 57029952a1..d00d1c79c2 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceDynamicRenderingLocalReadFeatures")] public unsafe partial struct PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeatures, void* pNext = null, Bool32? dynamicRenderingLocalRead = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeaturesKhr; + return SType = StructureType.PhysicalDeviceDynamicRenderingLocalReadFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalComputeQueuePropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalComputeQueuePropertiesNV.gen.cs new file mode 100644 index 0000000000..a318ae3849 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalComputeQueuePropertiesNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceExternalComputeQueuePropertiesNV")] + public unsafe partial struct PhysicalDeviceExternalComputeQueuePropertiesNV : IExtendsChain, IExtendsChain + { + public PhysicalDeviceExternalComputeQueuePropertiesNV + ( + StructureType? sType = StructureType.PhysicalDeviceExternalComputeQueuePropertiesNV, + void* pNext = null, + uint? externalDataSize = null, + uint? maxExternalQueues = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (externalDataSize is not null) + { + ExternalDataSize = externalDataSize.Value; + } + + if (maxExternalQueues is not null) + { + MaxExternalQueues = maxExternalQueues.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "externalDataSize")] + public uint ExternalDataSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxExternalQueues")] + public uint MaxExternalQueues; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceExternalComputeQueuePropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalTensorInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalTensorInfoARM.gen.cs new file mode 100644 index 0000000000..032a563775 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceExternalTensorInfoARM.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceExternalTensorInfoARM")] + public unsafe partial struct PhysicalDeviceExternalTensorInfoARM : IChainable + { + public PhysicalDeviceExternalTensorInfoARM + ( + StructureType? sType = StructureType.PhysicalDeviceExternalTensorInfoArm, + void* pNext = null, + TensorCreateFlagsARM? flags = null, + TensorDescriptionARM* pDescription = null, + ExternalMemoryHandleTypeFlags? handleType = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (pDescription is not null) + { + PDescription = pDescription; + } + + if (handleType is not null) + { + HandleType = handleType.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorCreateFlagsARM")] + [NativeName("Type.Name", "VkTensorCreateFlagsARM")] + [NativeName("Name", "flags")] + public TensorCreateFlagsARM Flags; +/// + [NativeName("Type", "VkTensorDescriptionARM*")] + [NativeName("Type.Name", "VkTensorDescriptionARM")] + [NativeName("Name", "pDescription")] + public TensorDescriptionARM* PDescription; +/// + [NativeName("Type", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Type.Name", "VkExternalMemoryHandleTypeFlagBits")] + [NativeName("Name", "handleType")] + public ExternalMemoryHandleTypeFlags HandleType; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceExternalTensorInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFormatPackFeaturesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFormatPackFeaturesARM.gen.cs new file mode 100644 index 0000000000..860344c037 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFormatPackFeaturesARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceFormatPackFeaturesARM")] + public unsafe partial struct PhysicalDeviceFormatPackFeaturesARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceFormatPackFeaturesARM + ( + StructureType? sType = StructureType.PhysicalDeviceFormatPackFeaturesArm, + void* pNext = null, + Bool32? formatPack = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (formatPack is not null) + { + FormatPack = formatPack.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "formatPack")] + public Bool32 FormatPack; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceFormatPackFeaturesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs new file mode 100644 index 0000000000..db102649b8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE")] + public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE + ( + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapLayeredFeaturesValve, + void* pNext = null, + Bool32? fragmentDensityMapLayered = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (fragmentDensityMapLayered is not null) + { + FragmentDensityMapLayered = fragmentDensityMapLayered.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "fragmentDensityMapLayered")] + public Bool32 FragmentDensityMapLayered; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceFragmentDensityMapLayeredFeaturesValve; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs new file mode 100644 index 0000000000..5710f0c3bc --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE")] + public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE : IExtendsChain, IExtendsChain + { + public PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE + ( + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapLayeredPropertiesValve, + void* pNext = null, + uint? maxFragmentDensityMapLayers = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxFragmentDensityMapLayers is not null) + { + MaxFragmentDensityMapLayers = maxFragmentDensityMapLayers.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxFragmentDensityMapLayers")] + public uint MaxFragmentDensityMapLayers; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceFragmentDensityMapLayeredPropertiesValve; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT.gen.cs new file mode 100644 index 0000000000..3b088bbe25 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT")] + [NativeName("Aliases", "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM")] + public unsafe partial struct PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT + ( + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesExt, + void* pNext = null, + Bool32? fragmentDensityMapOffset = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (fragmentDensityMapOffset is not null) + { + FragmentDensityMapOffset = fragmentDensityMapOffset.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "fragmentDensityMapOffset")] + public Bool32 FragmentDensityMapOffset; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.gen.cs index d4ef58389f..f2bbce3578 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM")] + [NativeName("AliasOf", "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT")] public unsafe partial struct PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM ( - StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesQCom, + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesExt, void* pNext = null, Bool32? fragmentDensityMapOffset = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesQCom; + return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetFeaturesExt; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT.gen.cs new file mode 100644 index 0000000000..60236e026f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapOffsetPropertiesEXT")] + [NativeName("Aliases", "VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM")] + public unsafe partial struct PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT : IExtendsChain, IExtendsChain + { + public PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT + ( + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesExt, + void* pNext = null, + Extent2D? fragmentDensityOffsetGranularity = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (fragmentDensityOffsetGranularity is not null) + { + FragmentDensityOffsetGranularity = fragmentDensityOffsetGranularity.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "fragmentDensityOffsetGranularity")] + public Extent2D FragmentDensityOffsetGranularity; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.gen.cs index 40ca77d86a..fc6c968fc7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM")] + [NativeName("AliasOf", "VkPhysicalDeviceFragmentDensityMapOffsetPropertiesEXT")] public unsafe partial struct PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM : IExtendsChain, IExtendsChain { public PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM ( - StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesQCom, + StructureType? sType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesExt, void* pNext = null, Extent2D? fragmentDensityOffsetGranularity = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesQCom; + return SType = StructureType.PhysicalDeviceFragmentDensityMapOffsetPropertiesExt; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeatures.gen.cs new file mode 100644 index 0000000000..8587c590e7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceGlobalPriorityQueryFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR, VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT")] + public unsafe partial struct PhysicalDeviceGlobalPriorityQueryFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceGlobalPriorityQueryFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures, + void* pNext = null, + Bool32? globalPriorityQuery = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (globalPriorityQuery is not null) + { + GlobalPriorityQuery = globalPriorityQuery.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "globalPriorityQuery")] + public Bool32 GlobalPriorityQuery; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesEXT.gen.cs index 9a7e10ead5..f9fd2452ca 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT")] - [NativeName("AliasOf", "VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceGlobalPriorityQueryFeatures")] public unsafe partial struct PhysicalDeviceGlobalPriorityQueryFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceGlobalPriorityQueryFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceGlobalPriorityQueryFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures, void* pNext = null, Bool32? globalPriorityQuery = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceGlobalPriorityQueryFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceGlobalPriorityQueryFeaturesKhr; + return SType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesKHR.gen.cs index ef8083f56f..413917c251 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGlobalPriorityQueryFeaturesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR")] - [NativeName("Aliases", "VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceGlobalPriorityQueryFeatures")] public unsafe partial struct PhysicalDeviceGlobalPriorityQueryFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceGlobalPriorityQueryFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceGlobalPriorityQueryFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures, void* pNext = null, Bool32? globalPriorityQuery = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceGlobalPriorityQueryFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceGlobalPriorityQueryFeaturesKhr; + return SType = StructureType.PhysicalDeviceGlobalPriorityQueryFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHdrVividFeaturesHUAWEI.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHdrVividFeaturesHUAWEI.gen.cs new file mode 100644 index 0000000000..729ab1df29 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHdrVividFeaturesHUAWEI.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceHdrVividFeaturesHUAWEI")] + public unsafe partial struct PhysicalDeviceHdrVividFeaturesHUAWEI : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceHdrVividFeaturesHUAWEI + ( + StructureType? sType = StructureType.PhysicalDeviceHdrVividFeaturesHuawei, + void* pNext = null, + Bool32? hdrVivid = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (hdrVivid is not null) + { + HdrVivid = hdrVivid.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "hdrVivid")] + public Bool32 HdrVivid; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceHdrVividFeaturesHuawei; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeatures.gen.cs new file mode 100644 index 0000000000..45cacc76c3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceHostImageCopyFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceHostImageCopyFeaturesEXT")] + public unsafe partial struct PhysicalDeviceHostImageCopyFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceHostImageCopyFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceHostImageCopyFeatures, + void* pNext = null, + Bool32? hostImageCopy = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (hostImageCopy is not null) + { + HostImageCopy = hostImageCopy.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "hostImageCopy")] + public Bool32 HostImageCopy; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceHostImageCopyFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeaturesEXT.gen.cs index c49fb92062..ffa2e9f294 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyFeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceHostImageCopyFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceHostImageCopyFeatures")] public unsafe partial struct PhysicalDeviceHostImageCopyFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceHostImageCopyFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceHostImageCopyFeaturesExt, + StructureType? sType = StructureType.PhysicalDeviceHostImageCopyFeatures, void* pNext = null, Bool32? hostImageCopy = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceHostImageCopyFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceHostImageCopyFeaturesExt; + return SType = StructureType.PhysicalDeviceHostImageCopyFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyProperties.gen.cs new file mode 100644 index 0000000000..4866321988 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyProperties.gen.cs @@ -0,0 +1,124 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceHostImageCopyProperties")] + [NativeName("Aliases", "VkPhysicalDeviceHostImageCopyPropertiesEXT")] + public unsafe partial struct PhysicalDeviceHostImageCopyProperties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceHostImageCopyProperties + ( + StructureType? sType = StructureType.PhysicalDeviceHostImageCopyProperties, + void* pNext = null, + uint? copySrcLayoutCount = null, + ImageLayout* pCopySrcLayouts = null, + uint? copyDstLayoutCount = null, + ImageLayout* pCopyDstLayouts = null, + Bool32? identicalMemoryTypeRequirements = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (copySrcLayoutCount is not null) + { + CopySrcLayoutCount = copySrcLayoutCount.Value; + } + + if (pCopySrcLayouts is not null) + { + PCopySrcLayouts = pCopySrcLayouts; + } + + if (copyDstLayoutCount is not null) + { + CopyDstLayoutCount = copyDstLayoutCount.Value; + } + + if (pCopyDstLayouts is not null) + { + PCopyDstLayouts = pCopyDstLayouts; + } + + if (identicalMemoryTypeRequirements is not null) + { + IdenticalMemoryTypeRequirements = identicalMemoryTypeRequirements.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "copySrcLayoutCount")] + public uint CopySrcLayoutCount; +/// + [NativeName("Type", "VkImageLayout*")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "pCopySrcLayouts")] + public ImageLayout* PCopySrcLayouts; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "copyDstLayoutCount")] + public uint CopyDstLayoutCount; +/// + [NativeName("Type", "VkImageLayout*")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "pCopyDstLayouts")] + public ImageLayout* PCopyDstLayouts; + /// + [NativeName("Type", "uint8_t")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "optimalTilingLayoutUUID")] + public fixed byte OptimalTilingLayoutUuid[16]; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "identicalMemoryTypeRequirements")] + public Bool32 IdenticalMemoryTypeRequirements; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceHostImageCopyProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyPropertiesEXT.gen.cs index 5e423b926e..8f16c80fc1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceHostImageCopyPropertiesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceHostImageCopyPropertiesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceHostImageCopyProperties")] public unsafe partial struct PhysicalDeviceHostImageCopyPropertiesEXT : IExtendsChain, IExtendsChain { public PhysicalDeviceHostImageCopyPropertiesEXT ( - StructureType? sType = StructureType.PhysicalDeviceHostImageCopyPropertiesExt, + StructureType? sType = StructureType.PhysicalDeviceHostImageCopyProperties, void* pNext = null, uint? copySrcLayoutCount = null, ImageLayout* pCopySrcLayouts = null, @@ -110,7 +111,7 @@ public PhysicalDeviceHostImageCopyPropertiesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceHostImageCopyPropertiesExt; + return SType = StructureType.PhysicalDeviceHostImageCopyProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8Features.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8Features.gen.cs new file mode 100644 index 0000000000..5ef4d8516e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8Features.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceIndexTypeUint8Features")] + [NativeName("Aliases", "VkPhysicalDeviceIndexTypeUint8FeaturesKHR, VkPhysicalDeviceIndexTypeUint8FeaturesEXT")] + public unsafe partial struct PhysicalDeviceIndexTypeUint8Features : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceIndexTypeUint8Features + ( + StructureType? sType = StructureType.PhysicalDeviceIndexTypeUint8Features, + void* pNext = null, + Bool32? indexTypeUint8 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (indexTypeUint8 is not null) + { + IndexTypeUint8 = indexTypeUint8.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "indexTypeUint8")] + public Bool32 IndexTypeUint8; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceIndexTypeUint8Features; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesEXT.gen.cs index 144cd7095f..38b2db0d69 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceIndexTypeUint8FeaturesEXT")] - [NativeName("AliasOf", "VkPhysicalDeviceIndexTypeUint8FeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceIndexTypeUint8Features")] public unsafe partial struct PhysicalDeviceIndexTypeUint8FeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceIndexTypeUint8FeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceIndexTypeUint8Features, void* pNext = null, Bool32? indexTypeUint8 = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceIndexTypeUint8FeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesKhr; + return SType = StructureType.PhysicalDeviceIndexTypeUint8Features; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesKHR.gen.cs index 315834400b..c30418dbca 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceIndexTypeUint8FeaturesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceIndexTypeUint8FeaturesKHR")] - [NativeName("Aliases", "VkPhysicalDeviceIndexTypeUint8FeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceIndexTypeUint8Features")] public unsafe partial struct PhysicalDeviceIndexTypeUint8FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceIndexTypeUint8FeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceIndexTypeUint8Features, void* pNext = null, Bool32? indexTypeUint8 = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceIndexTypeUint8FeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesKhr; + return SType = StructureType.PhysicalDeviceIndexTypeUint8Features; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeatures.gen.cs new file mode 100644 index 0000000000..683b71ee54 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeatures.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceLineRasterizationFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceLineRasterizationFeaturesKHR, VkPhysicalDeviceLineRasterizationFeaturesEXT")] + public unsafe partial struct PhysicalDeviceLineRasterizationFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceLineRasterizationFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationFeatures, + void* pNext = null, + Bool32? rectangularLines = null, + Bool32? bresenhamLines = null, + Bool32? smoothLines = null, + Bool32? stippledRectangularLines = null, + Bool32? stippledBresenhamLines = null, + Bool32? stippledSmoothLines = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (rectangularLines is not null) + { + RectangularLines = rectangularLines.Value; + } + + if (bresenhamLines is not null) + { + BresenhamLines = bresenhamLines.Value; + } + + if (smoothLines is not null) + { + SmoothLines = smoothLines.Value; + } + + if (stippledRectangularLines is not null) + { + StippledRectangularLines = stippledRectangularLines.Value; + } + + if (stippledBresenhamLines is not null) + { + StippledBresenhamLines = stippledBresenhamLines.Value; + } + + if (stippledSmoothLines is not null) + { + StippledSmoothLines = stippledSmoothLines.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "rectangularLines")] + public Bool32 RectangularLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "bresenhamLines")] + public Bool32 BresenhamLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "smoothLines")] + public Bool32 SmoothLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledRectangularLines")] + public Bool32 StippledRectangularLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledBresenhamLines")] + public Bool32 StippledBresenhamLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledSmoothLines")] + public Bool32 StippledSmoothLines; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceLineRasterizationFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesEXT.gen.cs index 3f85f61577..125db69db3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceLineRasterizationFeaturesEXT")] - [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationFeatures")] public unsafe partial struct PhysicalDeviceLineRasterizationFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceLineRasterizationFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceLineRasterizationFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationFeatures, void* pNext = null, Bool32? rectangularLines = null, Bool32? bresenhamLines = null, @@ -117,7 +117,7 @@ public PhysicalDeviceLineRasterizationFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceLineRasterizationFeaturesKhr; + return SType = StructureType.PhysicalDeviceLineRasterizationFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesKHR.gen.cs index 5c1ea6f3a4..2611c65de0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationFeaturesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceLineRasterizationFeaturesKHR")] - [NativeName("Aliases", "VkPhysicalDeviceLineRasterizationFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationFeatures")] public unsafe partial struct PhysicalDeviceLineRasterizationFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceLineRasterizationFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceLineRasterizationFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationFeatures, void* pNext = null, Bool32? rectangularLines = null, Bool32? bresenhamLines = null, @@ -117,7 +117,7 @@ public PhysicalDeviceLineRasterizationFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceLineRasterizationFeaturesKhr; + return SType = StructureType.PhysicalDeviceLineRasterizationFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationProperties.gen.cs new file mode 100644 index 0000000000..2b73cc613e --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationProperties.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceLineRasterizationProperties")] + [NativeName("Aliases", "VkPhysicalDeviceLineRasterizationPropertiesKHR, VkPhysicalDeviceLineRasterizationPropertiesEXT")] + public unsafe partial struct PhysicalDeviceLineRasterizationProperties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceLineRasterizationProperties + ( + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationProperties, + void* pNext = null, + uint? lineSubPixelPrecisionBits = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (lineSubPixelPrecisionBits is not null) + { + LineSubPixelPrecisionBits = lineSubPixelPrecisionBits.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "lineSubPixelPrecisionBits")] + public uint LineSubPixelPrecisionBits; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceLineRasterizationProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesEXT.gen.cs index 159624e40a..3a792c71ff 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceLineRasterizationPropertiesEXT")] - [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationPropertiesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationProperties")] public unsafe partial struct PhysicalDeviceLineRasterizationPropertiesEXT : IExtendsChain, IExtendsChain { public PhysicalDeviceLineRasterizationPropertiesEXT ( - StructureType? sType = StructureType.PhysicalDeviceLineRasterizationPropertiesKhr, + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationProperties, void* pNext = null, uint? lineSubPixelPrecisionBits = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceLineRasterizationPropertiesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceLineRasterizationPropertiesKhr; + return SType = StructureType.PhysicalDeviceLineRasterizationProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesKHR.gen.cs index 7b9dd765f9..87a70fbccb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLineRasterizationPropertiesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceLineRasterizationPropertiesKHR")] - [NativeName("Aliases", "VkPhysicalDeviceLineRasterizationPropertiesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceLineRasterizationProperties")] public unsafe partial struct PhysicalDeviceLineRasterizationPropertiesKHR : IExtendsChain, IExtendsChain { public PhysicalDeviceLineRasterizationPropertiesKHR ( - StructureType? sType = StructureType.PhysicalDeviceLineRasterizationPropertiesKhr, + StructureType? sType = StructureType.PhysicalDeviceLineRasterizationProperties, void* pNext = null, uint? lineSubPixelPrecisionBits = null ) : this() @@ -62,7 +62,7 @@ public PhysicalDeviceLineRasterizationPropertiesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceLineRasterizationPropertiesKhr; + return SType = StructureType.PhysicalDeviceLineRasterizationProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Features.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Features.gen.cs new file mode 100644 index 0000000000..f004f5ed8f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Features.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance5Features")] + [NativeName("Aliases", "VkPhysicalDeviceMaintenance5FeaturesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance5Features : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance5Features + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance5Features, + void* pNext = null, + Bool32? maintenance5 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maintenance5 is not null) + { + Maintenance5 = maintenance5.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance5")] + public Bool32 Maintenance5; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance5Features; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5FeaturesKHR.gen.cs index 8f692c4ad6..4238ae3394 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5FeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5FeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceMaintenance5FeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceMaintenance5Features")] public unsafe partial struct PhysicalDeviceMaintenance5FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceMaintenance5FeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceMaintenance5FeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceMaintenance5Features, void* pNext = null, Bool32? maintenance5 = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceMaintenance5FeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceMaintenance5FeaturesKhr; + return SType = StructureType.PhysicalDeviceMaintenance5Features; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Properties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Properties.gen.cs new file mode 100644 index 0000000000..e1902457d0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5Properties.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance5Properties")] + [NativeName("Aliases", "VkPhysicalDeviceMaintenance5PropertiesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance5Properties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance5Properties + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance5Properties, + void* pNext = null, + Bool32? earlyFragmentMultisampleCoverageAfterSampleCounting = null, + Bool32? earlyFragmentSampleMaskTestBeforeSampleCounting = null, + Bool32? depthStencilSwizzleOneSupport = null, + Bool32? polygonModePointSize = null, + Bool32? nonStrictSinglePixelWideLinesUseParallelogram = null, + Bool32? nonStrictWideLinesUseParallelogram = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (earlyFragmentMultisampleCoverageAfterSampleCounting is not null) + { + EarlyFragmentMultisampleCoverageAfterSampleCounting = earlyFragmentMultisampleCoverageAfterSampleCounting.Value; + } + + if (earlyFragmentSampleMaskTestBeforeSampleCounting is not null) + { + EarlyFragmentSampleMaskTestBeforeSampleCounting = earlyFragmentSampleMaskTestBeforeSampleCounting.Value; + } + + if (depthStencilSwizzleOneSupport is not null) + { + DepthStencilSwizzleOneSupport = depthStencilSwizzleOneSupport.Value; + } + + if (polygonModePointSize is not null) + { + PolygonModePointSize = polygonModePointSize.Value; + } + + if (nonStrictSinglePixelWideLinesUseParallelogram is not null) + { + NonStrictSinglePixelWideLinesUseParallelogram = nonStrictSinglePixelWideLinesUseParallelogram.Value; + } + + if (nonStrictWideLinesUseParallelogram is not null) + { + NonStrictWideLinesUseParallelogram = nonStrictWideLinesUseParallelogram.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "earlyFragmentMultisampleCoverageAfterSampleCounting")] + public Bool32 EarlyFragmentMultisampleCoverageAfterSampleCounting; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "earlyFragmentSampleMaskTestBeforeSampleCounting")] + public Bool32 EarlyFragmentSampleMaskTestBeforeSampleCounting; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "depthStencilSwizzleOneSupport")] + public Bool32 DepthStencilSwizzleOneSupport; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "polygonModePointSize")] + public Bool32 PolygonModePointSize; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nonStrictSinglePixelWideLinesUseParallelogram")] + public Bool32 NonStrictSinglePixelWideLinesUseParallelogram; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nonStrictWideLinesUseParallelogram")] + public Bool32 NonStrictWideLinesUseParallelogram; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance5Properties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5PropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5PropertiesKHR.gen.cs index 7df318ec05..232fa7da41 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5PropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance5PropertiesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceMaintenance5PropertiesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceMaintenance5Properties")] public unsafe partial struct PhysicalDeviceMaintenance5PropertiesKHR : IExtendsChain, IExtendsChain { public PhysicalDeviceMaintenance5PropertiesKHR ( - StructureType? sType = StructureType.PhysicalDeviceMaintenance5PropertiesKhr, + StructureType? sType = StructureType.PhysicalDeviceMaintenance5Properties, void* pNext = null, Bool32? earlyFragmentMultisampleCoverageAfterSampleCounting = null, Bool32? earlyFragmentSampleMaskTestBeforeSampleCounting = null, @@ -116,7 +117,7 @@ public PhysicalDeviceMaintenance5PropertiesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceMaintenance5PropertiesKhr; + return SType = StructureType.PhysicalDeviceMaintenance5Properties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Features.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Features.gen.cs new file mode 100644 index 0000000000..8f5be5f67d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Features.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance6Features")] + [NativeName("Aliases", "VkPhysicalDeviceMaintenance6FeaturesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance6Features : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance6Features + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance6Features, + void* pNext = null, + Bool32? maintenance6 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maintenance6 is not null) + { + Maintenance6 = maintenance6.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance6")] + public Bool32 Maintenance6; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance6Features; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6FeaturesKHR.gen.cs index bf1b893712..767427e28b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6FeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6FeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceMaintenance6FeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceMaintenance6Features")] public unsafe partial struct PhysicalDeviceMaintenance6FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceMaintenance6FeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceMaintenance6FeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceMaintenance6Features, void* pNext = null, Bool32? maintenance6 = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceMaintenance6FeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceMaintenance6FeaturesKhr; + return SType = StructureType.PhysicalDeviceMaintenance6Features; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Properties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Properties.gen.cs new file mode 100644 index 0000000000..f55689ca78 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6Properties.gen.cs @@ -0,0 +1,97 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance6Properties")] + [NativeName("Aliases", "VkPhysicalDeviceMaintenance6PropertiesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance6Properties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance6Properties + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance6Properties, + void* pNext = null, + Bool32? blockTexelViewCompatibleMultipleLayers = null, + uint? maxCombinedImageSamplerDescriptorCount = null, + Bool32? fragmentShadingRateClampCombinerInputs = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (blockTexelViewCompatibleMultipleLayers is not null) + { + BlockTexelViewCompatibleMultipleLayers = blockTexelViewCompatibleMultipleLayers.Value; + } + + if (maxCombinedImageSamplerDescriptorCount is not null) + { + MaxCombinedImageSamplerDescriptorCount = maxCombinedImageSamplerDescriptorCount.Value; + } + + if (fragmentShadingRateClampCombinerInputs is not null) + { + FragmentShadingRateClampCombinerInputs = fragmentShadingRateClampCombinerInputs.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "blockTexelViewCompatibleMultipleLayers")] + public Bool32 BlockTexelViewCompatibleMultipleLayers; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxCombinedImageSamplerDescriptorCount")] + public uint MaxCombinedImageSamplerDescriptorCount; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "fragmentShadingRateClampCombinerInputs")] + public Bool32 FragmentShadingRateClampCombinerInputs; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance6Properties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6PropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6PropertiesKHR.gen.cs index 18878c7399..38fb9dab65 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6PropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance6PropertiesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceMaintenance6PropertiesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceMaintenance6Properties")] public unsafe partial struct PhysicalDeviceMaintenance6PropertiesKHR : IExtendsChain, IExtendsChain { public PhysicalDeviceMaintenance6PropertiesKHR ( - StructureType? sType = StructureType.PhysicalDeviceMaintenance6PropertiesKhr, + StructureType? sType = StructureType.PhysicalDeviceMaintenance6Properties, void* pNext = null, Bool32? blockTexelViewCompatibleMultipleLayers = null, uint? maxCombinedImageSamplerDescriptorCount = null, @@ -83,7 +84,7 @@ public PhysicalDeviceMaintenance6PropertiesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceMaintenance6PropertiesKhr; + return SType = StructureType.PhysicalDeviceMaintenance6Properties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance8FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance8FeaturesKHR.gen.cs new file mode 100644 index 0000000000..95049b4472 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance8FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance8FeaturesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance8FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance8FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance8FeaturesKhr, + void* pNext = null, + Bool32? maintenance8 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maintenance8 is not null) + { + Maintenance8 = maintenance8.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance8")] + public Bool32 Maintenance8; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance8FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9FeaturesKHR.gen.cs new file mode 100644 index 0000000000..bfc93291dd --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance9FeaturesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance9FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance9FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance9FeaturesKhr, + void* pNext = null, + Bool32? maintenance9 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maintenance9 is not null) + { + Maintenance9 = maintenance9.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance9")] + public Bool32 Maintenance9; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance9FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9PropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9PropertiesKHR.gen.cs new file mode 100644 index 0000000000..fe743b4e1f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMaintenance9PropertiesKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceMaintenance9PropertiesKHR")] + public unsafe partial struct PhysicalDeviceMaintenance9PropertiesKHR : IExtendsChain, IExtendsChain + { + public PhysicalDeviceMaintenance9PropertiesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceMaintenance9PropertiesKhr, + void* pNext = null, + Bool32? image2DViewOf3DSparse = null, + DefaultVertexAttributeValueKHR? defaultVertexAttributeValue = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (image2DViewOf3DSparse is not null) + { + Image2DViewOf3DSparse = image2DViewOf3DSparse.Value; + } + + if (defaultVertexAttributeValue is not null) + { + DefaultVertexAttributeValue = defaultVertexAttributeValue.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "image2DViewOf3DSparse")] + public Bool32 Image2DViewOf3DSparse; +/// + [NativeName("Type", "VkDefaultVertexAttributeValueKHR")] + [NativeName("Type.Name", "VkDefaultVertexAttributeValueKHR")] + [NativeName("Name", "defaultVertexAttributeValue")] + public DefaultVertexAttributeValueKHR DefaultVertexAttributeValue; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceMaintenance9PropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructureFeaturesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructureFeaturesNV.gen.cs new file mode 100644 index 0000000000..c353d6afd1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructureFeaturesNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV")] + public unsafe partial struct PhysicalDevicePartitionedAccelerationStructureFeaturesNV : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePartitionedAccelerationStructureFeaturesNV + ( + StructureType? sType = StructureType.PhysicalDevicePartitionedAccelerationStructureFeaturesNV, + void* pNext = null, + Bool32? partitionedAccelerationStructure = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (partitionedAccelerationStructure is not null) + { + PartitionedAccelerationStructure = partitionedAccelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "partitionedAccelerationStructure")] + public Bool32 PartitionedAccelerationStructure; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePartitionedAccelerationStructureFeaturesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructurePropertiesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructurePropertiesNV.gen.cs new file mode 100644 index 0000000000..b7454a0d7a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePartitionedAccelerationStructurePropertiesNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePartitionedAccelerationStructurePropertiesNV")] + public unsafe partial struct PhysicalDevicePartitionedAccelerationStructurePropertiesNV : IExtendsChain, IExtendsChain + { + public PhysicalDevicePartitionedAccelerationStructurePropertiesNV + ( + StructureType? sType = StructureType.PhysicalDevicePartitionedAccelerationStructurePropertiesNV, + void* pNext = null, + uint? maxPartitionCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxPartitionCount is not null) + { + MaxPartitionCount = maxPartitionCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPartitionCount")] + public uint MaxPartitionCount; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePartitionedAccelerationStructurePropertiesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineCacheIncrementalModeFeaturesSEC.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineCacheIncrementalModeFeaturesSEC.gen.cs new file mode 100644 index 0000000000..306a62aebe --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineCacheIncrementalModeFeaturesSEC.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC")] + public unsafe partial struct PhysicalDevicePipelineCacheIncrementalModeFeaturesSEC : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePipelineCacheIncrementalModeFeaturesSEC + ( + StructureType? sType = StructureType.PhysicalDevicePipelineCacheIncrementalModeFeaturesSec, + void* pNext = null, + Bool32? pipelineCacheIncrementalMode = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pipelineCacheIncrementalMode is not null) + { + PipelineCacheIncrementalMode = pipelineCacheIncrementalMode.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineCacheIncrementalMode")] + public Bool32 PipelineCacheIncrementalMode; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePipelineCacheIncrementalModeFeaturesSec; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineOpacityMicromapFeaturesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineOpacityMicromapFeaturesARM.gen.cs new file mode 100644 index 0000000000..e6d0b61886 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineOpacityMicromapFeaturesARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePipelineOpacityMicromapFeaturesARM")] + public unsafe partial struct PhysicalDevicePipelineOpacityMicromapFeaturesARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePipelineOpacityMicromapFeaturesARM + ( + StructureType? sType = StructureType.PhysicalDevicePipelineOpacityMicromapFeaturesArm, + void* pNext = null, + Bool32? pipelineOpacityMicromap = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pipelineOpacityMicromap is not null) + { + PipelineOpacityMicromap = pipelineOpacityMicromap.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineOpacityMicromap")] + public Bool32 PipelineOpacityMicromap; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePipelineOpacityMicromapFeaturesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeatures.gen.cs new file mode 100644 index 0000000000..e365fdc8b4 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePipelineProtectedAccessFeatures")] + [NativeName("Aliases", "VkPhysicalDevicePipelineProtectedAccessFeaturesEXT")] + public unsafe partial struct PhysicalDevicePipelineProtectedAccessFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePipelineProtectedAccessFeatures + ( + StructureType? sType = StructureType.PhysicalDevicePipelineProtectedAccessFeatures, + void* pNext = null, + Bool32? pipelineProtectedAccess = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pipelineProtectedAccess is not null) + { + PipelineProtectedAccess = pipelineProtectedAccess.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineProtectedAccess")] + public Bool32 PipelineProtectedAccess; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePipelineProtectedAccessFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeaturesEXT.gen.cs index cc8dc7ea12..d7ed15b1df 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineProtectedAccessFeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDevicePipelineProtectedAccessFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDevicePipelineProtectedAccessFeatures")] public unsafe partial struct PhysicalDevicePipelineProtectedAccessFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDevicePipelineProtectedAccessFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDevicePipelineProtectedAccessFeaturesExt, + StructureType? sType = StructureType.PhysicalDevicePipelineProtectedAccessFeatures, void* pNext = null, Bool32? pipelineProtectedAccess = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDevicePipelineProtectedAccessFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDevicePipelineProtectedAccessFeaturesExt; + return SType = StructureType.PhysicalDevicePipelineProtectedAccessFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeatures.gen.cs new file mode 100644 index 0000000000..d0a753b9b0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePipelineRobustnessFeatures")] + [NativeName("Aliases", "VkPhysicalDevicePipelineRobustnessFeaturesEXT")] + public unsafe partial struct PhysicalDevicePipelineRobustnessFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePipelineRobustnessFeatures + ( + StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessFeatures, + void* pNext = null, + Bool32? pipelineRobustness = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pipelineRobustness is not null) + { + PipelineRobustness = pipelineRobustness.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineRobustness")] + public Bool32 PipelineRobustness; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePipelineRobustnessFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeaturesEXT.gen.cs index fe3b20812e..45c4467357 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessFeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDevicePipelineRobustnessFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDevicePipelineRobustnessFeatures")] public unsafe partial struct PhysicalDevicePipelineRobustnessFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDevicePipelineRobustnessFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessFeaturesExt, + StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessFeatures, void* pNext = null, Bool32? pipelineRobustness = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDevicePipelineRobustnessFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDevicePipelineRobustnessFeaturesExt; + return SType = StructureType.PhysicalDevicePipelineRobustnessFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessProperties.gen.cs new file mode 100644 index 0000000000..4dfd68b1d0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessProperties.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePipelineRobustnessProperties")] + [NativeName("Aliases", "VkPhysicalDevicePipelineRobustnessPropertiesEXT")] + public unsafe partial struct PhysicalDevicePipelineRobustnessProperties : IExtendsChain, IExtendsChain + { + public PhysicalDevicePipelineRobustnessProperties + ( + StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessProperties, + void* pNext = null, + PipelineRobustnessBufferBehavior? defaultRobustnessStorageBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessUniformBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessVertexInputs = null, + PipelineRobustnessImageBehavior? defaultRobustnessImages = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (defaultRobustnessStorageBuffers is not null) + { + DefaultRobustnessStorageBuffers = defaultRobustnessStorageBuffers.Value; + } + + if (defaultRobustnessUniformBuffers is not null) + { + DefaultRobustnessUniformBuffers = defaultRobustnessUniformBuffers.Value; + } + + if (defaultRobustnessVertexInputs is not null) + { + DefaultRobustnessVertexInputs = defaultRobustnessVertexInputs.Value; + } + + if (defaultRobustnessImages is not null) + { + DefaultRobustnessImages = defaultRobustnessImages.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessStorageBuffers")] + public PipelineRobustnessBufferBehavior DefaultRobustnessStorageBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessUniformBuffers")] + public PipelineRobustnessBufferBehavior DefaultRobustnessUniformBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessVertexInputs")] + public PipelineRobustnessBufferBehavior DefaultRobustnessVertexInputs; +/// + [NativeName("Type", "VkPipelineRobustnessImageBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessImageBehavior")] + [NativeName("Name", "defaultRobustnessImages")] + public PipelineRobustnessImageBehavior DefaultRobustnessImages; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePipelineRobustnessProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessPropertiesEXT.gen.cs index 6c7e527ac8..3d1f50a6b8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePipelineRobustnessPropertiesEXT.gen.cs @@ -17,16 +17,17 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDevicePipelineRobustnessPropertiesEXT")] + [NativeName("AliasOf", "VkPhysicalDevicePipelineRobustnessProperties")] public unsafe partial struct PhysicalDevicePipelineRobustnessPropertiesEXT : IExtendsChain, IExtendsChain { public PhysicalDevicePipelineRobustnessPropertiesEXT ( - StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessPropertiesExt, + StructureType? sType = StructureType.PhysicalDevicePipelineRobustnessProperties, void* pNext = null, - PipelineRobustnessBufferBehaviorEXT? defaultRobustnessStorageBuffers = null, - PipelineRobustnessBufferBehaviorEXT? defaultRobustnessUniformBuffers = null, - PipelineRobustnessBufferBehaviorEXT? defaultRobustnessVertexInputs = null, - PipelineRobustnessImageBehaviorEXT? defaultRobustnessImages = null + PipelineRobustnessBufferBehavior? defaultRobustnessStorageBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessUniformBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessVertexInputs = null, + PipelineRobustnessImageBehavior? defaultRobustnessImages = null ) : this() { if (sType is not null) @@ -71,30 +72,30 @@ public PhysicalDevicePipelineRobustnessPropertiesEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "defaultRobustnessStorageBuffers")] - public PipelineRobustnessBufferBehaviorEXT DefaultRobustnessStorageBuffers; + public PipelineRobustnessBufferBehavior DefaultRobustnessStorageBuffers; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "defaultRobustnessUniformBuffers")] - public PipelineRobustnessBufferBehaviorEXT DefaultRobustnessUniformBuffers; + public PipelineRobustnessBufferBehavior DefaultRobustnessUniformBuffers; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "defaultRobustnessVertexInputs")] - public PipelineRobustnessBufferBehaviorEXT DefaultRobustnessVertexInputs; + public PipelineRobustnessBufferBehavior DefaultRobustnessVertexInputs; /// - [NativeName("Type", "VkPipelineRobustnessImageBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessImageBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessImageBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessImageBehavior")] [NativeName("Name", "defaultRobustnessImages")] - public PipelineRobustnessImageBehaviorEXT DefaultRobustnessImages; + public PipelineRobustnessImageBehavior DefaultRobustnessImages; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDevicePipelineRobustnessPropertiesExt; + return SType = StructureType.PhysicalDevicePipelineRobustnessProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentId2FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentId2FeaturesKHR.gen.cs new file mode 100644 index 0000000000..f1d0d6287a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentId2FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePresentId2FeaturesKHR")] + public unsafe partial struct PhysicalDevicePresentId2FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePresentId2FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDevicePresentID2FeaturesKhr, + void* pNext = null, + Bool32? presentId2 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentId2 is not null) + { + PresentId2 = presentId2.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentId2")] + public Bool32 PresentId2; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePresentID2FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentMeteringFeaturesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentMeteringFeaturesNV.gen.cs new file mode 100644 index 0000000000..4ba8ce8c2b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentMeteringFeaturesNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePresentMeteringFeaturesNV")] + public unsafe partial struct PhysicalDevicePresentMeteringFeaturesNV : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePresentMeteringFeaturesNV + ( + StructureType? sType = StructureType.PhysicalDevicePresentMeteringFeaturesNV, + void* pNext = null, + Bool32? presentMetering = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentMetering is not null) + { + PresentMetering = presentMetering.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentMetering")] + public Bool32 PresentMetering; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePresentMeteringFeaturesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.gen.cs index 8a0aa9ca56..4cd482c146 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR")] public unsafe partial struct PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesExt, + StructureType? sType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesKhr, void* pNext = null, Bool32? presentModeFifoLatestReady = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesExt; + return SType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR.gen.cs new file mode 100644 index 0000000000..6f0a1b29d6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR")] + [NativeName("Aliases", "VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT")] + public unsafe partial struct PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesKhr, + void* pNext = null, + Bool32? presentModeFifoLatestReady = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentModeFifoLatestReady is not null) + { + PresentModeFifoLatestReady = presentModeFifoLatestReady.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentModeFifoLatestReady")] + public Bool32 PresentModeFifoLatestReady; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePresentModeFifoLatestReadyFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentWait2FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentWait2FeaturesKHR.gen.cs new file mode 100644 index 0000000000..64502a5ad3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePresentWait2FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePresentWait2FeaturesKHR")] + public unsafe partial struct PhysicalDevicePresentWait2FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDevicePresentWait2FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDevicePresentWait2FeaturesKhr, + void* pNext = null, + Bool32? presentWait2 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentWait2 is not null) + { + PresentWait2 = presentWait2.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentWait2")] + public Bool32 PresentWait2; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePresentWait2FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorProperties.gen.cs new file mode 100644 index 0000000000..72deb02c25 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorProperties.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePushDescriptorProperties")] + [NativeName("Aliases", "VkPhysicalDevicePushDescriptorPropertiesKHR")] + public unsafe partial struct PhysicalDevicePushDescriptorProperties : IExtendsChain, IExtendsChain + { + public PhysicalDevicePushDescriptorProperties + ( + StructureType? sType = StructureType.PhysicalDevicePushDescriptorProperties, + void* pNext = null, + uint? maxPushDescriptors = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxPushDescriptors is not null) + { + MaxPushDescriptors = maxPushDescriptors.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPushDescriptors")] + public uint MaxPushDescriptors; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDevicePushDescriptorProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorPropertiesKHR.gen.cs index fe1bc5a4d9..b0b035dc03 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePushDescriptorPropertiesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDevicePushDescriptorPropertiesKHR")] + [NativeName("AliasOf", "VkPhysicalDevicePushDescriptorProperties")] public unsafe partial struct PhysicalDevicePushDescriptorPropertiesKHR : IExtendsChain, IExtendsChain { public PhysicalDevicePushDescriptorPropertiesKHR ( - StructureType? sType = StructureType.PhysicalDevicePushDescriptorPropertiesKhr, + StructureType? sType = StructureType.PhysicalDevicePushDescriptorProperties, void* pNext = null, uint? maxPushDescriptors = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDevicePushDescriptorPropertiesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDevicePushDescriptorPropertiesKhr; + return SType = StructureType.PhysicalDevicePushDescriptorProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs new file mode 100644 index 0000000000..ae932b5c60 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM")] + public unsafe partial struct PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM : IChainable + { + public PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM + ( + StructureType? sType = StructureType.PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoArm, + void* pNext = null, + uint? queueFamilyIndex = null, + PhysicalDeviceDataGraphProcessingEngineTypeARM? engineType = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (queueFamilyIndex is not null) + { + QueueFamilyIndex = queueFamilyIndex.Value; + } + + if (engineType is not null) + { + EngineType = engineType.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "queueFamilyIndex")] + public uint QueueFamilyIndex; +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphProcessingEngineTypeARM")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphProcessingEngineTypeARM")] + [NativeName("Name", "engineType")] + public PhysicalDeviceDataGraphProcessingEngineTypeARM EngineType; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV.gen.cs new file mode 100644 index 0000000000..beaa0d2cdc --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV")] + public unsafe partial struct PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV + ( + StructureType? sType = StructureType.PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV, + void* pNext = null, + Bool32? spheres = null, + Bool32? linearSweptSpheres = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (spheres is not null) + { + Spheres = spheres.Value; + } + + if (linearSweptSpheres is not null) + { + LinearSweptSpheres = linearSweptSpheres.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "spheres")] + public Bool32 Spheres; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "linearSweptSpheres")] + public Bool32 LinearSweptSpheres; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesEXT.gen.cs index 580bc836a3..8c66b416fb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceRobustness2FeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceRobustness2FeaturesKHR")] public unsafe partial struct PhysicalDeviceRobustness2FeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceRobustness2FeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceRobustness2FeaturesExt, + StructureType? sType = StructureType.PhysicalDeviceRobustness2FeaturesKhr, void* pNext = null, Bool32? robustBufferAccess2 = null, Bool32? robustImageAccess2 = null, @@ -83,7 +84,7 @@ public PhysicalDeviceRobustness2FeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceRobustness2FeaturesExt; + return SType = StructureType.PhysicalDeviceRobustness2FeaturesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesKHR.gen.cs new file mode 100644 index 0000000000..92cebc7df6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2FeaturesKHR.gen.cs @@ -0,0 +1,97 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceRobustness2FeaturesKHR")] + [NativeName("Aliases", "VkPhysicalDeviceRobustness2FeaturesEXT")] + public unsafe partial struct PhysicalDeviceRobustness2FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceRobustness2FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceRobustness2FeaturesKhr, + void* pNext = null, + Bool32? robustBufferAccess2 = null, + Bool32? robustImageAccess2 = null, + Bool32? nullDescriptor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (robustBufferAccess2 is not null) + { + RobustBufferAccess2 = robustBufferAccess2.Value; + } + + if (robustImageAccess2 is not null) + { + RobustImageAccess2 = robustImageAccess2.Value; + } + + if (nullDescriptor is not null) + { + NullDescriptor = nullDescriptor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "robustBufferAccess2")] + public Bool32 RobustBufferAccess2; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "robustImageAccess2")] + public Bool32 RobustImageAccess2; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nullDescriptor")] + public Bool32 NullDescriptor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceRobustness2FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesEXT.gen.cs index faa9501cb6..753c59068b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceRobustness2PropertiesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceRobustness2PropertiesKHR")] public unsafe partial struct PhysicalDeviceRobustness2PropertiesEXT : IExtendsChain, IExtendsChain { public PhysicalDeviceRobustness2PropertiesEXT ( - StructureType? sType = StructureType.PhysicalDeviceRobustness2PropertiesExt, + StructureType? sType = StructureType.PhysicalDeviceRobustness2PropertiesKhr, void* pNext = null, ulong? robustStorageBufferAccessSizeAlignment = null, ulong? robustUniformBufferAccessSizeAlignment = null @@ -72,7 +73,7 @@ public PhysicalDeviceRobustness2PropertiesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceRobustness2PropertiesExt; + return SType = StructureType.PhysicalDeviceRobustness2PropertiesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesKHR.gen.cs new file mode 100644 index 0000000000..1dfa3983f3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceRobustness2PropertiesKHR.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceRobustness2PropertiesKHR")] + [NativeName("Aliases", "VkPhysicalDeviceRobustness2PropertiesEXT")] + public unsafe partial struct PhysicalDeviceRobustness2PropertiesKHR : IExtendsChain, IExtendsChain + { + public PhysicalDeviceRobustness2PropertiesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceRobustness2PropertiesKhr, + void* pNext = null, + ulong? robustStorageBufferAccessSizeAlignment = null, + ulong? robustUniformBufferAccessSizeAlignment = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (robustStorageBufferAccessSizeAlignment is not null) + { + RobustStorageBufferAccessSizeAlignment = robustStorageBufferAccessSizeAlignment.Value; + } + + if (robustUniformBufferAccessSizeAlignment is not null) + { + RobustUniformBufferAccessSizeAlignment = robustUniformBufferAccessSizeAlignment.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "robustStorageBufferAccessSizeAlignment")] + public ulong RobustStorageBufferAccessSizeAlignment; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "robustUniformBufferAccessSizeAlignment")] + public ulong RobustUniformBufferAccessSizeAlignment; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceRobustness2PropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderBfloat16FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderBfloat16FeaturesKHR.gen.cs new file mode 100644 index 0000000000..028bb91baa --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderBfloat16FeaturesKHR.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderBfloat16FeaturesKHR")] + public unsafe partial struct PhysicalDeviceShaderBfloat16FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderBfloat16FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceShaderBfloat16FeaturesKhr, + void* pNext = null, + Bool32? shaderBFloat16Type = null, + Bool32? shaderBFloat16DotProduct = null, + Bool32? shaderBFloat16CooperativeMatrix = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderBFloat16Type is not null) + { + ShaderBFloat16Type = shaderBFloat16Type.Value; + } + + if (shaderBFloat16DotProduct is not null) + { + ShaderBFloat16DotProduct = shaderBFloat16DotProduct.Value; + } + + if (shaderBFloat16CooperativeMatrix is not null) + { + ShaderBFloat16CooperativeMatrix = shaderBFloat16CooperativeMatrix.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderBFloat16Type")] + public Bool32 ShaderBFloat16Type; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderBFloat16DotProduct")] + public Bool32 ShaderBFloat16DotProduct; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderBFloat16CooperativeMatrix")] + public Bool32 ShaderBFloat16CooperativeMatrix; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderBfloat16FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeatures.gen.cs new file mode 100644 index 0000000000..6c5b1c4d22 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeatures.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderExpectAssumeFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceShaderExpectAssumeFeaturesKHR")] + public unsafe partial struct PhysicalDeviceShaderExpectAssumeFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderExpectAssumeFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceShaderExpectAssumeFeatures, + void* pNext = null, + Bool32? shaderExpectAssume = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderExpectAssume is not null) + { + ShaderExpectAssume = shaderExpectAssume.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderExpectAssume")] + public Bool32 ShaderExpectAssume; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderExpectAssumeFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeaturesKHR.gen.cs index 4a8ae3a3dd..3101b8f9a6 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderExpectAssumeFeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceShaderExpectAssumeFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceShaderExpectAssumeFeatures")] public unsafe partial struct PhysicalDeviceShaderExpectAssumeFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceShaderExpectAssumeFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceShaderExpectAssumeFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceShaderExpectAssumeFeatures, void* pNext = null, Bool32? shaderExpectAssume = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceShaderExpectAssumeFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceShaderExpectAssumeFeaturesKhr; + return SType = StructureType.PhysicalDeviceShaderExpectAssumeFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloat8FeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloat8FeaturesEXT.gen.cs new file mode 100644 index 0000000000..c676dcfe12 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloat8FeaturesEXT.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderFloat8FeaturesEXT")] + public unsafe partial struct PhysicalDeviceShaderFloat8FeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderFloat8FeaturesEXT + ( + StructureType? sType = StructureType.PhysicalDeviceShaderFloat8FeaturesExt, + void* pNext = null, + Bool32? shaderFloat8 = null, + Bool32? shaderFloat8CooperativeMatrix = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderFloat8 is not null) + { + ShaderFloat8 = shaderFloat8.Value; + } + + if (shaderFloat8CooperativeMatrix is not null) + { + ShaderFloat8CooperativeMatrix = shaderFloat8CooperativeMatrix.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderFloat8")] + public Bool32 ShaderFloat8; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderFloat8CooperativeMatrix")] + public Bool32 ShaderFloat8CooperativeMatrix; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderFloat8FeaturesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2Features.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2Features.gen.cs new file mode 100644 index 0000000000..b60f83b838 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2Features.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderFloatControls2Features")] + [NativeName("Aliases", "VkPhysicalDeviceShaderFloatControls2FeaturesKHR")] + public unsafe partial struct PhysicalDeviceShaderFloatControls2Features : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderFloatControls2Features + ( + StructureType? sType = StructureType.PhysicalDeviceShaderFloatControls2Features, + void* pNext = null, + Bool32? shaderFloatControls2 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderFloatControls2 is not null) + { + ShaderFloatControls2 = shaderFloatControls2.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderFloatControls2")] + public Bool32 ShaderFloatControls2; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderFloatControls2Features; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2FeaturesKHR.gen.cs index 4de9d8645f..4431bdf196 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2FeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderFloatControls2FeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceShaderFloatControls2FeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceShaderFloatControls2Features")] public unsafe partial struct PhysicalDeviceShaderFloatControls2FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceShaderFloatControls2FeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceShaderFloatControls2FeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceShaderFloatControls2Features, void* pNext = null, Bool32? shaderFloatControls2 = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceShaderFloatControls2FeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceShaderFloatControls2FeaturesKhr; + return SType = StructureType.PhysicalDeviceShaderFloatControls2Features; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeatures.gen.cs new file mode 100644 index 0000000000..2b75ca67d1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeatures.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderSubgroupRotateFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceShaderSubgroupRotateFeaturesKHR")] + public unsafe partial struct PhysicalDeviceShaderSubgroupRotateFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderSubgroupRotateFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceShaderSubgroupRotateFeatures, + void* pNext = null, + Bool32? shaderSubgroupRotate = null, + Bool32? shaderSubgroupRotateClustered = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderSubgroupRotate is not null) + { + ShaderSubgroupRotate = shaderSubgroupRotate.Value; + } + + if (shaderSubgroupRotateClustered is not null) + { + ShaderSubgroupRotateClustered = shaderSubgroupRotateClustered.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderSubgroupRotate")] + public Bool32 ShaderSubgroupRotate; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderSubgroupRotateClustered")] + public Bool32 ShaderSubgroupRotateClustered; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderSubgroupRotateFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeaturesKHR.gen.cs index d598c4c88c..0a9a606f26 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderSubgroupRotateFeaturesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceShaderSubgroupRotateFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceShaderSubgroupRotateFeatures")] public unsafe partial struct PhysicalDeviceShaderSubgroupRotateFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceShaderSubgroupRotateFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceShaderSubgroupRotateFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceShaderSubgroupRotateFeatures, void* pNext = null, Bool32? shaderSubgroupRotate = null, Bool32? shaderSubgroupRotateClustered = null @@ -72,7 +73,7 @@ public PhysicalDeviceShaderSubgroupRotateFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceShaderSubgroupRotateFeaturesKhr; + return SType = StructureType.PhysicalDeviceShaderSubgroupRotateFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderUntypedPointersFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderUntypedPointersFeaturesKHR.gen.cs new file mode 100644 index 0000000000..742e56f4dc --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceShaderUntypedPointersFeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceShaderUntypedPointersFeaturesKHR")] + public unsafe partial struct PhysicalDeviceShaderUntypedPointersFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceShaderUntypedPointersFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceShaderUntypedPointersFeaturesKhr, + void* pNext = null, + Bool32? shaderUntypedPointers = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (shaderUntypedPointers is not null) + { + ShaderUntypedPointers = shaderUntypedPointers.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderUntypedPointers")] + public Bool32 ShaderUntypedPointers; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceShaderUntypedPointersFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesEXT.gen.cs index 7f19a943fb..d119b5bbb9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR")] public unsafe partial struct PhysicalDeviceSwapchainMaintenance1FeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceSwapchainMaintenance1FeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesExt, + StructureType? sType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesKhr, void* pNext = null, Bool32? swapchainMaintenance1 = null ) : this() @@ -61,7 +62,7 @@ public PhysicalDeviceSwapchainMaintenance1FeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesExt; + return SType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs new file mode 100644 index 0000000000..11f2bf3cbb --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR")] + [NativeName("Aliases", "VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT")] + public unsafe partial struct PhysicalDeviceSwapchainMaintenance1FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceSwapchainMaintenance1FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesKhr, + void* pNext = null, + Bool32? swapchainMaintenance1 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (swapchainMaintenance1 is not null) + { + SwapchainMaintenance1 = swapchainMaintenance1.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "swapchainMaintenance1")] + public Bool32 SwapchainMaintenance1; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorFeaturesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorFeaturesARM.gen.cs new file mode 100644 index 0000000000..6c6cf5be8c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorFeaturesARM.gen.cs @@ -0,0 +1,129 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTensorFeaturesARM")] + public unsafe partial struct PhysicalDeviceTensorFeaturesARM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceTensorFeaturesARM + ( + StructureType? sType = StructureType.PhysicalDeviceTensorFeaturesArm, + void* pNext = null, + Bool32? tensorNonPacked = null, + Bool32? shaderTensorAccess = null, + Bool32? shaderStorageTensorArrayDynamicIndexing = null, + Bool32? shaderStorageTensorArrayNonUniformIndexing = null, + Bool32? descriptorBindingStorageTensorUpdateAfterBind = null, + Bool32? tensors = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorNonPacked is not null) + { + TensorNonPacked = tensorNonPacked.Value; + } + + if (shaderTensorAccess is not null) + { + ShaderTensorAccess = shaderTensorAccess.Value; + } + + if (shaderStorageTensorArrayDynamicIndexing is not null) + { + ShaderStorageTensorArrayDynamicIndexing = shaderStorageTensorArrayDynamicIndexing.Value; + } + + if (shaderStorageTensorArrayNonUniformIndexing is not null) + { + ShaderStorageTensorArrayNonUniformIndexing = shaderStorageTensorArrayNonUniformIndexing.Value; + } + + if (descriptorBindingStorageTensorUpdateAfterBind is not null) + { + DescriptorBindingStorageTensorUpdateAfterBind = descriptorBindingStorageTensorUpdateAfterBind.Value; + } + + if (tensors is not null) + { + Tensors = tensors.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tensorNonPacked")] + public Bool32 TensorNonPacked; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderTensorAccess")] + public Bool32 ShaderTensorAccess; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderStorageTensorArrayDynamicIndexing")] + public Bool32 ShaderStorageTensorArrayDynamicIndexing; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderStorageTensorArrayNonUniformIndexing")] + public Bool32 ShaderStorageTensorArrayNonUniformIndexing; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "descriptorBindingStorageTensorUpdateAfterBind")] + public Bool32 DescriptorBindingStorageTensorUpdateAfterBind; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tensors")] + public Bool32 Tensors; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTensorFeaturesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorPropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorPropertiesARM.gen.cs new file mode 100644 index 0000000000..d4ecc833f6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTensorPropertiesARM.gen.cs @@ -0,0 +1,206 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTensorPropertiesARM")] + public unsafe partial struct PhysicalDeviceTensorPropertiesARM : IExtendsChain, IExtendsChain + { + public PhysicalDeviceTensorPropertiesARM + ( + StructureType? sType = StructureType.PhysicalDeviceTensorPropertiesArm, + void* pNext = null, + uint? maxTensorDimensionCount = null, + ulong? maxTensorElements = null, + ulong? maxPerDimensionTensorElements = null, + long? maxTensorStride = null, + ulong? maxTensorSize = null, + uint? maxTensorShaderAccessArrayLength = null, + uint? maxTensorShaderAccessSize = null, + uint? maxDescriptorSetStorageTensors = null, + uint? maxPerStageDescriptorSetStorageTensors = null, + uint? maxDescriptorSetUpdateAfterBindStorageTensors = null, + uint? maxPerStageDescriptorUpdateAfterBindStorageTensors = null, + Bool32? shaderStorageTensorArrayNonUniformIndexingNative = null, + ShaderStageFlags? shaderTensorSupportedStages = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxTensorDimensionCount is not null) + { + MaxTensorDimensionCount = maxTensorDimensionCount.Value; + } + + if (maxTensorElements is not null) + { + MaxTensorElements = maxTensorElements.Value; + } + + if (maxPerDimensionTensorElements is not null) + { + MaxPerDimensionTensorElements = maxPerDimensionTensorElements.Value; + } + + if (maxTensorStride is not null) + { + MaxTensorStride = maxTensorStride.Value; + } + + if (maxTensorSize is not null) + { + MaxTensorSize = maxTensorSize.Value; + } + + if (maxTensorShaderAccessArrayLength is not null) + { + MaxTensorShaderAccessArrayLength = maxTensorShaderAccessArrayLength.Value; + } + + if (maxTensorShaderAccessSize is not null) + { + MaxTensorShaderAccessSize = maxTensorShaderAccessSize.Value; + } + + if (maxDescriptorSetStorageTensors is not null) + { + MaxDescriptorSetStorageTensors = maxDescriptorSetStorageTensors.Value; + } + + if (maxPerStageDescriptorSetStorageTensors is not null) + { + MaxPerStageDescriptorSetStorageTensors = maxPerStageDescriptorSetStorageTensors.Value; + } + + if (maxDescriptorSetUpdateAfterBindStorageTensors is not null) + { + MaxDescriptorSetUpdateAfterBindStorageTensors = maxDescriptorSetUpdateAfterBindStorageTensors.Value; + } + + if (maxPerStageDescriptorUpdateAfterBindStorageTensors is not null) + { + MaxPerStageDescriptorUpdateAfterBindStorageTensors = maxPerStageDescriptorUpdateAfterBindStorageTensors.Value; + } + + if (shaderStorageTensorArrayNonUniformIndexingNative is not null) + { + ShaderStorageTensorArrayNonUniformIndexingNative = shaderStorageTensorArrayNonUniformIndexingNative.Value; + } + + if (shaderTensorSupportedStages is not null) + { + ShaderTensorSupportedStages = shaderTensorSupportedStages.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTensorDimensionCount")] + public uint MaxTensorDimensionCount; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "maxTensorElements")] + public ulong MaxTensorElements; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "maxPerDimensionTensorElements")] + public ulong MaxPerDimensionTensorElements; +/// + [NativeName("Type", "int64_t")] + [NativeName("Type.Name", "int64_t")] + [NativeName("Name", "maxTensorStride")] + public long MaxTensorStride; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "maxTensorSize")] + public ulong MaxTensorSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTensorShaderAccessArrayLength")] + public uint MaxTensorShaderAccessArrayLength; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTensorShaderAccessSize")] + public uint MaxTensorShaderAccessSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxDescriptorSetStorageTensors")] + public uint MaxDescriptorSetStorageTensors; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPerStageDescriptorSetStorageTensors")] + public uint MaxPerStageDescriptorSetStorageTensors; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxDescriptorSetUpdateAfterBindStorageTensors")] + public uint MaxDescriptorSetUpdateAfterBindStorageTensors; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPerStageDescriptorUpdateAfterBindStorageTensors")] + public uint MaxPerStageDescriptorUpdateAfterBindStorageTensors; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderStorageTensorArrayNonUniformIndexingNative")] + public Bool32 ShaderStorageTensorArrayNonUniformIndexingNative; +/// + [NativeName("Type", "VkShaderStageFlags")] + [NativeName("Type.Name", "VkShaderStageFlags")] + [NativeName("Name", "shaderTensorSupportedStages")] + public ShaderStageFlags ShaderTensorSupportedStages; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTensorPropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapFeaturesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..9bfa1cfed5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapFeaturesQCOM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTileMemoryHeapFeaturesQCOM")] + public unsafe partial struct PhysicalDeviceTileMemoryHeapFeaturesQCOM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceTileMemoryHeapFeaturesQCOM + ( + StructureType? sType = StructureType.PhysicalDeviceTileMemoryHeapFeaturesQCom, + void* pNext = null, + Bool32? tileMemoryHeap = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tileMemoryHeap is not null) + { + TileMemoryHeap = tileMemoryHeap.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileMemoryHeap")] + public Bool32 TileMemoryHeap; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTileMemoryHeapFeaturesQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapPropertiesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapPropertiesQCOM.gen.cs new file mode 100644 index 0000000000..ee729483a5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileMemoryHeapPropertiesQCOM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTileMemoryHeapPropertiesQCOM")] + public unsafe partial struct PhysicalDeviceTileMemoryHeapPropertiesQCOM : IExtendsChain, IExtendsChain + { + public PhysicalDeviceTileMemoryHeapPropertiesQCOM + ( + StructureType? sType = StructureType.PhysicalDeviceTileMemoryHeapPropertiesQCom, + void* pNext = null, + Bool32? queueSubmitBoundary = null, + Bool32? tileBufferTransfers = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (queueSubmitBoundary is not null) + { + QueueSubmitBoundary = queueSubmitBoundary.Value; + } + + if (tileBufferTransfers is not null) + { + TileBufferTransfers = tileBufferTransfers.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "queueSubmitBoundary")] + public Bool32 QueueSubmitBoundary; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileBufferTransfers")] + public Bool32 TileBufferTransfers; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTileMemoryHeapPropertiesQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..1035545c96 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs @@ -0,0 +1,217 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTileShadingFeaturesQCOM")] + public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceTileShadingFeaturesQCOM + ( + StructureType? sType = StructureType.PhysicalDeviceTileShadingFeaturesQCom, + void* pNext = null, + Bool32? tileShading = null, + Bool32? tileShadingFragmentStage = null, + Bool32? tileShadingColorAttachments = null, + Bool32? tileShadingDepthAttachments = null, + Bool32? tileShadingStencilAttachments = null, + Bool32? tileShadingInputAttachments = null, + Bool32? tileShadingSampledAttachments = null, + Bool32? tileShadingPerTileDraw = null, + Bool32? tileShadingPerTileDispatch = null, + Bool32? tileShadingDispatchTile = null, + Bool32? tileShadingApron = null, + Bool32? tileShadingAnisotropicApron = null, + Bool32? tileShadingAtomicOps = null, + Bool32? tileShadingImageProcessing = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tileShading is not null) + { + TileShading = tileShading.Value; + } + + if (tileShadingFragmentStage is not null) + { + TileShadingFragmentStage = tileShadingFragmentStage.Value; + } + + if (tileShadingColorAttachments is not null) + { + TileShadingColorAttachments = tileShadingColorAttachments.Value; + } + + if (tileShadingDepthAttachments is not null) + { + TileShadingDepthAttachments = tileShadingDepthAttachments.Value; + } + + if (tileShadingStencilAttachments is not null) + { + TileShadingStencilAttachments = tileShadingStencilAttachments.Value; + } + + if (tileShadingInputAttachments is not null) + { + TileShadingInputAttachments = tileShadingInputAttachments.Value; + } + + if (tileShadingSampledAttachments is not null) + { + TileShadingSampledAttachments = tileShadingSampledAttachments.Value; + } + + if (tileShadingPerTileDraw is not null) + { + TileShadingPerTileDraw = tileShadingPerTileDraw.Value; + } + + if (tileShadingPerTileDispatch is not null) + { + TileShadingPerTileDispatch = tileShadingPerTileDispatch.Value; + } + + if (tileShadingDispatchTile is not null) + { + TileShadingDispatchTile = tileShadingDispatchTile.Value; + } + + if (tileShadingApron is not null) + { + TileShadingApron = tileShadingApron.Value; + } + + if (tileShadingAnisotropicApron is not null) + { + TileShadingAnisotropicApron = tileShadingAnisotropicApron.Value; + } + + if (tileShadingAtomicOps is not null) + { + TileShadingAtomicOps = tileShadingAtomicOps.Value; + } + + if (tileShadingImageProcessing is not null) + { + TileShadingImageProcessing = tileShadingImageProcessing.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShading")] + public Bool32 TileShading; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingFragmentStage")] + public Bool32 TileShadingFragmentStage; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingColorAttachments")] + public Bool32 TileShadingColorAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingDepthAttachments")] + public Bool32 TileShadingDepthAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingStencilAttachments")] + public Bool32 TileShadingStencilAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingInputAttachments")] + public Bool32 TileShadingInputAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingSampledAttachments")] + public Bool32 TileShadingSampledAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingPerTileDraw")] + public Bool32 TileShadingPerTileDraw; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingPerTileDispatch")] + public Bool32 TileShadingPerTileDispatch; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingDispatchTile")] + public Bool32 TileShadingDispatchTile; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingApron")] + public Bool32 TileShadingApron; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingAnisotropicApron")] + public Bool32 TileShadingAnisotropicApron; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingAtomicOps")] + public Bool32 TileShadingAtomicOps; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "tileShadingImageProcessing")] + public Bool32 TileShadingImageProcessing; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTileShadingFeaturesQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs new file mode 100644 index 0000000000..3d31130401 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceTileShadingPropertiesQCOM")] + public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM : IExtendsChain, IExtendsChain + { + public PhysicalDeviceTileShadingPropertiesQCOM + ( + StructureType? sType = StructureType.PhysicalDeviceTileShadingPropertiesQCom, + void* pNext = null, + uint? maxApronSize = null, + Bool32? preferNonCoherent = null, + Extent2D? tileGranularity = null, + Extent2D? maxTileShadingRate = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxApronSize is not null) + { + MaxApronSize = maxApronSize.Value; + } + + if (preferNonCoherent is not null) + { + PreferNonCoherent = preferNonCoherent.Value; + } + + if (tileGranularity is not null) + { + TileGranularity = tileGranularity.Value; + } + + if (maxTileShadingRate is not null) + { + MaxTileShadingRate = maxTileShadingRate.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxApronSize")] + public uint MaxApronSize; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "preferNonCoherent")] + public Bool32 PreferNonCoherent; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "tileGranularity")] + public Extent2D TileGranularity; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "maxTileShadingRate")] + public Extent2D MaxTileShadingRate; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceTileShadingPropertiesQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceUnifiedImageLayoutsFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceUnifiedImageLayoutsFeaturesKHR.gen.cs new file mode 100644 index 0000000000..bc6f32ac36 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceUnifiedImageLayoutsFeaturesKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR")] + public unsafe partial struct PhysicalDeviceUnifiedImageLayoutsFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceUnifiedImageLayoutsFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceUnifiedImageLayoutsFeaturesKhr, + void* pNext = null, + Bool32? unifiedImageLayouts = null, + Bool32? unifiedImageLayoutsVideo = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (unifiedImageLayouts is not null) + { + UnifiedImageLayouts = unifiedImageLayouts.Value; + } + + if (unifiedImageLayoutsVideo is not null) + { + UnifiedImageLayoutsVideo = unifiedImageLayoutsVideo.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "unifiedImageLayouts")] + public Bool32 UnifiedImageLayouts; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "unifiedImageLayoutsVideo")] + public Bool32 UnifiedImageLayoutsVideo; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceUnifiedImageLayoutsFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeatures.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeatures.gen.cs new file mode 100644 index 0000000000..c6fe3a2fb5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeatures.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVertexAttributeDivisorFeatures")] + [NativeName("Aliases", "VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR, VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT")] + public unsafe partial struct PhysicalDeviceVertexAttributeDivisorFeatures : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVertexAttributeDivisorFeatures + ( + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures, + void* pNext = null, + Bool32? vertexAttributeInstanceRateDivisor = null, + Bool32? vertexAttributeInstanceRateZeroDivisor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexAttributeInstanceRateDivisor is not null) + { + VertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor.Value; + } + + if (vertexAttributeInstanceRateZeroDivisor is not null) + { + VertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "vertexAttributeInstanceRateDivisor")] + public Bool32 VertexAttributeInstanceRateDivisor; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "vertexAttributeInstanceRateZeroDivisor")] + public Bool32 VertexAttributeInstanceRateZeroDivisor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesEXT.gen.cs index 100f54f85a..f489ce1f08 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT")] - [NativeName("AliasOf", "VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceVertexAttributeDivisorFeatures")] public unsafe partial struct PhysicalDeviceVertexAttributeDivisorFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceVertexAttributeDivisorFeaturesEXT ( - StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures, void* pNext = null, Bool32? vertexAttributeInstanceRateDivisor = null, Bool32? vertexAttributeInstanceRateZeroDivisor = null @@ -73,7 +73,7 @@ public PhysicalDeviceVertexAttributeDivisorFeaturesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeaturesKhr; + return SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesKHR.gen.cs index 3faf79f792..f57b22c8e7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorFeaturesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR")] - [NativeName("Aliases", "VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT")] + [NativeName("AliasOf", "VkPhysicalDeviceVertexAttributeDivisorFeatures")] public unsafe partial struct PhysicalDeviceVertexAttributeDivisorFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain { public PhysicalDeviceVertexAttributeDivisorFeaturesKHR ( - StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorFeaturesKhr, + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures, void* pNext = null, Bool32? vertexAttributeInstanceRateDivisor = null, Bool32? vertexAttributeInstanceRateZeroDivisor = null @@ -73,7 +73,7 @@ public PhysicalDeviceVertexAttributeDivisorFeaturesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeaturesKhr; + return SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorProperties.gen.cs new file mode 100644 index 0000000000..802d329b00 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorProperties.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVertexAttributeDivisorProperties")] + [NativeName("Aliases", "VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR")] + public unsafe partial struct PhysicalDeviceVertexAttributeDivisorProperties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceVertexAttributeDivisorProperties + ( + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorProperties, + void* pNext = null, + uint? maxVertexAttribDivisor = null, + Bool32? supportsNonZeroFirstInstance = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxVertexAttribDivisor is not null) + { + MaxVertexAttribDivisor = maxVertexAttribDivisor.Value; + } + + if (supportsNonZeroFirstInstance is not null) + { + SupportsNonZeroFirstInstance = supportsNonZeroFirstInstance.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxVertexAttribDivisor")] + public uint MaxVertexAttribDivisor; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "supportsNonZeroFirstInstance")] + public Bool32 SupportsNonZeroFirstInstance; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVertexAttributeDivisorProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorPropertiesKHR.gen.cs index 80bb8e23d3..90990b2b1b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeDivisorPropertiesKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR")] + [NativeName("AliasOf", "VkPhysicalDeviceVertexAttributeDivisorProperties")] public unsafe partial struct PhysicalDeviceVertexAttributeDivisorPropertiesKHR : IExtendsChain, IExtendsChain { public PhysicalDeviceVertexAttributeDivisorPropertiesKHR ( - StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorPropertiesKhr, + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeDivisorProperties, void* pNext = null, uint? maxVertexAttribDivisor = null, Bool32? supportsNonZeroFirstInstance = null @@ -72,7 +73,7 @@ public PhysicalDeviceVertexAttributeDivisorPropertiesKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PhysicalDeviceVertexAttributeDivisorPropertiesKhr; + return SType = StructureType.PhysicalDeviceVertexAttributeDivisorProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeRobustnessFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeRobustnessFeaturesEXT.gen.cs new file mode 100644 index 0000000000..e7d16790eb --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVertexAttributeRobustnessFeaturesEXT.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT")] + public unsafe partial struct PhysicalDeviceVertexAttributeRobustnessFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVertexAttributeRobustnessFeaturesEXT + ( + StructureType? sType = StructureType.PhysicalDeviceVertexAttributeRobustnessFeaturesExt, + void* pNext = null, + Bool32? vertexAttributeRobustness = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexAttributeRobustness is not null) + { + VertexAttributeRobustness = vertexAttributeRobustness.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "vertexAttributeRobustness")] + public Bool32 VertexAttributeRobustness; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVertexAttributeRobustnessFeaturesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoDecodeVP9FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoDecodeVP9FeaturesKHR.gen.cs new file mode 100644 index 0000000000..7f5819a08b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoDecodeVP9FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVideoDecodeVP9FeaturesKHR")] + public unsafe partial struct PhysicalDeviceVideoDecodeVP9FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVideoDecodeVP9FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceVideoDecodeVP9FeaturesKhr, + void* pNext = null, + Bool32? videoDecodeVP9 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (videoDecodeVP9 is not null) + { + VideoDecodeVP9 = videoDecodeVP9.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "videoDecodeVP9")] + public Bool32 VideoDecodeVP9; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVideoDecodeVP9FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeAV1FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeAV1FeaturesKHR.gen.cs new file mode 100644 index 0000000000..e400562092 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeAV1FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVideoEncodeAV1FeaturesKHR")] + public unsafe partial struct PhysicalDeviceVideoEncodeAV1FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVideoEncodeAV1FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceVideoEncodeAV1FeaturesKhr, + void* pNext = null, + Bool32? videoEncodeAV1 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (videoEncodeAV1 is not null) + { + VideoEncodeAV1 = videoEncodeAV1.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "videoEncodeAV1")] + public Bool32 VideoEncodeAV1; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVideoEncodeAV1FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR.gen.cs new file mode 100644 index 0000000000..eeba9903f7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR")] + public unsafe partial struct PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceVideoEncodeIntraRefreshFeaturesKhr, + void* pNext = null, + Bool32? videoEncodeIntraRefresh = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (videoEncodeIntraRefresh is not null) + { + VideoEncodeIntraRefresh = videoEncodeIntraRefresh.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "videoEncodeIntraRefresh")] + public Bool32 VideoEncodeIntraRefresh; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVideoEncodeIntraRefreshFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR.gen.cs new file mode 100644 index 0000000000..a0fc4f67f8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR")] + public unsafe partial struct PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceVideoEncodeQuantizationMapFeaturesKhr, + void* pNext = null, + Bool32? videoEncodeQuantizationMap = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (videoEncodeQuantizationMap is not null) + { + VideoEncodeQuantizationMap = videoEncodeQuantizationMap.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "videoEncodeQuantizationMap")] + public Bool32 VideoEncodeQuantizationMap; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVideoEncodeQuantizationMapFeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoMaintenance2FeaturesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoMaintenance2FeaturesKHR.gen.cs new file mode 100644 index 0000000000..c1be00d578 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVideoMaintenance2FeaturesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVideoMaintenance2FeaturesKHR")] + public unsafe partial struct PhysicalDeviceVideoMaintenance2FeaturesKHR : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVideoMaintenance2FeaturesKHR + ( + StructureType? sType = StructureType.PhysicalDeviceVideoMaintenance2FeaturesKhr, + void* pNext = null, + Bool32? videoMaintenance2 = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (videoMaintenance2 is not null) + { + VideoMaintenance2 = videoMaintenance2.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "videoMaintenance2")] + public Bool32 VideoMaintenance2; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVideoMaintenance2FeaturesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Features.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Features.gen.cs new file mode 100644 index 0000000000..f77e4a12b8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Features.gen.cs @@ -0,0 +1,294 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVulkan14Features")] + public unsafe partial struct PhysicalDeviceVulkan14Features : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceVulkan14Features + ( + StructureType? sType = StructureType.PhysicalDeviceVulkan14Features, + void* pNext = null, + Bool32? globalPriorityQuery = null, + Bool32? shaderSubgroupRotate = null, + Bool32? shaderSubgroupRotateClustered = null, + Bool32? shaderFloatControls2 = null, + Bool32? shaderExpectAssume = null, + Bool32? rectangularLines = null, + Bool32? bresenhamLines = null, + Bool32? smoothLines = null, + Bool32? stippledRectangularLines = null, + Bool32? stippledBresenhamLines = null, + Bool32? stippledSmoothLines = null, + Bool32? vertexAttributeInstanceRateDivisor = null, + Bool32? vertexAttributeInstanceRateZeroDivisor = null, + Bool32? indexTypeUint8 = null, + Bool32? dynamicRenderingLocalRead = null, + Bool32? maintenance5 = null, + Bool32? maintenance6 = null, + Bool32? pipelineProtectedAccess = null, + Bool32? pipelineRobustness = null, + Bool32? hostImageCopy = null, + Bool32? pushDescriptor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (globalPriorityQuery is not null) + { + GlobalPriorityQuery = globalPriorityQuery.Value; + } + + if (shaderSubgroupRotate is not null) + { + ShaderSubgroupRotate = shaderSubgroupRotate.Value; + } + + if (shaderSubgroupRotateClustered is not null) + { + ShaderSubgroupRotateClustered = shaderSubgroupRotateClustered.Value; + } + + if (shaderFloatControls2 is not null) + { + ShaderFloatControls2 = shaderFloatControls2.Value; + } + + if (shaderExpectAssume is not null) + { + ShaderExpectAssume = shaderExpectAssume.Value; + } + + if (rectangularLines is not null) + { + RectangularLines = rectangularLines.Value; + } + + if (bresenhamLines is not null) + { + BresenhamLines = bresenhamLines.Value; + } + + if (smoothLines is not null) + { + SmoothLines = smoothLines.Value; + } + + if (stippledRectangularLines is not null) + { + StippledRectangularLines = stippledRectangularLines.Value; + } + + if (stippledBresenhamLines is not null) + { + StippledBresenhamLines = stippledBresenhamLines.Value; + } + + if (stippledSmoothLines is not null) + { + StippledSmoothLines = stippledSmoothLines.Value; + } + + if (vertexAttributeInstanceRateDivisor is not null) + { + VertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor.Value; + } + + if (vertexAttributeInstanceRateZeroDivisor is not null) + { + VertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor.Value; + } + + if (indexTypeUint8 is not null) + { + IndexTypeUint8 = indexTypeUint8.Value; + } + + if (dynamicRenderingLocalRead is not null) + { + DynamicRenderingLocalRead = dynamicRenderingLocalRead.Value; + } + + if (maintenance5 is not null) + { + Maintenance5 = maintenance5.Value; + } + + if (maintenance6 is not null) + { + Maintenance6 = maintenance6.Value; + } + + if (pipelineProtectedAccess is not null) + { + PipelineProtectedAccess = pipelineProtectedAccess.Value; + } + + if (pipelineRobustness is not null) + { + PipelineRobustness = pipelineRobustness.Value; + } + + if (hostImageCopy is not null) + { + HostImageCopy = hostImageCopy.Value; + } + + if (pushDescriptor is not null) + { + PushDescriptor = pushDescriptor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "globalPriorityQuery")] + public Bool32 GlobalPriorityQuery; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderSubgroupRotate")] + public Bool32 ShaderSubgroupRotate; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderSubgroupRotateClustered")] + public Bool32 ShaderSubgroupRotateClustered; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderFloatControls2")] + public Bool32 ShaderFloatControls2; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "shaderExpectAssume")] + public Bool32 ShaderExpectAssume; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "rectangularLines")] + public Bool32 RectangularLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "bresenhamLines")] + public Bool32 BresenhamLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "smoothLines")] + public Bool32 SmoothLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledRectangularLines")] + public Bool32 StippledRectangularLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledBresenhamLines")] + public Bool32 StippledBresenhamLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledSmoothLines")] + public Bool32 StippledSmoothLines; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "vertexAttributeInstanceRateDivisor")] + public Bool32 VertexAttributeInstanceRateDivisor; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "vertexAttributeInstanceRateZeroDivisor")] + public Bool32 VertexAttributeInstanceRateZeroDivisor; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "indexTypeUint8")] + public Bool32 IndexTypeUint8; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dynamicRenderingLocalRead")] + public Bool32 DynamicRenderingLocalRead; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance5")] + public Bool32 Maintenance5; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "maintenance6")] + public Bool32 Maintenance6; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineProtectedAccess")] + public Bool32 PipelineProtectedAccess; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pipelineRobustness")] + public Bool32 PipelineRobustness; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "hostImageCopy")] + public Bool32 HostImageCopy; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pushDescriptor")] + public Bool32 PushDescriptor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVulkan14Features; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Properties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Properties.gen.cs new file mode 100644 index 0000000000..d3f9e1584c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceVulkan14Properties.gen.cs @@ -0,0 +1,332 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceVulkan14Properties")] + public unsafe partial struct PhysicalDeviceVulkan14Properties : IExtendsChain, IExtendsChain + { + public PhysicalDeviceVulkan14Properties + ( + StructureType? sType = StructureType.PhysicalDeviceVulkan14Properties, + void* pNext = null, + uint? lineSubPixelPrecisionBits = null, + uint? maxVertexAttribDivisor = null, + Bool32? supportsNonZeroFirstInstance = null, + uint? maxPushDescriptors = null, + Bool32? dynamicRenderingLocalReadDepthStencilAttachments = null, + Bool32? dynamicRenderingLocalReadMultisampledAttachments = null, + Bool32? earlyFragmentMultisampleCoverageAfterSampleCounting = null, + Bool32? earlyFragmentSampleMaskTestBeforeSampleCounting = null, + Bool32? depthStencilSwizzleOneSupport = null, + Bool32? polygonModePointSize = null, + Bool32? nonStrictSinglePixelWideLinesUseParallelogram = null, + Bool32? nonStrictWideLinesUseParallelogram = null, + Bool32? blockTexelViewCompatibleMultipleLayers = null, + uint? maxCombinedImageSamplerDescriptorCount = null, + Bool32? fragmentShadingRateClampCombinerInputs = null, + PipelineRobustnessBufferBehavior? defaultRobustnessStorageBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessUniformBuffers = null, + PipelineRobustnessBufferBehavior? defaultRobustnessVertexInputs = null, + PipelineRobustnessImageBehavior? defaultRobustnessImages = null, + uint? copySrcLayoutCount = null, + ImageLayout* pCopySrcLayouts = null, + uint? copyDstLayoutCount = null, + ImageLayout* pCopyDstLayouts = null, + Bool32? identicalMemoryTypeRequirements = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (lineSubPixelPrecisionBits is not null) + { + LineSubPixelPrecisionBits = lineSubPixelPrecisionBits.Value; + } + + if (maxVertexAttribDivisor is not null) + { + MaxVertexAttribDivisor = maxVertexAttribDivisor.Value; + } + + if (supportsNonZeroFirstInstance is not null) + { + SupportsNonZeroFirstInstance = supportsNonZeroFirstInstance.Value; + } + + if (maxPushDescriptors is not null) + { + MaxPushDescriptors = maxPushDescriptors.Value; + } + + if (dynamicRenderingLocalReadDepthStencilAttachments is not null) + { + DynamicRenderingLocalReadDepthStencilAttachments = dynamicRenderingLocalReadDepthStencilAttachments.Value; + } + + if (dynamicRenderingLocalReadMultisampledAttachments is not null) + { + DynamicRenderingLocalReadMultisampledAttachments = dynamicRenderingLocalReadMultisampledAttachments.Value; + } + + if (earlyFragmentMultisampleCoverageAfterSampleCounting is not null) + { + EarlyFragmentMultisampleCoverageAfterSampleCounting = earlyFragmentMultisampleCoverageAfterSampleCounting.Value; + } + + if (earlyFragmentSampleMaskTestBeforeSampleCounting is not null) + { + EarlyFragmentSampleMaskTestBeforeSampleCounting = earlyFragmentSampleMaskTestBeforeSampleCounting.Value; + } + + if (depthStencilSwizzleOneSupport is not null) + { + DepthStencilSwizzleOneSupport = depthStencilSwizzleOneSupport.Value; + } + + if (polygonModePointSize is not null) + { + PolygonModePointSize = polygonModePointSize.Value; + } + + if (nonStrictSinglePixelWideLinesUseParallelogram is not null) + { + NonStrictSinglePixelWideLinesUseParallelogram = nonStrictSinglePixelWideLinesUseParallelogram.Value; + } + + if (nonStrictWideLinesUseParallelogram is not null) + { + NonStrictWideLinesUseParallelogram = nonStrictWideLinesUseParallelogram.Value; + } + + if (blockTexelViewCompatibleMultipleLayers is not null) + { + BlockTexelViewCompatibleMultipleLayers = blockTexelViewCompatibleMultipleLayers.Value; + } + + if (maxCombinedImageSamplerDescriptorCount is not null) + { + MaxCombinedImageSamplerDescriptorCount = maxCombinedImageSamplerDescriptorCount.Value; + } + + if (fragmentShadingRateClampCombinerInputs is not null) + { + FragmentShadingRateClampCombinerInputs = fragmentShadingRateClampCombinerInputs.Value; + } + + if (defaultRobustnessStorageBuffers is not null) + { + DefaultRobustnessStorageBuffers = defaultRobustnessStorageBuffers.Value; + } + + if (defaultRobustnessUniformBuffers is not null) + { + DefaultRobustnessUniformBuffers = defaultRobustnessUniformBuffers.Value; + } + + if (defaultRobustnessVertexInputs is not null) + { + DefaultRobustnessVertexInputs = defaultRobustnessVertexInputs.Value; + } + + if (defaultRobustnessImages is not null) + { + DefaultRobustnessImages = defaultRobustnessImages.Value; + } + + if (copySrcLayoutCount is not null) + { + CopySrcLayoutCount = copySrcLayoutCount.Value; + } + + if (pCopySrcLayouts is not null) + { + PCopySrcLayouts = pCopySrcLayouts; + } + + if (copyDstLayoutCount is not null) + { + CopyDstLayoutCount = copyDstLayoutCount.Value; + } + + if (pCopyDstLayouts is not null) + { + PCopyDstLayouts = pCopyDstLayouts; + } + + if (identicalMemoryTypeRequirements is not null) + { + IdenticalMemoryTypeRequirements = identicalMemoryTypeRequirements.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "lineSubPixelPrecisionBits")] + public uint LineSubPixelPrecisionBits; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxVertexAttribDivisor")] + public uint MaxVertexAttribDivisor; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "supportsNonZeroFirstInstance")] + public Bool32 SupportsNonZeroFirstInstance; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxPushDescriptors")] + public uint MaxPushDescriptors; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dynamicRenderingLocalReadDepthStencilAttachments")] + public Bool32 DynamicRenderingLocalReadDepthStencilAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "dynamicRenderingLocalReadMultisampledAttachments")] + public Bool32 DynamicRenderingLocalReadMultisampledAttachments; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "earlyFragmentMultisampleCoverageAfterSampleCounting")] + public Bool32 EarlyFragmentMultisampleCoverageAfterSampleCounting; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "earlyFragmentSampleMaskTestBeforeSampleCounting")] + public Bool32 EarlyFragmentSampleMaskTestBeforeSampleCounting; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "depthStencilSwizzleOneSupport")] + public Bool32 DepthStencilSwizzleOneSupport; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "polygonModePointSize")] + public Bool32 PolygonModePointSize; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nonStrictSinglePixelWideLinesUseParallelogram")] + public Bool32 NonStrictSinglePixelWideLinesUseParallelogram; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nonStrictWideLinesUseParallelogram")] + public Bool32 NonStrictWideLinesUseParallelogram; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "blockTexelViewCompatibleMultipleLayers")] + public Bool32 BlockTexelViewCompatibleMultipleLayers; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxCombinedImageSamplerDescriptorCount")] + public uint MaxCombinedImageSamplerDescriptorCount; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "fragmentShadingRateClampCombinerInputs")] + public Bool32 FragmentShadingRateClampCombinerInputs; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessStorageBuffers")] + public PipelineRobustnessBufferBehavior DefaultRobustnessStorageBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessUniformBuffers")] + public PipelineRobustnessBufferBehavior DefaultRobustnessUniformBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "defaultRobustnessVertexInputs")] + public PipelineRobustnessBufferBehavior DefaultRobustnessVertexInputs; +/// + [NativeName("Type", "VkPipelineRobustnessImageBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessImageBehavior")] + [NativeName("Name", "defaultRobustnessImages")] + public PipelineRobustnessImageBehavior DefaultRobustnessImages; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "copySrcLayoutCount")] + public uint CopySrcLayoutCount; +/// + [NativeName("Type", "VkImageLayout*")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "pCopySrcLayouts")] + public ImageLayout* PCopySrcLayouts; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "copyDstLayoutCount")] + public uint CopyDstLayoutCount; +/// + [NativeName("Type", "VkImageLayout*")] + [NativeName("Type.Name", "VkImageLayout")] + [NativeName("Name", "pCopyDstLayouts")] + public ImageLayout* PCopyDstLayouts; + /// + [NativeName("Type", "uint8_t")] + [NativeName("Type.Name", "uint8_t")] + [NativeName("Name", "optimalTilingLayoutUUID")] + public fixed byte OptimalTilingLayoutUuid[16]; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "identicalMemoryTypeRequirements")] + public Bool32 IdenticalMemoryTypeRequirements; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceVulkan14Properties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.gen.cs new file mode 100644 index 0000000000..bea9f8b65f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT")] + public unsafe partial struct PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT : IExtendsChain, IExtendsChain, IExtendsChain + { + public PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT + ( + StructureType? sType = StructureType.PhysicalDeviceZeroInitializeDeviceMemoryFeaturesExt, + void* pNext = null, + Bool32? zeroInitializeDeviceMemory = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (zeroInitializeDeviceMemory is not null) + { + ZeroInitializeDeviceMemory = zeroInitializeDeviceMemory.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "zeroInitializeDeviceMemory")] + public Bool32 ZeroInitializeDeviceMemory; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PhysicalDeviceZeroInitializeDeviceMemoryFeaturesExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfo.gen.cs new file mode 100644 index 0000000000..b3d0c2e44f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfo.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineCreateFlags2CreateInfo")] + [NativeName("Aliases", "VkPipelineCreateFlags2CreateInfoKHR")] + public unsafe partial struct PipelineCreateFlags2CreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public PipelineCreateFlags2CreateInfo + ( + StructureType? sType = StructureType.PipelineCreateFlags2CreateInfo, + void* pNext = null, + PipelineCreateFlags2? flags = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineCreateFlags2")] + [NativeName("Type.Name", "VkPipelineCreateFlags2")] + [NativeName("Name", "flags")] + public PipelineCreateFlags2 Flags; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PipelineCreateFlags2CreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfoKHR.gen.cs index 37c5eb00cb..ae1527161d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreateFlags2CreateInfoKHR.gen.cs @@ -17,13 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineCreateFlags2CreateInfoKHR")] + [NativeName("AliasOf", "VkPipelineCreateFlags2CreateInfo")] public unsafe partial struct PipelineCreateFlags2CreateInfoKHR : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public PipelineCreateFlags2CreateInfoKHR ( - StructureType? sType = StructureType.PipelineCreateFlags2CreateInfoKhr, + StructureType? sType = StructureType.PipelineCreateFlags2CreateInfo, void* pNext = null, - PipelineCreateFlags2KHR? flags = null + PipelineCreateFlags2? flags = null ) : this() { if (sType is not null) @@ -53,15 +54,15 @@ public PipelineCreateFlags2CreateInfoKHR [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkPipelineCreateFlags2KHR")] - [NativeName("Type.Name", "VkPipelineCreateFlags2KHR")] + [NativeName("Type", "VkPipelineCreateFlags2")] + [NativeName("Type.Name", "VkPipelineCreateFlags2")] [NativeName("Name", "flags")] - public PipelineCreateFlags2KHR Flags; + public PipelineCreateFlags2 Flags; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineCreateFlags2CreateInfoKhr; + return SType = StructureType.PipelineCreateFlags2CreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfo.gen.cs index e9ef95c6bb..b94e69686a 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfo.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineCreationFeedbackCreateInfo")] [NativeName("Aliases", "VkPipelineCreationFeedbackCreateInfoEXT")] - public unsafe partial struct PipelineCreationFeedbackCreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + public unsafe partial struct PipelineCreationFeedbackCreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public PipelineCreationFeedbackCreateInfo ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfoEXT.gen.cs index dd4eeacea0..d8d4325252 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfoEXT.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineCreationFeedbackCreateInfoEXT")] [NativeName("AliasOf", "VkPipelineCreationFeedbackCreateInfo")] - public unsafe partial struct PipelineCreationFeedbackCreateInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + public unsafe partial struct PipelineCreationFeedbackCreateInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public PipelineCreationFeedbackCreateInfoEXT ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs new file mode 100644 index 0000000000..41c3c43a99 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineFragmentDensityMapLayeredCreateInfoVALVE")] + public unsafe partial struct PipelineFragmentDensityMapLayeredCreateInfoVALVE : IExtendsChain + { + public PipelineFragmentDensityMapLayeredCreateInfoVALVE + ( + StructureType? sType = StructureType.PipelineFragmentDensityMapLayeredCreateInfoValve, + void* pNext = null, + uint? maxFragmentDensityMapLayers = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxFragmentDensityMapLayers is not null) + { + MaxFragmentDensityMapLayers = maxFragmentDensityMapLayers.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxFragmentDensityMapLayers")] + public uint MaxFragmentDensityMapLayers; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PipelineFragmentDensityMapLayeredCreateInfoValve; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineLayoutCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineLayoutCreateInfo.gen.cs index c06788b7db..8f89e6619e 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineLayoutCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineLayoutCreateInfo.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineLayoutCreateInfo")] - public unsafe partial struct PipelineLayoutCreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + public unsafe partial struct PipelineLayoutCreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public PipelineLayoutCreateInfo ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfo.gen.cs new file mode 100644 index 0000000000..ae8d9493a4 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfo.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineRasterizationLineStateCreateInfo")] + [NativeName("Aliases", "VkPipelineRasterizationLineStateCreateInfoKHR, VkPipelineRasterizationLineStateCreateInfoEXT")] + public unsafe partial struct PipelineRasterizationLineStateCreateInfo : IExtendsChain + { + public PipelineRasterizationLineStateCreateInfo + ( + StructureType? sType = StructureType.PipelineRasterizationLineStateCreateInfo, + void* pNext = null, + LineRasterizationMode? lineRasterizationMode = null, + Bool32? stippledLineEnable = null, + uint? lineStippleFactor = null, + ushort? lineStipplePattern = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (lineRasterizationMode is not null) + { + LineRasterizationMode = lineRasterizationMode.Value; + } + + if (stippledLineEnable is not null) + { + StippledLineEnable = stippledLineEnable.Value; + } + + if (lineStippleFactor is not null) + { + LineStippleFactor = lineStippleFactor.Value; + } + + if (lineStipplePattern is not null) + { + LineStipplePattern = lineStipplePattern.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkLineRasterizationMode")] + [NativeName("Type.Name", "VkLineRasterizationMode")] + [NativeName("Name", "lineRasterizationMode")] + public LineRasterizationMode LineRasterizationMode; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "stippledLineEnable")] + public Bool32 StippledLineEnable; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "lineStippleFactor")] + public uint LineStippleFactor; +/// + [NativeName("Type", "uint16_t")] + [NativeName("Type.Name", "uint16_t")] + [NativeName("Name", "lineStipplePattern")] + public ushort LineStipplePattern; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PipelineRasterizationLineStateCreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoEXT.gen.cs index 8f560a8759..1708e30047 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoEXT.gen.cs @@ -17,14 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineRasterizationLineStateCreateInfoEXT")] - [NativeName("AliasOf", "VkPipelineRasterizationLineStateCreateInfoKHR")] + [NativeName("AliasOf", "VkPipelineRasterizationLineStateCreateInfo")] public unsafe partial struct PipelineRasterizationLineStateCreateInfoEXT : IExtendsChain { public PipelineRasterizationLineStateCreateInfoEXT ( - StructureType? sType = StructureType.PipelineRasterizationLineStateCreateInfoKhr, + StructureType? sType = StructureType.PipelineRasterizationLineStateCreateInfo, void* pNext = null, - LineRasterizationModeKHR? lineRasterizationMode = null, + LineRasterizationMode? lineRasterizationMode = null, Bool32? stippledLineEnable = null, uint? lineStippleFactor = null, ushort? lineStipplePattern = null @@ -72,10 +72,10 @@ public PipelineRasterizationLineStateCreateInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkLineRasterizationModeKHR")] - [NativeName("Type.Name", "VkLineRasterizationModeKHR")] + [NativeName("Type", "VkLineRasterizationMode")] + [NativeName("Type.Name", "VkLineRasterizationMode")] [NativeName("Name", "lineRasterizationMode")] - public LineRasterizationModeKHR LineRasterizationMode; + public LineRasterizationMode LineRasterizationMode; /// [NativeName("Type", "VkBool32")] [NativeName("Type.Name", "VkBool32")] @@ -95,7 +95,7 @@ public PipelineRasterizationLineStateCreateInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineRasterizationLineStateCreateInfoKhr; + return SType = StructureType.PipelineRasterizationLineStateCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoKHR.gen.cs index 8d1fb4a1e3..0b98abde3b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRasterizationLineStateCreateInfoKHR.gen.cs @@ -17,14 +17,14 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineRasterizationLineStateCreateInfoKHR")] - [NativeName("Aliases", "VkPipelineRasterizationLineStateCreateInfoEXT")] + [NativeName("AliasOf", "VkPipelineRasterizationLineStateCreateInfo")] public unsafe partial struct PipelineRasterizationLineStateCreateInfoKHR : IExtendsChain { public PipelineRasterizationLineStateCreateInfoKHR ( - StructureType? sType = StructureType.PipelineRasterizationLineStateCreateInfoKhr, + StructureType? sType = StructureType.PipelineRasterizationLineStateCreateInfo, void* pNext = null, - LineRasterizationModeKHR? lineRasterizationMode = null, + LineRasterizationMode? lineRasterizationMode = null, Bool32? stippledLineEnable = null, uint? lineStippleFactor = null, ushort? lineStipplePattern = null @@ -72,10 +72,10 @@ public PipelineRasterizationLineStateCreateInfoKHR [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkLineRasterizationModeKHR")] - [NativeName("Type.Name", "VkLineRasterizationModeKHR")] + [NativeName("Type", "VkLineRasterizationMode")] + [NativeName("Type.Name", "VkLineRasterizationMode")] [NativeName("Name", "lineRasterizationMode")] - public LineRasterizationModeKHR LineRasterizationMode; + public LineRasterizationMode LineRasterizationMode; /// [NativeName("Type", "VkBool32")] [NativeName("Type.Name", "VkBool32")] @@ -95,7 +95,7 @@ public PipelineRasterizationLineStateCreateInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineRasterizationLineStateCreateInfoKhr; + return SType = StructureType.PipelineRasterizationLineStateCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfo.gen.cs new file mode 100644 index 0000000000..97e4693132 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfo.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineRobustnessCreateInfo")] + [NativeName("Aliases", "VkPipelineRobustnessCreateInfoEXT")] + public unsafe partial struct PipelineRobustnessCreateInfo : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public PipelineRobustnessCreateInfo + ( + StructureType? sType = StructureType.PipelineRobustnessCreateInfo, + void* pNext = null, + PipelineRobustnessBufferBehavior? storageBuffers = null, + PipelineRobustnessBufferBehavior? uniformBuffers = null, + PipelineRobustnessBufferBehavior? vertexInputs = null, + PipelineRobustnessImageBehavior? images = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (storageBuffers is not null) + { + StorageBuffers = storageBuffers.Value; + } + + if (uniformBuffers is not null) + { + UniformBuffers = uniformBuffers.Value; + } + + if (vertexInputs is not null) + { + VertexInputs = vertexInputs.Value; + } + + if (images is not null) + { + Images = images.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "storageBuffers")] + public PipelineRobustnessBufferBehavior StorageBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "uniformBuffers")] + public PipelineRobustnessBufferBehavior UniformBuffers; +/// + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Name", "vertexInputs")] + public PipelineRobustnessBufferBehavior VertexInputs; +/// + [NativeName("Type", "VkPipelineRobustnessImageBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessImageBehavior")] + [NativeName("Name", "images")] + public PipelineRobustnessImageBehavior Images; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PipelineRobustnessCreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfoEXT.gen.cs index b41ddbb389..1dc766ab51 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineRobustnessCreateInfoEXT.gen.cs @@ -17,16 +17,17 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineRobustnessCreateInfoEXT")] + [NativeName("AliasOf", "VkPipelineRobustnessCreateInfo")] public unsafe partial struct PipelineRobustnessCreateInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain { public PipelineRobustnessCreateInfoEXT ( - StructureType? sType = StructureType.PipelineRobustnessCreateInfoExt, + StructureType? sType = StructureType.PipelineRobustnessCreateInfo, void* pNext = null, - PipelineRobustnessBufferBehaviorEXT? storageBuffers = null, - PipelineRobustnessBufferBehaviorEXT? uniformBuffers = null, - PipelineRobustnessBufferBehaviorEXT? vertexInputs = null, - PipelineRobustnessImageBehaviorEXT? images = null + PipelineRobustnessBufferBehavior? storageBuffers = null, + PipelineRobustnessBufferBehavior? uniformBuffers = null, + PipelineRobustnessBufferBehavior? vertexInputs = null, + PipelineRobustnessImageBehavior? images = null ) : this() { if (sType is not null) @@ -71,30 +72,30 @@ public PipelineRobustnessCreateInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "storageBuffers")] - public PipelineRobustnessBufferBehaviorEXT StorageBuffers; + public PipelineRobustnessBufferBehavior StorageBuffers; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "uniformBuffers")] - public PipelineRobustnessBufferBehaviorEXT UniformBuffers; + public PipelineRobustnessBufferBehavior UniformBuffers; /// - [NativeName("Type", "VkPipelineRobustnessBufferBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessBufferBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessBufferBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessBufferBehavior")] [NativeName("Name", "vertexInputs")] - public PipelineRobustnessBufferBehaviorEXT VertexInputs; + public PipelineRobustnessBufferBehavior VertexInputs; /// - [NativeName("Type", "VkPipelineRobustnessImageBehaviorEXT")] - [NativeName("Type.Name", "VkPipelineRobustnessImageBehaviorEXT")] + [NativeName("Type", "VkPipelineRobustnessImageBehavior")] + [NativeName("Type.Name", "VkPipelineRobustnessImageBehavior")] [NativeName("Name", "images")] - public PipelineRobustnessImageBehaviorEXT Images; + public PipelineRobustnessImageBehavior Images; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineRobustnessCreateInfoExt; + return SType = StructureType.PipelineRobustnessCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfo.gen.cs new file mode 100644 index 0000000000..24c7595346 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfo.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPipelineVertexInputDivisorStateCreateInfo")] + [NativeName("Aliases", "VkPipelineVertexInputDivisorStateCreateInfoKHR, VkPipelineVertexInputDivisorStateCreateInfoEXT")] + public unsafe partial struct PipelineVertexInputDivisorStateCreateInfo : IExtendsChain + { + public PipelineVertexInputDivisorStateCreateInfo + ( + StructureType? sType = StructureType.PipelineVertexInputDivisorStateCreateInfo, + void* pNext = null, + uint? vertexBindingDivisorCount = null, + VertexInputBindingDivisorDescription* pVertexBindingDivisors = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (vertexBindingDivisorCount is not null) + { + VertexBindingDivisorCount = vertexBindingDivisorCount.Value; + } + + if (pVertexBindingDivisors is not null) + { + PVertexBindingDivisors = pVertexBindingDivisors; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "vertexBindingDivisorCount")] + public uint VertexBindingDivisorCount; +/// + [NativeName("Type", "VkVertexInputBindingDivisorDescription*")] + [NativeName("Type.Name", "VkVertexInputBindingDivisorDescription")] + [NativeName("Name", "pVertexBindingDivisors")] + public VertexInputBindingDivisorDescription* PVertexBindingDivisors; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PipelineVertexInputDivisorStateCreateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoEXT.gen.cs index a335e7ab5b..56c177a004 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoEXT.gen.cs @@ -17,15 +17,15 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineVertexInputDivisorStateCreateInfoEXT")] - [NativeName("AliasOf", "VkPipelineVertexInputDivisorStateCreateInfoKHR")] + [NativeName("AliasOf", "VkPipelineVertexInputDivisorStateCreateInfo")] public unsafe partial struct PipelineVertexInputDivisorStateCreateInfoEXT : IExtendsChain { public PipelineVertexInputDivisorStateCreateInfoEXT ( - StructureType? sType = StructureType.PipelineVertexInputDivisorStateCreateInfoKhr, + StructureType? sType = StructureType.PipelineVertexInputDivisorStateCreateInfo, void* pNext = null, uint? vertexBindingDivisorCount = null, - VertexInputBindingDivisorDescriptionKHR* pVertexBindingDivisors = null + VertexInputBindingDivisorDescription* pVertexBindingDivisors = null ) : this() { if (sType is not null) @@ -65,15 +65,15 @@ public PipelineVertexInputDivisorStateCreateInfoEXT [NativeName("Name", "vertexBindingDivisorCount")] public uint VertexBindingDivisorCount; /// - [NativeName("Type", "VkVertexInputBindingDivisorDescriptionKHR*")] - [NativeName("Type.Name", "VkVertexInputBindingDivisorDescriptionKHR")] + [NativeName("Type", "VkVertexInputBindingDivisorDescription*")] + [NativeName("Type.Name", "VkVertexInputBindingDivisorDescription")] [NativeName("Name", "pVertexBindingDivisors")] - public VertexInputBindingDivisorDescriptionKHR* PVertexBindingDivisors; + public VertexInputBindingDivisorDescription* PVertexBindingDivisors; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineVertexInputDivisorStateCreateInfoKhr; + return SType = StructureType.PipelineVertexInputDivisorStateCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoKHR.gen.cs index 701a99e60e..eab1b9609f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineVertexInputDivisorStateCreateInfoKHR.gen.cs @@ -17,15 +17,15 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPipelineVertexInputDivisorStateCreateInfoKHR")] - [NativeName("Aliases", "VkPipelineVertexInputDivisorStateCreateInfoEXT")] + [NativeName("AliasOf", "VkPipelineVertexInputDivisorStateCreateInfo")] public unsafe partial struct PipelineVertexInputDivisorStateCreateInfoKHR : IExtendsChain { public PipelineVertexInputDivisorStateCreateInfoKHR ( - StructureType? sType = StructureType.PipelineVertexInputDivisorStateCreateInfoKhr, + StructureType? sType = StructureType.PipelineVertexInputDivisorStateCreateInfo, void* pNext = null, uint? vertexBindingDivisorCount = null, - VertexInputBindingDivisorDescriptionKHR* pVertexBindingDivisors = null + VertexInputBindingDivisorDescription* pVertexBindingDivisors = null ) : this() { if (sType is not null) @@ -65,15 +65,15 @@ public PipelineVertexInputDivisorStateCreateInfoKHR [NativeName("Name", "vertexBindingDivisorCount")] public uint VertexBindingDivisorCount; /// - [NativeName("Type", "VkVertexInputBindingDivisorDescriptionKHR*")] - [NativeName("Type.Name", "VkVertexInputBindingDivisorDescriptionKHR")] + [NativeName("Type", "VkVertexInputBindingDivisorDescription*")] + [NativeName("Type.Name", "VkVertexInputBindingDivisorDescription")] [NativeName("Name", "pVertexBindingDivisors")] - public VertexInputBindingDivisorDescriptionKHR* PVertexBindingDivisors; + public VertexInputBindingDivisorDescription* PVertexBindingDivisors; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PipelineVertexInputDivisorStateCreateInfoKhr; + return SType = StructureType.PipelineVertexInputDivisorStateCreateInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PresentId2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentId2KHR.gen.cs new file mode 100644 index 0000000000..83c3091dab --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentId2KHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPresentId2KHR")] + public unsafe partial struct PresentId2KHR : IExtendsChain + { + public PresentId2KHR + ( + StructureType? sType = StructureType.PresentID2Khr, + void* pNext = null, + uint? swapchainCount = null, + ulong* pPresentIds = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (swapchainCount is not null) + { + SwapchainCount = swapchainCount.Value; + } + + if (pPresentIds is not null) + { + PPresentIds = pPresentIds; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "swapchainCount")] + public uint SwapchainCount; +/// + [NativeName("Type", "uint64_t*")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "pPresentIds")] + public ulong* PPresentIds; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PresentID2Khr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PresentWait2InfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentWait2InfoKHR.gen.cs new file mode 100644 index 0000000000..c491192858 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentWait2InfoKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPresentWait2InfoKHR")] + public unsafe partial struct PresentWait2InfoKHR : IChainable + { + public PresentWait2InfoKHR + ( + StructureType? sType = StructureType.PresentWait2InfoKhr, + void* pNext = null, + ulong? presentId = null, + ulong? timeout = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentId is not null) + { + PresentId = presentId.Value; + } + + if (timeout is not null) + { + Timeout = timeout.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "presentId")] + public ulong PresentId; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "timeout")] + public ulong Timeout; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PresentWait2InfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfo.gen.cs new file mode 100644 index 0000000000..40312cbb1d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfo.gen.cs @@ -0,0 +1,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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPushConstantsInfo")] + [NativeName("Aliases", "VkPushConstantsInfoKHR")] + public unsafe partial struct PushConstantsInfo : IChainStart + { + public PushConstantsInfo + ( + StructureType? sType = StructureType.PushConstantsInfo, + void* pNext = null, + PipelineLayout? layout = null, + ShaderStageFlags? stageFlags = null, + uint? offset = null, + uint? size = null, + void* pValues = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (layout is not null) + { + Layout = layout.Value; + } + + if (stageFlags is not null) + { + StageFlags = stageFlags.Value; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (size is not null) + { + Size = size.Value; + } + + if (pValues is not null) + { + PValues = pValues; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineLayout")] + [NativeName("Type.Name", "VkPipelineLayout")] + [NativeName("Name", "layout")] + public PipelineLayout Layout; +/// + [NativeName("Type", "VkShaderStageFlags")] + [NativeName("Type.Name", "VkShaderStageFlags")] + [NativeName("Name", "stageFlags")] + public ShaderStageFlags StageFlags; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "offset")] + public uint Offset; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "size")] + public uint Size; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pValues")] + public void* PValues; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PushConstantsInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref PushConstantsInfo Chain( + out PushConstantsInfo capture) + { + capture = new PushConstantsInfo(StructureType.PushConstantsInfo); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfoKHR.gen.cs index 2a91399999..9aa6f8ba0a 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushConstantsInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPushConstantsInfoKHR")] + [NativeName("AliasOf", "VkPushConstantsInfo")] public unsafe partial struct PushConstantsInfoKHR : IChainStart { public PushConstantsInfoKHR ( - StructureType? sType = StructureType.PushConstantsInfoKhr, + StructureType? sType = StructureType.PushConstantsInfo, void* pNext = null, PipelineLayout? layout = null, ShaderStageFlags? stageFlags = null, @@ -105,7 +106,7 @@ public PushConstantsInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PushConstantsInfoKhr; + return SType = StructureType.PushConstantsInfo; } /// @@ -123,7 +124,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref PushConstantsInfoKHR Chain( out PushConstantsInfoKHR capture) { - capture = new PushConstantsInfoKHR(StructureType.PushConstantsInfoKhr); + capture = new PushConstantsInfoKHR(StructureType.PushConstantsInfo); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfo.gen.cs new file mode 100644 index 0000000000..79b239a6bf --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfo.gen.cs @@ -0,0 +1,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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPushDescriptorSetInfo")] + [NativeName("Aliases", "VkPushDescriptorSetInfoKHR")] + public unsafe partial struct PushDescriptorSetInfo : IChainStart + { + public PushDescriptorSetInfo + ( + StructureType? sType = StructureType.PushDescriptorSetInfo, + void* pNext = null, + ShaderStageFlags? stageFlags = null, + PipelineLayout? layout = null, + uint? set = null, + uint? descriptorWriteCount = null, + WriteDescriptorSet* pDescriptorWrites = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (stageFlags is not null) + { + StageFlags = stageFlags.Value; + } + + if (layout is not null) + { + Layout = layout.Value; + } + + if (set is not null) + { + Set = set.Value; + } + + if (descriptorWriteCount is not null) + { + DescriptorWriteCount = descriptorWriteCount.Value; + } + + if (pDescriptorWrites is not null) + { + PDescriptorWrites = pDescriptorWrites; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkShaderStageFlags")] + [NativeName("Type.Name", "VkShaderStageFlags")] + [NativeName("Name", "stageFlags")] + public ShaderStageFlags StageFlags; +/// + [NativeName("Type", "VkPipelineLayout")] + [NativeName("Type.Name", "VkPipelineLayout")] + [NativeName("Name", "layout")] + public PipelineLayout Layout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "set")] + public uint Set; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "descriptorWriteCount")] + public uint DescriptorWriteCount; +/// + [NativeName("Type", "VkWriteDescriptorSet*")] + [NativeName("Type.Name", "VkWriteDescriptorSet")] + [NativeName("Name", "pDescriptorWrites")] + public WriteDescriptorSet* PDescriptorWrites; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PushDescriptorSetInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref PushDescriptorSetInfo Chain( + out PushDescriptorSetInfo capture) + { + capture = new PushDescriptorSetInfo(StructureType.PushDescriptorSetInfo); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfoKHR.gen.cs index fd89c91642..80223c8cbc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPushDescriptorSetInfoKHR")] + [NativeName("AliasOf", "VkPushDescriptorSetInfo")] public unsafe partial struct PushDescriptorSetInfoKHR : IChainStart { public PushDescriptorSetInfoKHR ( - StructureType? sType = StructureType.PushDescriptorSetInfoKhr, + StructureType? sType = StructureType.PushDescriptorSetInfo, void* pNext = null, ShaderStageFlags? stageFlags = null, PipelineLayout? layout = null, @@ -105,7 +106,7 @@ public PushDescriptorSetInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PushDescriptorSetInfoKhr; + return SType = StructureType.PushDescriptorSetInfo; } /// @@ -123,7 +124,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref PushDescriptorSetInfoKHR Chain( out PushDescriptorSetInfoKHR capture) { - capture = new PushDescriptorSetInfoKHR(StructureType.PushDescriptorSetInfoKhr); + capture = new PushDescriptorSetInfoKHR(StructureType.PushDescriptorSetInfo); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfo.gen.cs new file mode 100644 index 0000000000..24e33f9d81 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfo.gen.cs @@ -0,0 +1,120 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPushDescriptorSetWithTemplateInfo")] + [NativeName("Aliases", "VkPushDescriptorSetWithTemplateInfoKHR")] + public unsafe partial struct PushDescriptorSetWithTemplateInfo : IChainStart + { + public PushDescriptorSetWithTemplateInfo + ( + StructureType? sType = StructureType.PushDescriptorSetWithTemplateInfo, + void* pNext = null, + DescriptorUpdateTemplate? descriptorUpdateTemplate = null, + PipelineLayout? layout = null, + uint? set = null, + void* pData = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (descriptorUpdateTemplate is not null) + { + DescriptorUpdateTemplate = descriptorUpdateTemplate.Value; + } + + if (layout is not null) + { + Layout = layout.Value; + } + + if (set is not null) + { + Set = set.Value; + } + + if (pData is not null) + { + PData = pData; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDescriptorUpdateTemplate")] + [NativeName("Type.Name", "VkDescriptorUpdateTemplate")] + [NativeName("Name", "descriptorUpdateTemplate")] + public DescriptorUpdateTemplate DescriptorUpdateTemplate; +/// + [NativeName("Type", "VkPipelineLayout")] + [NativeName("Type.Name", "VkPipelineLayout")] + [NativeName("Name", "layout")] + public PipelineLayout Layout; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "set")] + public uint Set; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pData")] + public void* PData; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.PushDescriptorSetWithTemplateInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref PushDescriptorSetWithTemplateInfo Chain( + out PushDescriptorSetWithTemplateInfo capture) + { + capture = new PushDescriptorSetWithTemplateInfo(StructureType.PushDescriptorSetWithTemplateInfo); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfoKHR.gen.cs index 0a6baa9983..d5ff9d2bd0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PushDescriptorSetWithTemplateInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkPushDescriptorSetWithTemplateInfoKHR")] + [NativeName("AliasOf", "VkPushDescriptorSetWithTemplateInfo")] public unsafe partial struct PushDescriptorSetWithTemplateInfoKHR : IChainStart { public PushDescriptorSetWithTemplateInfoKHR ( - StructureType? sType = StructureType.PushDescriptorSetWithTemplateInfoKhr, + StructureType? sType = StructureType.PushDescriptorSetWithTemplateInfo, void* pNext = null, DescriptorUpdateTemplate? descriptorUpdateTemplate = null, PipelineLayout? layout = null, @@ -94,7 +95,7 @@ public PushDescriptorSetWithTemplateInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.PushDescriptorSetWithTemplateInfoKhr; + return SType = StructureType.PushDescriptorSetWithTemplateInfo; } /// @@ -112,7 +113,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref PushDescriptorSetWithTemplateInfoKHR Chain( out PushDescriptorSetWithTemplateInfoKHR capture) { - capture = new PushDescriptorSetWithTemplateInfoKHR(StructureType.PushDescriptorSetWithTemplateInfoKhr); + capture = new PushDescriptorSetWithTemplateInfoKHR(StructureType.PushDescriptorSetWithTemplateInfo); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueryPoolCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueryPoolCreateInfo.gen.cs index c3442a5f22..90895d640e 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/QueryPoolCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueryPoolCreateInfo.gen.cs @@ -23,7 +23,7 @@ public QueryPoolCreateInfo ( StructureType? sType = StructureType.QueryPoolCreateInfo, void* pNext = null, - uint? flags = null, + QueryPoolCreateFlags? flags = null, QueryType? queryType = null, uint? queryCount = null, QueryPipelineStatisticFlags? pipelineStatistics = null @@ -74,7 +74,7 @@ public QueryPoolCreateInfo [NativeName("Type", "VkQueryPoolCreateFlags")] [NativeName("Type.Name", "VkQueryPoolCreateFlags")] [NativeName("Name", "flags")] - public uint Flags; + public QueryPoolCreateFlags Flags; /// [NativeName("Type", "VkQueryType")] [NativeName("Type.Name", "VkQueryType")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs new file mode 100644 index 0000000000..6c7a2c46aa --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkQueueFamilyDataGraphProcessingEnginePropertiesARM")] + public unsafe partial struct QueueFamilyDataGraphProcessingEnginePropertiesARM : IChainable + { + public QueueFamilyDataGraphProcessingEnginePropertiesARM + ( + StructureType? sType = StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm, + void* pNext = null, + ExternalSemaphoreHandleTypeFlags? foreignSemaphoreHandleTypes = null, + ExternalMemoryHandleTypeFlags? foreignMemoryHandleTypes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (foreignSemaphoreHandleTypes is not null) + { + ForeignSemaphoreHandleTypes = foreignSemaphoreHandleTypes.Value; + } + + if (foreignMemoryHandleTypes is not null) + { + ForeignMemoryHandleTypes = foreignMemoryHandleTypes.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExternalSemaphoreHandleTypeFlags")] + [NativeName("Type.Name", "VkExternalSemaphoreHandleTypeFlags")] + [NativeName("Name", "foreignSemaphoreHandleTypes")] + public ExternalSemaphoreHandleTypeFlags ForeignSemaphoreHandleTypes; +/// + [NativeName("Type", "VkExternalMemoryHandleTypeFlags")] + [NativeName("Type.Name", "VkExternalMemoryHandleTypeFlags")] + [NativeName("Name", "foreignMemoryHandleTypes")] + public ExternalMemoryHandleTypeFlags ForeignMemoryHandleTypes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.QueueFamilyDataGraphProcessingEnginePropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphPropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphPropertiesARM.gen.cs new file mode 100644 index 0000000000..071ed3be24 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyDataGraphPropertiesARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkQueueFamilyDataGraphPropertiesARM")] + public unsafe partial struct QueueFamilyDataGraphPropertiesARM : IChainable + { + public QueueFamilyDataGraphPropertiesARM + ( + StructureType? sType = StructureType.QueueFamilyDataGraphPropertiesArm, + void* pNext = null, + PhysicalDeviceDataGraphProcessingEngineARM? engine = null, + PhysicalDeviceDataGraphOperationSupportARM? operation = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (engine is not null) + { + Engine = engine.Value; + } + + if (operation is not null) + { + Operation = operation.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphProcessingEngineARM")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphProcessingEngineARM")] + [NativeName("Name", "engine")] + public PhysicalDeviceDataGraphProcessingEngineARM Engine; +/// + [NativeName("Type", "VkPhysicalDeviceDataGraphOperationSupportARM")] + [NativeName("Type.Name", "VkPhysicalDeviceDataGraphOperationSupportARM")] + [NativeName("Name", "operation")] + public PhysicalDeviceDataGraphOperationSupportARM Operation; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.QueueFamilyDataGraphPropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityProperties.gen.cs new file mode 100644 index 0000000000..cc4e157a0c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityProperties.gen.cs @@ -0,0 +1,121 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkQueueFamilyGlobalPriorityProperties")] + [NativeName("Aliases", "VkQueueFamilyGlobalPriorityPropertiesKHR, VkQueueFamilyGlobalPriorityPropertiesEXT")] + public unsafe partial struct QueueFamilyGlobalPriorityProperties : IExtendsChain, IExtendsChain + { + public QueueFamilyGlobalPriorityProperties + ( + StructureType? sType = StructureType.QueueFamilyGlobalPriorityProperties, + void* pNext = null, + uint? priorityCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (priorityCount is not null) + { + PriorityCount = priorityCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "priorityCount")] + public uint PriorityCount; + /// + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] + [NativeName("Name", "priorities")] + public PrioritiesBuffer Priorities; + + public struct PrioritiesBuffer + { + public QueueGlobalPriority Element0; + public QueueGlobalPriority Element1; + public QueueGlobalPriority Element2; + public QueueGlobalPriority Element3; + public QueueGlobalPriority Element4; + public QueueGlobalPriority Element5; + public QueueGlobalPriority Element6; + public QueueGlobalPriority Element7; + public QueueGlobalPriority Element8; + public QueueGlobalPriority Element9; + public QueueGlobalPriority Element10; + public QueueGlobalPriority Element11; + public QueueGlobalPriority Element12; + public QueueGlobalPriority Element13; + public QueueGlobalPriority Element14; + public QueueGlobalPriority Element15; + public ref QueueGlobalPriority this[int index] + { + get + { + if (index > 15 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (QueueGlobalPriority* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 16); +#endif + } + + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.QueueFamilyGlobalPriorityProperties; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs index 11180584ce..1f0e2246f4 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkQueueFamilyGlobalPriorityPropertiesEXT")] - [NativeName("AliasOf", "VkQueueFamilyGlobalPriorityPropertiesKHR")] + [NativeName("AliasOf", "VkQueueFamilyGlobalPriorityProperties")] public unsafe partial struct QueueFamilyGlobalPriorityPropertiesEXT : IExtendsChain, IExtendsChain { public QueueFamilyGlobalPriorityPropertiesEXT ( - StructureType? sType = StructureType.QueueFamilyGlobalPriorityPropertiesKhr, + StructureType? sType = StructureType.QueueFamilyGlobalPriorityProperties, void* pNext = null, uint? priorityCount = null ) : this() @@ -59,30 +59,30 @@ public QueueFamilyGlobalPriorityPropertiesEXT [NativeName("Name", "priorityCount")] public uint PriorityCount; /// - [NativeName("Type", "VkQueueGlobalPriorityKHR")] - [NativeName("Type.Name", "VkQueueGlobalPriorityKHR")] + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] [NativeName("Name", "priorities")] public PrioritiesBuffer Priorities; public struct PrioritiesBuffer { - public QueueGlobalPriorityKHR Element0; - public QueueGlobalPriorityKHR Element1; - public QueueGlobalPriorityKHR Element2; - public QueueGlobalPriorityKHR Element3; - public QueueGlobalPriorityKHR Element4; - public QueueGlobalPriorityKHR Element5; - public QueueGlobalPriorityKHR Element6; - public QueueGlobalPriorityKHR Element7; - public QueueGlobalPriorityKHR Element8; - public QueueGlobalPriorityKHR Element9; - public QueueGlobalPriorityKHR Element10; - public QueueGlobalPriorityKHR Element11; - public QueueGlobalPriorityKHR Element12; - public QueueGlobalPriorityKHR Element13; - public QueueGlobalPriorityKHR Element14; - public QueueGlobalPriorityKHR Element15; - public ref QueueGlobalPriorityKHR this[int index] + public QueueGlobalPriority Element0; + public QueueGlobalPriority Element1; + public QueueGlobalPriority Element2; + public QueueGlobalPriority Element3; + public QueueGlobalPriority Element4; + public QueueGlobalPriority Element5; + public QueueGlobalPriority Element6; + public QueueGlobalPriority Element7; + public QueueGlobalPriority Element8; + public QueueGlobalPriority Element9; + public QueueGlobalPriority Element10; + public QueueGlobalPriority Element11; + public QueueGlobalPriority Element12; + public QueueGlobalPriority Element13; + public QueueGlobalPriority Element14; + public QueueGlobalPriority Element15; + public ref QueueGlobalPriority this[int index] { get { @@ -91,7 +91,7 @@ public ref QueueGlobalPriorityKHR this[int index] throw new ArgumentOutOfRangeException(nameof(index)); } - fixed (QueueGlobalPriorityKHR* ptr = &Element0) + fixed (QueueGlobalPriority* ptr = &Element0) { return ref ptr[index]; } @@ -99,7 +99,7 @@ public ref QueueGlobalPriorityKHR this[int index] } #if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER - public Span AsSpan() + public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 16); #endif } @@ -108,7 +108,7 @@ public Span AsSpan() /// StructureType IStructuredType.StructureType() { - return SType = StructureType.QueueFamilyGlobalPriorityPropertiesKhr; + return SType = StructureType.QueueFamilyGlobalPriorityProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesKHR.gen.cs index 6657c22f78..2e31ce99a3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesKHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkQueueFamilyGlobalPriorityPropertiesKHR")] - [NativeName("Aliases", "VkQueueFamilyGlobalPriorityPropertiesEXT")] + [NativeName("AliasOf", "VkQueueFamilyGlobalPriorityProperties")] public unsafe partial struct QueueFamilyGlobalPriorityPropertiesKHR : IExtendsChain, IExtendsChain { public QueueFamilyGlobalPriorityPropertiesKHR ( - StructureType? sType = StructureType.QueueFamilyGlobalPriorityPropertiesKhr, + StructureType? sType = StructureType.QueueFamilyGlobalPriorityProperties, void* pNext = null, uint? priorityCount = null ) : this() @@ -59,30 +59,30 @@ public QueueFamilyGlobalPriorityPropertiesKHR [NativeName("Name", "priorityCount")] public uint PriorityCount; /// - [NativeName("Type", "VkQueueGlobalPriorityKHR")] - [NativeName("Type.Name", "VkQueueGlobalPriorityKHR")] + [NativeName("Type", "VkQueueGlobalPriority")] + [NativeName("Type.Name", "VkQueueGlobalPriority")] [NativeName("Name", "priorities")] public PrioritiesBuffer Priorities; public struct PrioritiesBuffer { - public QueueGlobalPriorityKHR Element0; - public QueueGlobalPriorityKHR Element1; - public QueueGlobalPriorityKHR Element2; - public QueueGlobalPriorityKHR Element3; - public QueueGlobalPriorityKHR Element4; - public QueueGlobalPriorityKHR Element5; - public QueueGlobalPriorityKHR Element6; - public QueueGlobalPriorityKHR Element7; - public QueueGlobalPriorityKHR Element8; - public QueueGlobalPriorityKHR Element9; - public QueueGlobalPriorityKHR Element10; - public QueueGlobalPriorityKHR Element11; - public QueueGlobalPriorityKHR Element12; - public QueueGlobalPriorityKHR Element13; - public QueueGlobalPriorityKHR Element14; - public QueueGlobalPriorityKHR Element15; - public ref QueueGlobalPriorityKHR this[int index] + public QueueGlobalPriority Element0; + public QueueGlobalPriority Element1; + public QueueGlobalPriority Element2; + public QueueGlobalPriority Element3; + public QueueGlobalPriority Element4; + public QueueGlobalPriority Element5; + public QueueGlobalPriority Element6; + public QueueGlobalPriority Element7; + public QueueGlobalPriority Element8; + public QueueGlobalPriority Element9; + public QueueGlobalPriority Element10; + public QueueGlobalPriority Element11; + public QueueGlobalPriority Element12; + public QueueGlobalPriority Element13; + public QueueGlobalPriority Element14; + public QueueGlobalPriority Element15; + public ref QueueGlobalPriority this[int index] { get { @@ -91,7 +91,7 @@ public ref QueueGlobalPriorityKHR this[int index] throw new ArgumentOutOfRangeException(nameof(index)); } - fixed (QueueGlobalPriorityKHR* ptr = &Element0) + fixed (QueueGlobalPriority* ptr = &Element0) { return ref ptr[index]; } @@ -99,7 +99,7 @@ public ref QueueGlobalPriorityKHR this[int index] } #if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER - public Span AsSpan() + public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 16); #endif } @@ -108,7 +108,7 @@ public Span AsSpan() /// StructureType IStructuredType.StructureType() { - return SType = StructureType.QueueFamilyGlobalPriorityPropertiesKhr; + return SType = StructureType.QueueFamilyGlobalPriorityProperties; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyOwnershipTransferPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyOwnershipTransferPropertiesKHR.gen.cs new file mode 100644 index 0000000000..eb95ed8105 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyOwnershipTransferPropertiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkQueueFamilyOwnershipTransferPropertiesKHR")] + public unsafe partial struct QueueFamilyOwnershipTransferPropertiesKHR : IExtendsChain, IExtendsChain + { + public QueueFamilyOwnershipTransferPropertiesKHR + ( + StructureType? sType = StructureType.QueueFamilyOwnershipTransferPropertiesKhr, + void* pNext = null, + uint? optimalImageTransferToQueueFamilies = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (optimalImageTransferToQueueFamilies is not null) + { + OptimalImageTransferToQueueFamilies = optimalImageTransferToQueueFamilies.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "optimalImageTransferToQueueFamilies")] + public uint OptimalImageTransferToQueueFamilies; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.QueueFamilyOwnershipTransferPropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RayTracingPipelineClusterAccelerationStructureCreateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RayTracingPipelineClusterAccelerationStructureCreateInfoNV.gen.cs new file mode 100644 index 0000000000..685ac4c052 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RayTracingPipelineClusterAccelerationStructureCreateInfoNV.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRayTracingPipelineClusterAccelerationStructureCreateInfoNV")] + public unsafe partial struct RayTracingPipelineClusterAccelerationStructureCreateInfoNV : IExtendsChain + { + public RayTracingPipelineClusterAccelerationStructureCreateInfoNV + ( + StructureType? sType = StructureType.RayTracingPipelineClusterAccelerationStructureCreateInfoNV, + void* pNext = null, + Bool32? allowClusterAccelerationStructure = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (allowClusterAccelerationStructure is not null) + { + AllowClusterAccelerationStructure = allowClusterAccelerationStructure.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "allowClusterAccelerationStructure")] + public Bool32 AllowClusterAccelerationStructure; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RayTracingPipelineClusterAccelerationStructureCreateInfoNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoEXT.gen.cs index 59b869b6bc..24ec052bcb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkReleaseSwapchainImagesInfoEXT")] + [NativeName("AliasOf", "VkReleaseSwapchainImagesInfoKHR")] public unsafe partial struct ReleaseSwapchainImagesInfoEXT : IChainable { public ReleaseSwapchainImagesInfoEXT ( - StructureType? sType = StructureType.ReleaseSwapchainImagesInfoExt, + StructureType? sType = StructureType.ReleaseSwapchainImagesInfoKhr, void* pNext = null, SwapchainKHR? swapchain = null, uint? imageIndexCount = null, @@ -83,7 +84,7 @@ public ReleaseSwapchainImagesInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.ReleaseSwapchainImagesInfoExt; + return SType = StructureType.ReleaseSwapchainImagesInfoKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoKHR.gen.cs new file mode 100644 index 0000000000..a0b3dd4533 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ReleaseSwapchainImagesInfoKHR.gen.cs @@ -0,0 +1,97 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkReleaseSwapchainImagesInfoKHR")] + [NativeName("Aliases", "VkReleaseSwapchainImagesInfoEXT")] + public unsafe partial struct ReleaseSwapchainImagesInfoKHR : IChainable + { + public ReleaseSwapchainImagesInfoKHR + ( + StructureType? sType = StructureType.ReleaseSwapchainImagesInfoKhr, + void* pNext = null, + SwapchainKHR? swapchain = null, + uint? imageIndexCount = null, + uint* pImageIndices = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (swapchain is not null) + { + Swapchain = swapchain.Value; + } + + if (imageIndexCount is not null) + { + ImageIndexCount = imageIndexCount.Value; + } + + if (pImageIndices is not null) + { + PImageIndices = pImageIndices; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkSwapchainKHR")] + [NativeName("Type.Name", "VkSwapchainKHR")] + [NativeName("Name", "swapchain")] + public SwapchainKHR Swapchain; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "imageIndexCount")] + public uint ImageIndexCount; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pImageIndices")] + public uint* PImageIndices; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.ReleaseSwapchainImagesInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassFragmentDensityMapOffsetEndInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassFragmentDensityMapOffsetEndInfoEXT.gen.cs new file mode 100644 index 0000000000..472d00d714 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassFragmentDensityMapOffsetEndInfoEXT.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderPassFragmentDensityMapOffsetEndInfoEXT")] + [NativeName("Aliases", "VkSubpassFragmentDensityMapOffsetEndInfoQCOM")] + public unsafe partial struct RenderPassFragmentDensityMapOffsetEndInfoEXT : IExtendsChain, IExtendsChain, IExtendsChain + { + public RenderPassFragmentDensityMapOffsetEndInfoEXT + ( + StructureType? sType = StructureType.RenderPassFragmentDensityMapOffsetEndInfoExt, + void* pNext = null, + uint? fragmentDensityOffsetCount = null, + Offset2D* pFragmentDensityOffsets = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (fragmentDensityOffsetCount is not null) + { + FragmentDensityOffsetCount = fragmentDensityOffsetCount.Value; + } + + if (pFragmentDensityOffsets is not null) + { + PFragmentDensityOffsets = pFragmentDensityOffsets; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "fragmentDensityOffsetCount")] + public uint FragmentDensityOffsetCount; +/// + [NativeName("Type", "VkOffset2D*")] + [NativeName("Type.Name", "VkOffset2D")] + [NativeName("Name", "pFragmentDensityOffsets")] + public Offset2D* PFragmentDensityOffsets; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderPassFragmentDensityMapOffsetEndInfoExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassTileShadingCreateInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassTileShadingCreateInfoQCOM.gen.cs new file mode 100644 index 0000000000..fdfee0c472 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderPassTileShadingCreateInfoQCOM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderPassTileShadingCreateInfoQCOM")] + public unsafe partial struct RenderPassTileShadingCreateInfoQCOM : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public RenderPassTileShadingCreateInfoQCOM + ( + StructureType? sType = StructureType.RenderPassTileShadingCreateInfoQCom, + void* pNext = null, + TileShadingRenderPassFlagsQCOM? flags = null, + Extent2D? tileApronSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (tileApronSize is not null) + { + TileApronSize = tileApronSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTileShadingRenderPassFlagsQCOM")] + [NativeName("Type.Name", "VkTileShadingRenderPassFlagsQCOM")] + [NativeName("Name", "flags")] + public TileShadingRenderPassFlagsQCOM Flags; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "tileApronSize")] + public Extent2D TileApronSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderPassTileShadingCreateInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfo.gen.cs new file mode 100644 index 0000000000..35448796f7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfo.gen.cs @@ -0,0 +1,119 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderingAreaInfo")] + [NativeName("Aliases", "VkRenderingAreaInfoKHR")] + public unsafe partial struct RenderingAreaInfo : IChainable + { + public RenderingAreaInfo + ( + StructureType? sType = StructureType.RenderingAreaInfo, + void* pNext = null, + uint? viewMask = null, + uint? colorAttachmentCount = null, + Format* pColorAttachmentFormats = null, + Format? depthAttachmentFormat = null, + Format? stencilAttachmentFormat = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (viewMask is not null) + { + ViewMask = viewMask.Value; + } + + if (colorAttachmentCount is not null) + { + ColorAttachmentCount = colorAttachmentCount.Value; + } + + if (pColorAttachmentFormats is not null) + { + PColorAttachmentFormats = pColorAttachmentFormats; + } + + if (depthAttachmentFormat is not null) + { + DepthAttachmentFormat = depthAttachmentFormat.Value; + } + + if (stencilAttachmentFormat is not null) + { + StencilAttachmentFormat = stencilAttachmentFormat.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "viewMask")] + public uint ViewMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "colorAttachmentCount")] + public uint ColorAttachmentCount; +/// + [NativeName("Type", "VkFormat*")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "pColorAttachmentFormats")] + public Format* PColorAttachmentFormats; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "depthAttachmentFormat")] + public Format DepthAttachmentFormat; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "stencilAttachmentFormat")] + public Format StencilAttachmentFormat; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderingAreaInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfoKHR.gen.cs index fe2a336383..dfae3a3303 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAreaInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkRenderingAreaInfoKHR")] + [NativeName("AliasOf", "VkRenderingAreaInfo")] public unsafe partial struct RenderingAreaInfoKHR : IChainable { public RenderingAreaInfoKHR ( - StructureType? sType = StructureType.RenderingAreaInfoKhr, + StructureType? sType = StructureType.RenderingAreaInfo, void* pNext = null, uint? viewMask = null, uint? colorAttachmentCount = null, @@ -105,7 +106,7 @@ public RenderingAreaInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.RenderingAreaInfoKhr; + return SType = StructureType.RenderingAreaInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfo.gen.cs index 4af7224232..bc06cd960d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfo.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkRenderingAttachmentInfo")] [NativeName("Aliases", "VkRenderingAttachmentInfoKHR")] - public unsafe partial struct RenderingAttachmentInfo : IChainable + public unsafe partial struct RenderingAttachmentInfo : IChainStart { public RenderingAttachmentInfo ( @@ -148,5 +148,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref RenderingAttachmentInfo Chain( + out RenderingAttachmentInfo capture) + { + capture = new RenderingAttachmentInfo(StructureType.RenderingAttachmentInfo); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfoKHR.gen.cs index 7242cc10ce..1cb086a33f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentInfoKHR.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkRenderingAttachmentInfoKHR")] [NativeName("AliasOf", "VkRenderingAttachmentInfo")] - public unsafe partial struct RenderingAttachmentInfoKHR : IChainable + public unsafe partial struct RenderingAttachmentInfoKHR : IChainStart { public RenderingAttachmentInfoKHR ( @@ -148,5 +148,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref RenderingAttachmentInfoKHR Chain( + out RenderingAttachmentInfoKHR capture) + { + capture = new RenderingAttachmentInfoKHR(StructureType.RenderingAttachmentInfo); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfo.gen.cs new file mode 100644 index 0000000000..4014a3d749 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfo.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderingAttachmentLocationInfo")] + [NativeName("Aliases", "VkRenderingAttachmentLocationInfoKHR")] + public unsafe partial struct RenderingAttachmentLocationInfo : IExtendsChain, IExtendsChain + { + public RenderingAttachmentLocationInfo + ( + StructureType? sType = StructureType.RenderingAttachmentLocationInfo, + void* pNext = null, + uint? colorAttachmentCount = null, + uint* pColorAttachmentLocations = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (colorAttachmentCount is not null) + { + ColorAttachmentCount = colorAttachmentCount.Value; + } + + if (pColorAttachmentLocations is not null) + { + PColorAttachmentLocations = pColorAttachmentLocations; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "colorAttachmentCount")] + public uint ColorAttachmentCount; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pColorAttachmentLocations")] + public uint* PColorAttachmentLocations; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderingAttachmentLocationInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfoKHR.gen.cs index e9fb711ad7..bc387448f7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingAttachmentLocationInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkRenderingAttachmentLocationInfoKHR")] + [NativeName("AliasOf", "VkRenderingAttachmentLocationInfo")] public unsafe partial struct RenderingAttachmentLocationInfoKHR : IExtendsChain, IExtendsChain { public RenderingAttachmentLocationInfoKHR ( - StructureType? sType = StructureType.RenderingAttachmentLocationInfoKhr, + StructureType? sType = StructureType.RenderingAttachmentLocationInfo, void* pNext = null, uint? colorAttachmentCount = null, uint* pColorAttachmentLocations = null @@ -72,7 +73,7 @@ public RenderingAttachmentLocationInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.RenderingAttachmentLocationInfoKhr; + return SType = StructureType.RenderingAttachmentLocationInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingEndInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingEndInfoEXT.gen.cs new file mode 100644 index 0000000000..c6ed8a9fc8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingEndInfoEXT.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderingEndInfoEXT")] + public unsafe partial struct RenderingEndInfoEXT : IChainStart + { + public RenderingEndInfoEXT + ( + StructureType? sType = StructureType.RenderingEndInfoExt, + void* pNext = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderingEndInfoExt; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref RenderingEndInfoEXT Chain( + out RenderingEndInfoEXT capture) + { + capture = new RenderingEndInfoEXT(StructureType.RenderingEndInfoExt); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfo.gen.cs new file mode 100644 index 0000000000..aa9cf1fa5d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfo.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkRenderingInputAttachmentIndexInfo")] + [NativeName("Aliases", "VkRenderingInputAttachmentIndexInfoKHR")] + public unsafe partial struct RenderingInputAttachmentIndexInfo : IExtendsChain, IExtendsChain + { + public RenderingInputAttachmentIndexInfo + ( + StructureType? sType = StructureType.RenderingInputAttachmentIndexInfo, + void* pNext = null, + uint? colorAttachmentCount = null, + uint* pColorAttachmentInputIndices = null, + uint* pDepthInputAttachmentIndex = null, + uint* pStencilInputAttachmentIndex = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (colorAttachmentCount is not null) + { + ColorAttachmentCount = colorAttachmentCount.Value; + } + + if (pColorAttachmentInputIndices is not null) + { + PColorAttachmentInputIndices = pColorAttachmentInputIndices; + } + + if (pDepthInputAttachmentIndex is not null) + { + PDepthInputAttachmentIndex = pDepthInputAttachmentIndex; + } + + if (pStencilInputAttachmentIndex is not null) + { + PStencilInputAttachmentIndex = pStencilInputAttachmentIndex; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "colorAttachmentCount")] + public uint ColorAttachmentCount; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pColorAttachmentInputIndices")] + public uint* PColorAttachmentInputIndices; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pDepthInputAttachmentIndex")] + public uint* PDepthInputAttachmentIndex; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pStencilInputAttachmentIndex")] + public uint* PStencilInputAttachmentIndex; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.RenderingInputAttachmentIndexInfo; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfoKHR.gen.cs index b437f04069..47a8f48ed0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/RenderingInputAttachmentIndexInfoKHR.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkRenderingInputAttachmentIndexInfoKHR")] + [NativeName("AliasOf", "VkRenderingInputAttachmentIndexInfo")] public unsafe partial struct RenderingInputAttachmentIndexInfoKHR : IExtendsChain, IExtendsChain { public RenderingInputAttachmentIndexInfoKHR ( - StructureType? sType = StructureType.RenderingInputAttachmentIndexInfoKhr, + StructureType? sType = StructureType.RenderingInputAttachmentIndexInfo, void* pNext = null, uint? colorAttachmentCount = null, uint* pColorAttachmentInputIndices = null, @@ -94,7 +95,7 @@ public RenderingInputAttachmentIndexInfoKHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.RenderingInputAttachmentIndexInfoKhr; + return SType = StructureType.RenderingInputAttachmentIndexInfo; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SetPresentConfigNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SetPresentConfigNV.gen.cs new file mode 100644 index 0000000000..d8bd0ea19a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SetPresentConfigNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSetPresentConfigNV")] + public unsafe partial struct SetPresentConfigNV : IExtendsChain + { + public SetPresentConfigNV + ( + StructureType? sType = StructureType.SetPresentConfigNV, + void* pNext = null, + uint? numFramesPerBatch = null, + uint? presentConfigFeedback = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (numFramesPerBatch is not null) + { + NumFramesPerBatch = numFramesPerBatch.Value; + } + + if (presentConfigFeedback is not null) + { + PresentConfigFeedback = presentConfigFeedback.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "numFramesPerBatch")] + public uint NumFramesPerBatch; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "presentConfigFeedback")] + public uint PresentConfigFeedback; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SetPresentConfigNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs index f03bdfcbb1..1f4afca0d1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkShaderModuleCreateInfo")] - public unsafe partial struct ShaderModuleCreateInfo : IChainStart, IExtendsChain + public unsafe partial struct ShaderModuleCreateInfo : IChainStart, IExtendsChain, IExtendsChain { public ShaderModuleCreateInfo ( diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/StridedDeviceAddressNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/StridedDeviceAddressNV.gen.cs new file mode 100644 index 0000000000..6f8e23fb42 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/StridedDeviceAddressNV.gen.cs @@ -0,0 +1,50 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkStridedDeviceAddressNV")] + public unsafe partial struct StridedDeviceAddressNV + { + public StridedDeviceAddressNV + ( + ulong? startAddress = null, + ulong? strideInBytes = null + ) : this() + { + if (startAddress is not null) + { + StartAddress = startAddress.Value; + } + + if (strideInBytes is not null) + { + StrideInBytes = strideInBytes.Value; + } + } + +/// + [NativeName("Type", "VkDeviceAddress")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "startAddress")] + public ulong StartAddress; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "strideInBytes")] + public ulong StrideInBytes; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubpassFragmentDensityMapOffsetEndInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubpassFragmentDensityMapOffsetEndInfoQCOM.gen.cs index 7c7c17bfee..1b396baf38 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SubpassFragmentDensityMapOffsetEndInfoQCOM.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubpassFragmentDensityMapOffsetEndInfoQCOM.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSubpassFragmentDensityMapOffsetEndInfoQCOM")] - public unsafe partial struct SubpassFragmentDensityMapOffsetEndInfoQCOM : IExtendsChain, IExtendsChain + [NativeName("AliasOf", "VkRenderPassFragmentDensityMapOffsetEndInfoEXT")] + public unsafe partial struct SubpassFragmentDensityMapOffsetEndInfoQCOM : IExtendsChain, IExtendsChain, IExtendsChain { public SubpassFragmentDensityMapOffsetEndInfoQCOM ( - StructureType? sType = StructureType.SubpassFragmentDensityMapOffsetEndInfoQCom, + StructureType? sType = StructureType.RenderPassFragmentDensityMapOffsetEndInfoExt, void* pNext = null, uint? fragmentDensityOffsetCount = null, Offset2D* pFragmentDensityOffsets = null @@ -72,7 +73,7 @@ public SubpassFragmentDensityMapOffsetEndInfoQCOM /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SubpassFragmentDensityMapOffsetEndInfoQCom; + return SType = StructureType.RenderPassFragmentDensityMapOffsetEndInfoExt; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySize.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySize.gen.cs new file mode 100644 index 0000000000..9ee792d938 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySize.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSubresourceHostMemcpySize")] + [NativeName("Aliases", "VkSubresourceHostMemcpySizeEXT")] + public unsafe partial struct SubresourceHostMemcpySize : IExtendsChain, IExtendsChain, IExtendsChain + { + public SubresourceHostMemcpySize + ( + StructureType? sType = StructureType.SubresourceHostMemcpySize, + void* pNext = null, + ulong? size = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (size is not null) + { + Size = size.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "size")] + public ulong Size; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SubresourceHostMemcpySize; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySizeEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySizeEXT.gen.cs index 5e3d830c91..43ffaa57df 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySizeEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceHostMemcpySizeEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSubresourceHostMemcpySizeEXT")] - public unsafe partial struct SubresourceHostMemcpySizeEXT : IExtendsChain, IExtendsChain + [NativeName("AliasOf", "VkSubresourceHostMemcpySize")] + public unsafe partial struct SubresourceHostMemcpySizeEXT : IExtendsChain, IExtendsChain, IExtendsChain { public SubresourceHostMemcpySizeEXT ( - StructureType? sType = StructureType.SubresourceHostMemcpySizeExt, + StructureType? sType = StructureType.SubresourceHostMemcpySize, void* pNext = null, ulong? size = null ) : this() @@ -61,7 +62,7 @@ public SubresourceHostMemcpySizeEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SubresourceHostMemcpySizeExt; + return SType = StructureType.SubresourceHostMemcpySize; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2.gen.cs new file mode 100644 index 0000000000..643b6fa6ea --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2.gen.cs @@ -0,0 +1,87 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSubresourceLayout2")] + [NativeName("Aliases", "VkSubresourceLayout2KHR, VkSubresourceLayout2EXT")] + public unsafe partial struct SubresourceLayout2 : IChainStart + { + public SubresourceLayout2 + ( + StructureType? sType = StructureType.SubresourceLayout2, + void* pNext = null, + SubresourceLayout? subresourceLayout = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (subresourceLayout is not null) + { + SubresourceLayout = subresourceLayout.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkSubresourceLayout")] + [NativeName("Type.Name", "VkSubresourceLayout")] + [NativeName("Name", "subresourceLayout")] + public SubresourceLayout SubresourceLayout; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SubresourceLayout2; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref SubresourceLayout2 Chain( + out SubresourceLayout2 capture) + { + capture = new SubresourceLayout2(StructureType.SubresourceLayout2); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2EXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2EXT.gen.cs index 79cf67de9c..7091078b5b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2EXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2EXT.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSubresourceLayout2EXT")] - [NativeName("AliasOf", "VkSubresourceLayout2KHR")] + [NativeName("AliasOf", "VkSubresourceLayout2")] public unsafe partial struct SubresourceLayout2EXT : IChainStart { public SubresourceLayout2EXT ( - StructureType? sType = StructureType.SubresourceLayout2Khr, + StructureType? sType = StructureType.SubresourceLayout2, void* pNext = null, SubresourceLayout? subresourceLayout = null ) : this() @@ -62,7 +62,7 @@ public SubresourceLayout2EXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SubresourceLayout2Khr; + return SType = StructureType.SubresourceLayout2; } /// @@ -80,7 +80,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref SubresourceLayout2EXT Chain( out SubresourceLayout2EXT capture) { - capture = new SubresourceLayout2EXT(StructureType.SubresourceLayout2Khr); + capture = new SubresourceLayout2EXT(StructureType.SubresourceLayout2); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2KHR.gen.cs index 97f2000a6d..d3ff47c769 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SubresourceLayout2KHR.gen.cs @@ -17,12 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSubresourceLayout2KHR")] - [NativeName("Aliases", "VkSubresourceLayout2EXT")] + [NativeName("AliasOf", "VkSubresourceLayout2")] public unsafe partial struct SubresourceLayout2KHR : IChainStart { public SubresourceLayout2KHR ( - StructureType? sType = StructureType.SubresourceLayout2Khr, + StructureType? sType = StructureType.SubresourceLayout2, void* pNext = null, SubresourceLayout? subresourceLayout = null ) : this() @@ -62,7 +62,7 @@ public SubresourceLayout2KHR /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SubresourceLayout2Khr; + return SType = StructureType.SubresourceLayout2; } /// @@ -80,7 +80,7 @@ unsafe BaseInStructure* IChainable.PNext public static unsafe ref SubresourceLayout2KHR Chain( out SubresourceLayout2KHR capture) { - capture = new SubresourceLayout2KHR(StructureType.SubresourceLayout2Khr); + capture = new SubresourceLayout2KHR(StructureType.SubresourceLayout2); return ref capture; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentId2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentId2KHR.gen.cs new file mode 100644 index 0000000000..cc37bef921 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentId2KHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfaceCapabilitiesPresentId2KHR")] + public unsafe partial struct SurfaceCapabilitiesPresentId2KHR : IExtendsChain + { + public SurfaceCapabilitiesPresentId2KHR + ( + StructureType? sType = StructureType.SurfaceCapabilitiesPresentID2Khr, + void* pNext = null, + Bool32? presentId2Supported = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentId2Supported is not null) + { + PresentId2Supported = presentId2Supported.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentId2Supported")] + public Bool32 PresentId2Supported; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfaceCapabilitiesPresentID2Khr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentWait2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentWait2KHR.gen.cs new file mode 100644 index 0000000000..f2523d2e28 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCapabilitiesPresentWait2KHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfaceCapabilitiesPresentWait2KHR")] + public unsafe partial struct SurfaceCapabilitiesPresentWait2KHR : IExtendsChain + { + public SurfaceCapabilitiesPresentWait2KHR + ( + StructureType? sType = StructureType.SurfaceCapabilitiesPresentWait2Khr, + void* pNext = null, + Bool32? presentWait2Supported = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentWait2Supported is not null) + { + PresentWait2Supported = presentWait2Supported.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "presentWait2Supported")] + public Bool32 PresentWait2Supported; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfaceCapabilitiesPresentWait2Khr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCreateInfoOHOS.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCreateInfoOHOS.gen.cs new file mode 100644 index 0000000000..9d133c0838 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceCreateInfoOHOS.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfaceCreateInfoOHOS")] + public unsafe partial struct SurfaceCreateInfoOHOS : IChainable + { + public SurfaceCreateInfoOHOS + ( + StructureType? sType = StructureType.SurfaceCreateInfoOhos, + void* pNext = null, + uint? flags = null, + nint* window = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (window is not null) + { + Window = window; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkSurfaceCreateFlagsOHOS")] + [NativeName("Type.Name", "VkSurfaceCreateFlagsOHOS")] + [NativeName("Name", "flags")] + public uint Flags; +/// + [NativeName("Type", "OHNativeWindow*")] + [NativeName("Type.Name", "OHNativeWindow")] + [NativeName("Name", "window")] + public nint* Window; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfaceCreateInfoOhos; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityEXT.gen.cs index 9e1a699dfd..61fa0714f4 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSurfacePresentModeCompatibilityEXT")] + [NativeName("AliasOf", "VkSurfacePresentModeCompatibilityKHR")] public unsafe partial struct SurfacePresentModeCompatibilityEXT : IExtendsChain { public SurfacePresentModeCompatibilityEXT ( - StructureType? sType = StructureType.SurfacePresentModeCompatibilityExt, + StructureType? sType = StructureType.SurfacePresentModeCompatibilityKhr, void* pNext = null, uint? presentModeCount = null, PresentModeKHR* pPresentModes = null @@ -72,7 +73,7 @@ public SurfacePresentModeCompatibilityEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SurfacePresentModeCompatibilityExt; + return SType = StructureType.SurfacePresentModeCompatibilityKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityKHR.gen.cs new file mode 100644 index 0000000000..4245eab2e9 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeCompatibilityKHR.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfacePresentModeCompatibilityKHR")] + [NativeName("Aliases", "VkSurfacePresentModeCompatibilityEXT")] + public unsafe partial struct SurfacePresentModeCompatibilityKHR : IExtendsChain + { + public SurfacePresentModeCompatibilityKHR + ( + StructureType? sType = StructureType.SurfacePresentModeCompatibilityKhr, + void* pNext = null, + uint? presentModeCount = null, + PresentModeKHR* pPresentModes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentModeCount is not null) + { + PresentModeCount = presentModeCount.Value; + } + + if (pPresentModes is not null) + { + PPresentModes = pPresentModes; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "presentModeCount")] + public uint PresentModeCount; +/// + [NativeName("Type", "VkPresentModeKHR*")] + [NativeName("Type.Name", "VkPresentModeKHR")] + [NativeName("Name", "pPresentModes")] + public PresentModeKHR* PPresentModes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfacePresentModeCompatibilityKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeEXT.gen.cs index c0a180b7ef..02ac5490b1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSurfacePresentModeEXT")] + [NativeName("AliasOf", "VkSurfacePresentModeKHR")] public unsafe partial struct SurfacePresentModeEXT : IExtendsChain { public SurfacePresentModeEXT ( - StructureType? sType = StructureType.SurfacePresentModeExt, + StructureType? sType = StructureType.SurfacePresentModeKhr, void* pNext = null, PresentModeKHR? presentMode = null ) : this() @@ -61,7 +62,7 @@ public SurfacePresentModeEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SurfacePresentModeExt; + return SType = StructureType.SurfacePresentModeKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeKHR.gen.cs new file mode 100644 index 0000000000..a66a5cf6b0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentModeKHR.gen.cs @@ -0,0 +1,75 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfacePresentModeKHR")] + [NativeName("Aliases", "VkSurfacePresentModeEXT")] + public unsafe partial struct SurfacePresentModeKHR : IExtendsChain + { + public SurfacePresentModeKHR + ( + StructureType? sType = StructureType.SurfacePresentModeKhr, + void* pNext = null, + PresentModeKHR? presentMode = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentMode is not null) + { + PresentMode = presentMode.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPresentModeKHR")] + [NativeName("Type.Name", "VkPresentModeKHR")] + [NativeName("Name", "presentMode")] + public PresentModeKHR PresentMode; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfacePresentModeKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesEXT.gen.cs index f901d83432..ecdea11976 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesEXT.gen.cs @@ -17,15 +17,16 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSurfacePresentScalingCapabilitiesEXT")] + [NativeName("AliasOf", "VkSurfacePresentScalingCapabilitiesKHR")] public unsafe partial struct SurfacePresentScalingCapabilitiesEXT : IExtendsChain { public SurfacePresentScalingCapabilitiesEXT ( - StructureType? sType = StructureType.SurfacePresentScalingCapabilitiesExt, + StructureType? sType = StructureType.SurfacePresentScalingCapabilitiesKhr, void* pNext = null, - PresentScalingFlagsEXT? supportedPresentScaling = null, - PresentGravityFlagsEXT? supportedPresentGravityX = null, - PresentGravityFlagsEXT? supportedPresentGravityY = null, + PresentScalingFlagsKHR? supportedPresentScaling = null, + PresentGravityFlagsKHR? supportedPresentGravityX = null, + PresentGravityFlagsKHR? supportedPresentGravityY = null, Extent2D? minScaledImageExtent = null, Extent2D? maxScaledImageExtent = null ) : this() @@ -77,20 +78,20 @@ public SurfacePresentScalingCapabilitiesEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkPresentScalingFlagsEXT")] - [NativeName("Type.Name", "VkPresentScalingFlagsEXT")] + [NativeName("Type", "VkPresentScalingFlagsKHR")] + [NativeName("Type.Name", "VkPresentScalingFlagsKHR")] [NativeName("Name", "supportedPresentScaling")] - public PresentScalingFlagsEXT SupportedPresentScaling; + public PresentScalingFlagsKHR SupportedPresentScaling; /// - [NativeName("Type", "VkPresentGravityFlagsEXT")] - [NativeName("Type.Name", "VkPresentGravityFlagsEXT")] + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] [NativeName("Name", "supportedPresentGravityX")] - public PresentGravityFlagsEXT SupportedPresentGravityX; + public PresentGravityFlagsKHR SupportedPresentGravityX; /// - [NativeName("Type", "VkPresentGravityFlagsEXT")] - [NativeName("Type.Name", "VkPresentGravityFlagsEXT")] + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] [NativeName("Name", "supportedPresentGravityY")] - public PresentGravityFlagsEXT SupportedPresentGravityY; + public PresentGravityFlagsKHR SupportedPresentGravityY; /// [NativeName("Type", "VkExtent2D")] [NativeName("Type.Name", "VkExtent2D")] @@ -105,7 +106,7 @@ public SurfacePresentScalingCapabilitiesEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SurfacePresentScalingCapabilitiesExt; + return SType = StructureType.SurfacePresentScalingCapabilitiesKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..67d983c8ff --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfacePresentScalingCapabilitiesKHR.gen.cs @@ -0,0 +1,119 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSurfacePresentScalingCapabilitiesKHR")] + [NativeName("Aliases", "VkSurfacePresentScalingCapabilitiesEXT")] + public unsafe partial struct SurfacePresentScalingCapabilitiesKHR : IExtendsChain + { + public SurfacePresentScalingCapabilitiesKHR + ( + StructureType? sType = StructureType.SurfacePresentScalingCapabilitiesKhr, + void* pNext = null, + PresentScalingFlagsKHR? supportedPresentScaling = null, + PresentGravityFlagsKHR? supportedPresentGravityX = null, + PresentGravityFlagsKHR? supportedPresentGravityY = null, + Extent2D? minScaledImageExtent = null, + Extent2D? maxScaledImageExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (supportedPresentScaling is not null) + { + SupportedPresentScaling = supportedPresentScaling.Value; + } + + if (supportedPresentGravityX is not null) + { + SupportedPresentGravityX = supportedPresentGravityX.Value; + } + + if (supportedPresentGravityY is not null) + { + SupportedPresentGravityY = supportedPresentGravityY.Value; + } + + if (minScaledImageExtent is not null) + { + MinScaledImageExtent = minScaledImageExtent.Value; + } + + if (maxScaledImageExtent is not null) + { + MaxScaledImageExtent = maxScaledImageExtent.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPresentScalingFlagsKHR")] + [NativeName("Type.Name", "VkPresentScalingFlagsKHR")] + [NativeName("Name", "supportedPresentScaling")] + public PresentScalingFlagsKHR SupportedPresentScaling; +/// + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] + [NativeName("Name", "supportedPresentGravityX")] + public PresentGravityFlagsKHR SupportedPresentGravityX; +/// + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] + [NativeName("Name", "supportedPresentGravityY")] + public PresentGravityFlagsKHR SupportedPresentGravityY; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "minScaledImageExtent")] + public Extent2D MinScaledImageExtent; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "maxScaledImageExtent")] + public Extent2D MaxScaledImageExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SurfacePresentScalingCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoEXT.gen.cs index b8f00b6185..dab7dd322d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSwapchainPresentFenceInfoEXT")] + [NativeName("AliasOf", "VkSwapchainPresentFenceInfoKHR")] public unsafe partial struct SwapchainPresentFenceInfoEXT : IExtendsChain { public SwapchainPresentFenceInfoEXT ( - StructureType? sType = StructureType.SwapchainPresentFenceInfoExt, + StructureType? sType = StructureType.SwapchainPresentFenceInfoKhr, void* pNext = null, uint? swapchainCount = null, Fence* pFences = null @@ -72,7 +73,7 @@ public SwapchainPresentFenceInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SwapchainPresentFenceInfoExt; + return SType = StructureType.SwapchainPresentFenceInfoKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoKHR.gen.cs new file mode 100644 index 0000000000..a3a00531ee --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentFenceInfoKHR.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSwapchainPresentFenceInfoKHR")] + [NativeName("Aliases", "VkSwapchainPresentFenceInfoEXT")] + public unsafe partial struct SwapchainPresentFenceInfoKHR : IExtendsChain + { + public SwapchainPresentFenceInfoKHR + ( + StructureType? sType = StructureType.SwapchainPresentFenceInfoKhr, + void* pNext = null, + uint? swapchainCount = null, + Fence* pFences = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (swapchainCount is not null) + { + SwapchainCount = swapchainCount.Value; + } + + if (pFences is not null) + { + PFences = pFences; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "swapchainCount")] + public uint SwapchainCount; +/// + [NativeName("Type", "VkFence*")] + [NativeName("Type.Name", "VkFence")] + [NativeName("Name", "pFences")] + public Fence* PFences; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SwapchainPresentFenceInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoEXT.gen.cs index 5720ad8177..afc275a4fd 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSwapchainPresentModeInfoEXT")] + [NativeName("AliasOf", "VkSwapchainPresentModeInfoKHR")] public unsafe partial struct SwapchainPresentModeInfoEXT : IExtendsChain { public SwapchainPresentModeInfoEXT ( - StructureType? sType = StructureType.SwapchainPresentModeInfoExt, + StructureType? sType = StructureType.SwapchainPresentModeInfoKhr, void* pNext = null, uint? swapchainCount = null, PresentModeKHR* pPresentModes = null @@ -72,7 +73,7 @@ public SwapchainPresentModeInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SwapchainPresentModeInfoExt; + return SType = StructureType.SwapchainPresentModeInfoKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoKHR.gen.cs new file mode 100644 index 0000000000..77c9cd5a94 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModeInfoKHR.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSwapchainPresentModeInfoKHR")] + [NativeName("Aliases", "VkSwapchainPresentModeInfoEXT")] + public unsafe partial struct SwapchainPresentModeInfoKHR : IExtendsChain + { + public SwapchainPresentModeInfoKHR + ( + StructureType? sType = StructureType.SwapchainPresentModeInfoKhr, + void* pNext = null, + uint? swapchainCount = null, + PresentModeKHR* pPresentModes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (swapchainCount is not null) + { + SwapchainCount = swapchainCount.Value; + } + + if (pPresentModes is not null) + { + PPresentModes = pPresentModes; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "swapchainCount")] + public uint SwapchainCount; +/// + [NativeName("Type", "VkPresentModeKHR*")] + [NativeName("Type.Name", "VkPresentModeKHR")] + [NativeName("Name", "pPresentModes")] + public PresentModeKHR* PPresentModes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SwapchainPresentModeInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoEXT.gen.cs index 4aab197bdd..adbef8e78b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoEXT.gen.cs @@ -17,11 +17,12 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSwapchainPresentModesCreateInfoEXT")] + [NativeName("AliasOf", "VkSwapchainPresentModesCreateInfoKHR")] public unsafe partial struct SwapchainPresentModesCreateInfoEXT : IExtendsChain { public SwapchainPresentModesCreateInfoEXT ( - StructureType? sType = StructureType.SwapchainPresentModesCreateInfoExt, + StructureType? sType = StructureType.SwapchainPresentModesCreateInfoKhr, void* pNext = null, uint? presentModeCount = null, PresentModeKHR* pPresentModes = null @@ -72,7 +73,7 @@ public SwapchainPresentModesCreateInfoEXT /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SwapchainPresentModesCreateInfoExt; + return SType = StructureType.SwapchainPresentModesCreateInfoKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..009b4d9ad0 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentModesCreateInfoKHR.gen.cs @@ -0,0 +1,86 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSwapchainPresentModesCreateInfoKHR")] + [NativeName("Aliases", "VkSwapchainPresentModesCreateInfoEXT")] + public unsafe partial struct SwapchainPresentModesCreateInfoKHR : IExtendsChain + { + public SwapchainPresentModesCreateInfoKHR + ( + StructureType? sType = StructureType.SwapchainPresentModesCreateInfoKhr, + void* pNext = null, + uint? presentModeCount = null, + PresentModeKHR* pPresentModes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (presentModeCount is not null) + { + PresentModeCount = presentModeCount.Value; + } + + if (pPresentModes is not null) + { + PPresentModes = pPresentModes; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "presentModeCount")] + public uint PresentModeCount; +/// + [NativeName("Type", "VkPresentModeKHR*")] + [NativeName("Type.Name", "VkPresentModeKHR")] + [NativeName("Name", "pPresentModes")] + public PresentModeKHR* PPresentModes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SwapchainPresentModesCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoEXT.gen.cs index 5c143eb49c..0fd5075059 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoEXT.gen.cs @@ -17,15 +17,16 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkSwapchainPresentScalingCreateInfoEXT")] + [NativeName("AliasOf", "VkSwapchainPresentScalingCreateInfoKHR")] public unsafe partial struct SwapchainPresentScalingCreateInfoEXT : IExtendsChain { public SwapchainPresentScalingCreateInfoEXT ( - StructureType? sType = StructureType.SwapchainPresentScalingCreateInfoExt, + StructureType? sType = StructureType.SwapchainPresentScalingCreateInfoKhr, void* pNext = null, - PresentScalingFlagsEXT? scalingBehavior = null, - PresentGravityFlagsEXT? presentGravityX = null, - PresentGravityFlagsEXT? presentGravityY = null + PresentScalingFlagsKHR? scalingBehavior = null, + PresentGravityFlagsKHR? presentGravityX = null, + PresentGravityFlagsKHR? presentGravityY = null ) : this() { if (sType is not null) @@ -65,25 +66,25 @@ public SwapchainPresentScalingCreateInfoEXT [NativeName("Name", "pNext")] public void* PNext; /// - [NativeName("Type", "VkPresentScalingFlagsEXT")] - [NativeName("Type.Name", "VkPresentScalingFlagsEXT")] + [NativeName("Type", "VkPresentScalingFlagsKHR")] + [NativeName("Type.Name", "VkPresentScalingFlagsKHR")] [NativeName("Name", "scalingBehavior")] - public PresentScalingFlagsEXT ScalingBehavior; + public PresentScalingFlagsKHR ScalingBehavior; /// - [NativeName("Type", "VkPresentGravityFlagsEXT")] - [NativeName("Type.Name", "VkPresentGravityFlagsEXT")] + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] [NativeName("Name", "presentGravityX")] - public PresentGravityFlagsEXT PresentGravityX; + public PresentGravityFlagsKHR PresentGravityX; /// - [NativeName("Type", "VkPresentGravityFlagsEXT")] - [NativeName("Type.Name", "VkPresentGravityFlagsEXT")] + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] [NativeName("Name", "presentGravityY")] - public PresentGravityFlagsEXT PresentGravityY; + public PresentGravityFlagsKHR PresentGravityY; /// StructureType IStructuredType.StructureType() { - return SType = StructureType.SwapchainPresentScalingCreateInfoExt; + return SType = StructureType.SwapchainPresentScalingCreateInfoKhr; } /// diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..e66021ce73 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SwapchainPresentScalingCreateInfoKHR.gen.cs @@ -0,0 +1,97 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSwapchainPresentScalingCreateInfoKHR")] + [NativeName("Aliases", "VkSwapchainPresentScalingCreateInfoEXT")] + public unsafe partial struct SwapchainPresentScalingCreateInfoKHR : IExtendsChain + { + public SwapchainPresentScalingCreateInfoKHR + ( + StructureType? sType = StructureType.SwapchainPresentScalingCreateInfoKhr, + void* pNext = null, + PresentScalingFlagsKHR? scalingBehavior = null, + PresentGravityFlagsKHR? presentGravityX = null, + PresentGravityFlagsKHR? presentGravityY = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (scalingBehavior is not null) + { + ScalingBehavior = scalingBehavior.Value; + } + + if (presentGravityX is not null) + { + PresentGravityX = presentGravityX.Value; + } + + if (presentGravityY is not null) + { + PresentGravityY = presentGravityY.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPresentScalingFlagsKHR")] + [NativeName("Type.Name", "VkPresentScalingFlagsKHR")] + [NativeName("Name", "scalingBehavior")] + public PresentScalingFlagsKHR ScalingBehavior; +/// + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] + [NativeName("Name", "presentGravityX")] + public PresentGravityFlagsKHR PresentGravityX; +/// + [NativeName("Type", "VkPresentGravityFlagsKHR")] + [NativeName("Type.Name", "VkPresentGravityFlagsKHR")] + [NativeName("Name", "presentGravityY")] + public PresentGravityFlagsKHR PresentGravityY; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.SwapchainPresentScalingCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorARM.gen.cs new file mode 100644 index 0000000000..407a820220 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorARM.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorARM")] + public unsafe partial struct TensorARM + { + public TensorARM + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCaptureDescriptorDataInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCaptureDescriptorDataInfoARM.gen.cs new file mode 100644 index 0000000000..dc19913d3d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCaptureDescriptorDataInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorCaptureDescriptorDataInfoARM")] + public unsafe partial struct TensorCaptureDescriptorDataInfoARM : IChainable + { + public TensorCaptureDescriptorDataInfoARM + ( + StructureType? sType = StructureType.TensorCaptureDescriptorDataInfoArm, + void* pNext = null, + TensorARM? tensor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorCaptureDescriptorDataInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCopyARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCopyARM.gen.cs new file mode 100644 index 0000000000..f649e15017 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCopyARM.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorCopyARM")] + public unsafe partial struct TensorCopyARM : IChainable + { + public TensorCopyARM + ( + StructureType? sType = StructureType.TensorCopyArm, + void* pNext = null, + uint? dimensionCount = null, + ulong* pSrcOffset = null, + ulong* pDstOffset = null, + ulong* pExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dimensionCount is not null) + { + DimensionCount = dimensionCount.Value; + } + + if (pSrcOffset is not null) + { + PSrcOffset = pSrcOffset; + } + + if (pDstOffset is not null) + { + PDstOffset = pDstOffset; + } + + if (pExtent is not null) + { + PExtent = pExtent; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dimensionCount")] + public uint DimensionCount; +/// + [NativeName("Type", "uint64_t*")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "pSrcOffset")] + public ulong* PSrcOffset; +/// + [NativeName("Type", "uint64_t*")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "pDstOffset")] + public ulong* PDstOffset; +/// + [NativeName("Type", "uint64_t*")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "pExtent")] + public ulong* PExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorCopyArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCreateInfoARM.gen.cs new file mode 100644 index 0000000000..ac5621cd25 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorCreateInfoARM.gen.cs @@ -0,0 +1,130 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorCreateInfoARM")] + public unsafe partial struct TensorCreateInfoARM : IChainStart + { + public TensorCreateInfoARM + ( + StructureType? sType = StructureType.TensorCreateInfoArm, + void* pNext = null, + TensorCreateFlagsARM? flags = null, + TensorDescriptionARM* pDescription = null, + SharingMode? sharingMode = null, + uint? queueFamilyIndexCount = null, + uint* pQueueFamilyIndices = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (pDescription is not null) + { + PDescription = pDescription; + } + + if (sharingMode is not null) + { + SharingMode = sharingMode.Value; + } + + if (queueFamilyIndexCount is not null) + { + QueueFamilyIndexCount = queueFamilyIndexCount.Value; + } + + if (pQueueFamilyIndices is not null) + { + PQueueFamilyIndices = pQueueFamilyIndices; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorCreateFlagsARM")] + [NativeName("Type.Name", "VkTensorCreateFlagsARM")] + [NativeName("Name", "flags")] + public TensorCreateFlagsARM Flags; +/// + [NativeName("Type", "VkTensorDescriptionARM*")] + [NativeName("Type.Name", "VkTensorDescriptionARM")] + [NativeName("Name", "pDescription")] + public TensorDescriptionARM* PDescription; +/// + [NativeName("Type", "VkSharingMode")] + [NativeName("Type.Name", "VkSharingMode")] + [NativeName("Name", "sharingMode")] + public SharingMode SharingMode; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "queueFamilyIndexCount")] + public uint QueueFamilyIndexCount; +/// + [NativeName("Type", "uint32_t*")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "pQueueFamilyIndices")] + public uint* PQueueFamilyIndices; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref TensorCreateInfoARM Chain( + out TensorCreateInfoARM capture) + { + capture = new TensorCreateInfoARM(StructureType.TensorCreateInfoArm); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDependencyInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDependencyInfoARM.gen.cs new file mode 100644 index 0000000000..3aa692279f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDependencyInfoARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorDependencyInfoARM")] + public unsafe partial struct TensorDependencyInfoARM : IExtendsChain, IExtendsChain + { + public TensorDependencyInfoARM + ( + StructureType? sType = StructureType.TensorDependencyInfoArm, + void* pNext = null, + uint? tensorMemoryBarrierCount = null, + TensorMemoryBarrierARM* pTensorMemoryBarriers = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorMemoryBarrierCount is not null) + { + TensorMemoryBarrierCount = tensorMemoryBarrierCount.Value; + } + + if (pTensorMemoryBarriers is not null) + { + PTensorMemoryBarriers = pTensorMemoryBarriers; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "tensorMemoryBarrierCount")] + public uint TensorMemoryBarrierCount; +/// + [NativeName("Type", "VkTensorMemoryBarrierARM*")] + [NativeName("Type.Name", "VkTensorMemoryBarrierARM")] + [NativeName("Name", "pTensorMemoryBarriers")] + public TensorMemoryBarrierARM* PTensorMemoryBarriers; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorDependencyInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDescriptionARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDescriptionARM.gen.cs new file mode 100644 index 0000000000..cdebb02024 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorDescriptionARM.gen.cs @@ -0,0 +1,129 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorDescriptionARM")] + public unsafe partial struct TensorDescriptionARM : IExtendsChain, IExtendsChain + { + public TensorDescriptionARM + ( + StructureType? sType = StructureType.TensorDescriptionArm, + void* pNext = null, + TensorTilingARM? tiling = null, + Format? format = null, + uint? dimensionCount = null, + long* pDimensions = null, + long* pStrides = null, + TensorUsageFlagsARM? usage = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tiling is not null) + { + Tiling = tiling.Value; + } + + if (format is not null) + { + Format = format.Value; + } + + if (dimensionCount is not null) + { + DimensionCount = dimensionCount.Value; + } + + if (pDimensions is not null) + { + PDimensions = pDimensions; + } + + if (pStrides is not null) + { + PStrides = pStrides; + } + + if (usage is not null) + { + Usage = usage.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorTilingARM")] + [NativeName("Type.Name", "VkTensorTilingARM")] + [NativeName("Name", "tiling")] + public TensorTilingARM Tiling; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "format")] + public Format Format; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dimensionCount")] + public uint DimensionCount; +/// + [NativeName("Type", "int64_t*")] + [NativeName("Type.Name", "int64_t")] + [NativeName("Name", "pDimensions")] + public long* PDimensions; +/// + [NativeName("Type", "int64_t*")] + [NativeName("Type.Name", "int64_t")] + [NativeName("Name", "pStrides")] + public long* PStrides; +/// + [NativeName("Type", "VkTensorUsageFlagsARM")] + [NativeName("Type.Name", "VkTensorUsageFlagsARM")] + [NativeName("Name", "usage")] + public TensorUsageFlagsARM Usage; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorDescriptionArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorFormatPropertiesARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorFormatPropertiesARM.gen.cs new file mode 100644 index 0000000000..6a85cbdcf5 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorFormatPropertiesARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorFormatPropertiesARM")] + public unsafe partial struct TensorFormatPropertiesARM : IExtendsChain, IExtendsChain + { + public TensorFormatPropertiesARM + ( + StructureType? sType = StructureType.TensorFormatPropertiesArm, + void* pNext = null, + FormatFeatureFlags2? optimalTilingTensorFeatures = null, + FormatFeatureFlags2? linearTilingTensorFeatures = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (optimalTilingTensorFeatures is not null) + { + OptimalTilingTensorFeatures = optimalTilingTensorFeatures.Value; + } + + if (linearTilingTensorFeatures is not null) + { + LinearTilingTensorFeatures = linearTilingTensorFeatures.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkFormatFeatureFlags2")] + [NativeName("Type.Name", "VkFormatFeatureFlags2")] + [NativeName("Name", "optimalTilingTensorFeatures")] + public FormatFeatureFlags2 OptimalTilingTensorFeatures; +/// + [NativeName("Type", "VkFormatFeatureFlags2")] + [NativeName("Type.Name", "VkFormatFeatureFlags2")] + [NativeName("Name", "linearTilingTensorFeatures")] + public FormatFeatureFlags2 LinearTilingTensorFeatures; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorFormatPropertiesArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryBarrierARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryBarrierARM.gen.cs new file mode 100644 index 0000000000..650073b88d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryBarrierARM.gen.cs @@ -0,0 +1,140 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorMemoryBarrierARM")] + public unsafe partial struct TensorMemoryBarrierARM : IExtendsChain, IExtendsChain + { + public TensorMemoryBarrierARM + ( + StructureType? sType = StructureType.TensorMemoryBarrierArm, + void* pNext = null, + PipelineStageFlags2? srcStageMask = null, + AccessFlags2? srcAccessMask = null, + PipelineStageFlags2? dstStageMask = null, + AccessFlags2? dstAccessMask = null, + uint? srcQueueFamilyIndex = null, + uint? dstQueueFamilyIndex = null, + TensorARM? tensor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (srcStageMask is not null) + { + SrcStageMask = srcStageMask.Value; + } + + if (srcAccessMask is not null) + { + SrcAccessMask = srcAccessMask.Value; + } + + if (dstStageMask is not null) + { + DstStageMask = dstStageMask.Value; + } + + if (dstAccessMask is not null) + { + DstAccessMask = dstAccessMask.Value; + } + + if (srcQueueFamilyIndex is not null) + { + SrcQueueFamilyIndex = srcQueueFamilyIndex.Value; + } + + if (dstQueueFamilyIndex is not null) + { + DstQueueFamilyIndex = dstQueueFamilyIndex.Value; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkPipelineStageFlags2")] + [NativeName("Type.Name", "VkPipelineStageFlags2")] + [NativeName("Name", "srcStageMask")] + public PipelineStageFlags2 SrcStageMask; +/// + [NativeName("Type", "VkAccessFlags2")] + [NativeName("Type.Name", "VkAccessFlags2")] + [NativeName("Name", "srcAccessMask")] + public AccessFlags2 SrcAccessMask; +/// + [NativeName("Type", "VkPipelineStageFlags2")] + [NativeName("Type.Name", "VkPipelineStageFlags2")] + [NativeName("Name", "dstStageMask")] + public PipelineStageFlags2 DstStageMask; +/// + [NativeName("Type", "VkAccessFlags2")] + [NativeName("Type.Name", "VkAccessFlags2")] + [NativeName("Name", "dstAccessMask")] + public AccessFlags2 DstAccessMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "srcQueueFamilyIndex")] + public uint SrcQueueFamilyIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dstQueueFamilyIndex")] + public uint DstQueueFamilyIndex; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorMemoryBarrierArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryRequirementsInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryRequirementsInfoARM.gen.cs new file mode 100644 index 0000000000..881bee38f1 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorMemoryRequirementsInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorMemoryRequirementsInfoARM")] + public unsafe partial struct TensorMemoryRequirementsInfoARM : IChainable + { + public TensorMemoryRequirementsInfoARM + ( + StructureType? sType = StructureType.TensorMemoryRequirementsInfoArm, + void* pNext = null, + TensorARM? tensor = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorMemoryRequirementsInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewARM.gen.cs new file mode 100644 index 0000000000..ba3b1e118a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewARM.gen.cs @@ -0,0 +1,45 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorViewARM")] + public unsafe partial struct TensorViewARM + { + public TensorViewARM + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + /// To be documented. + public override string ToString() + { + return sizeof(nint) == 8 ? $"0x{Handle:x16}" : $"0x{Handle:x8}"; + } + + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCaptureDescriptorDataInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCaptureDescriptorDataInfoARM.gen.cs new file mode 100644 index 0000000000..4b02fcbfa3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCaptureDescriptorDataInfoARM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorViewCaptureDescriptorDataInfoARM")] + public unsafe partial struct TensorViewCaptureDescriptorDataInfoARM : IChainable + { + public TensorViewCaptureDescriptorDataInfoARM + ( + StructureType? sType = StructureType.TensorViewCaptureDescriptorDataInfoArm, + void* pNext = null, + TensorViewARM? tensorView = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorView is not null) + { + TensorView = tensorView.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorViewARM")] + [NativeName("Type.Name", "VkTensorViewARM")] + [NativeName("Name", "tensorView")] + public TensorViewARM TensorView; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorViewCaptureDescriptorDataInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCreateInfoARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCreateInfoARM.gen.cs new file mode 100644 index 0000000000..6328e88f74 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TensorViewCreateInfoARM.gen.cs @@ -0,0 +1,108 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTensorViewCreateInfoARM")] + public unsafe partial struct TensorViewCreateInfoARM : IChainStart + { + public TensorViewCreateInfoARM + ( + StructureType? sType = StructureType.TensorViewCreateInfoArm, + void* pNext = null, + TensorViewCreateFlagsARM? flags = null, + TensorARM? tensor = null, + Format? format = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (tensor is not null) + { + Tensor = tensor.Value; + } + + if (format is not null) + { + Format = format.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkTensorViewCreateFlagsARM")] + [NativeName("Type.Name", "VkTensorViewCreateFlagsARM")] + [NativeName("Name", "flags")] + public TensorViewCreateFlagsARM Flags; +/// + [NativeName("Type", "VkTensorARM")] + [NativeName("Type.Name", "VkTensorARM")] + [NativeName("Name", "tensor")] + public TensorARM Tensor; +/// + [NativeName("Type", "VkFormat")] + [NativeName("Type.Name", "VkFormat")] + [NativeName("Name", "format")] + public Format Format; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TensorViewCreateInfoArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref TensorViewCreateInfoARM Chain( + out TensorViewCreateInfoARM capture) + { + capture = new TensorViewCreateInfoARM(StructureType.TensorViewCreateInfoArm); + return ref capture; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryBindInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryBindInfoQCOM.gen.cs new file mode 100644 index 0000000000..d7f69c1fc8 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryBindInfoQCOM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTileMemoryBindInfoQCOM")] + public unsafe partial struct TileMemoryBindInfoQCOM : IExtendsChain + { + public TileMemoryBindInfoQCOM + ( + StructureType? sType = StructureType.TileMemoryBindInfoQCom, + void* pNext = null, + DeviceMemory? memory = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (memory is not null) + { + Memory = memory.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceMemory")] + [NativeName("Type.Name", "VkDeviceMemory")] + [NativeName("Name", "memory")] + public DeviceMemory Memory; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TileMemoryBindInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryRequirementsQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryRequirementsQCOM.gen.cs new file mode 100644 index 0000000000..c725e3f97b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemoryRequirementsQCOM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTileMemoryRequirementsQCOM")] + public unsafe partial struct TileMemoryRequirementsQCOM : IExtendsChain, IExtendsChain + { + public TileMemoryRequirementsQCOM + ( + StructureType? sType = StructureType.TileMemoryRequirementsQCom, + void* pNext = null, + ulong? size = null, + ulong? alignment = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (size is not null) + { + Size = size.Value; + } + + if (alignment is not null) + { + Alignment = alignment.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "size")] + public ulong Size; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "alignment")] + public ulong Alignment; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TileMemoryRequirementsQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemorySizeInfoQCOM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemorySizeInfoQCOM.gen.cs new file mode 100644 index 0000000000..bfa5cd8cc2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/TileMemorySizeInfoQCOM.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkTileMemorySizeInfoQCOM")] + public unsafe partial struct TileMemorySizeInfoQCOM : IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain, IExtendsChain + { + public TileMemorySizeInfoQCOM + ( + StructureType? sType = StructureType.TileMemorySizeInfoQCom, + void* pNext = null, + ulong? size = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (size is not null) + { + Size = size.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkDeviceSize")] + [NativeName("Type.Name", "VkDeviceSize")] + [NativeName("Name", "size")] + public ulong Size; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.TileMemorySizeInfoQCom; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescription.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescription.gen.cs new file mode 100644 index 0000000000..4b3ce230be --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescription.gen.cs @@ -0,0 +1,51 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVertexInputBindingDivisorDescription")] + [NativeName("Aliases", "VkVertexInputBindingDivisorDescriptionKHR, VkVertexInputBindingDivisorDescriptionEXT")] + public unsafe partial struct VertexInputBindingDivisorDescription + { + public VertexInputBindingDivisorDescription + ( + uint? binding = null, + uint? divisor = null + ) : this() + { + if (binding is not null) + { + Binding = binding.Value; + } + + if (divisor is not null) + { + Divisor = divisor.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "binding")] + public uint Binding; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "divisor")] + public uint Divisor; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionEXT.gen.cs index 72f51b4467..578440fd7d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionEXT.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkVertexInputBindingDivisorDescriptionEXT")] - [NativeName("AliasOf", "VkVertexInputBindingDivisorDescriptionKHR")] + [NativeName("AliasOf", "VkVertexInputBindingDivisorDescription")] public unsafe partial struct VertexInputBindingDivisorDescriptionEXT { public VertexInputBindingDivisorDescriptionEXT diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionKHR.gen.cs index 9f708b894a..1faa3ec0d9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VertexInputBindingDivisorDescriptionKHR.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkVertexInputBindingDivisorDescriptionKHR")] - [NativeName("Aliases", "VkVertexInputBindingDivisorDescriptionEXT")] + [NativeName("AliasOf", "VkVertexInputBindingDivisorDescription")] public unsafe partial struct VertexInputBindingDivisorDescriptionKHR { public VertexInputBindingDivisorDescriptionKHR diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeAV1InlineSessionParametersInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeAV1InlineSessionParametersInfoKHR.gen.cs new file mode 100644 index 0000000000..a3fd85ec55 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeAV1InlineSessionParametersInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeAV1InlineSessionParametersInfoKHR")] + public unsafe partial struct VideoDecodeAV1InlineSessionParametersInfoKHR : IExtendsChain + { + public VideoDecodeAV1InlineSessionParametersInfoKHR + ( + StructureType? sType = StructureType.VideoDecodeAV1InlineSessionParametersInfoKhr, + void* pNext = null, + Video.StdVideoAV1SequenceHeader* pStdSequenceHeader = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdSequenceHeader is not null) + { + PStdSequenceHeader = pStdSequenceHeader; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoAV1SequenceHeader*")] + [NativeName("Type.Name", "StdVideoAV1SequenceHeader")] + [NativeName("Name", "pStdSequenceHeader")] + public Video.StdVideoAV1SequenceHeader* PStdSequenceHeader; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeAV1InlineSessionParametersInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH264InlineSessionParametersInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH264InlineSessionParametersInfoKHR.gen.cs new file mode 100644 index 0000000000..fc04cb7234 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH264InlineSessionParametersInfoKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeH264InlineSessionParametersInfoKHR")] + public unsafe partial struct VideoDecodeH264InlineSessionParametersInfoKHR : IExtendsChain + { + public VideoDecodeH264InlineSessionParametersInfoKHR + ( + StructureType? sType = StructureType.VideoDecodeH264InlineSessionParametersInfoKhr, + void* pNext = null, + Video.StdVideoH264SequenceParameterSet* pStdSps = null, + Video.StdVideoH264PictureParameterSet* pStdPps = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdSps is not null) + { + PStdSps = pStdSps; + } + + if (pStdPps is not null) + { + PStdPps = pStdPps; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoH264SequenceParameterSet*")] + [NativeName("Type.Name", "StdVideoH264SequenceParameterSet")] + [NativeName("Name", "pStdSPS")] + public Video.StdVideoH264SequenceParameterSet* PStdSps; +/// + [NativeName("Type", "StdVideoH264PictureParameterSet*")] + [NativeName("Type.Name", "StdVideoH264PictureParameterSet")] + [NativeName("Name", "pStdPPS")] + public Video.StdVideoH264PictureParameterSet* PStdPps; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeH264InlineSessionParametersInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH265InlineSessionParametersInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH265InlineSessionParametersInfoKHR.gen.cs new file mode 100644 index 0000000000..fb6a28cd71 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeH265InlineSessionParametersInfoKHR.gen.cs @@ -0,0 +1,96 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeH265InlineSessionParametersInfoKHR")] + public unsafe partial struct VideoDecodeH265InlineSessionParametersInfoKHR : IExtendsChain + { + public VideoDecodeH265InlineSessionParametersInfoKHR + ( + StructureType? sType = StructureType.VideoDecodeH265InlineSessionParametersInfoKhr, + void* pNext = null, + Video.StdVideoH265VideoParameterSet* pStdVps = null, + Video.StdVideoH265SequenceParameterSet* pStdSps = null, + Video.StdVideoH265PictureParameterSet* pStdPps = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdVps is not null) + { + PStdVps = pStdVps; + } + + if (pStdSps is not null) + { + PStdSps = pStdSps; + } + + if (pStdPps is not null) + { + PStdPps = pStdPps; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoH265VideoParameterSet*")] + [NativeName("Type.Name", "StdVideoH265VideoParameterSet")] + [NativeName("Name", "pStdVPS")] + public Video.StdVideoH265VideoParameterSet* PStdVps; +/// + [NativeName("Type", "StdVideoH265SequenceParameterSet*")] + [NativeName("Type.Name", "StdVideoH265SequenceParameterSet")] + [NativeName("Name", "pStdSPS")] + public Video.StdVideoH265SequenceParameterSet* PStdSps; +/// + [NativeName("Type", "StdVideoH265PictureParameterSet*")] + [NativeName("Type.Name", "StdVideoH265PictureParameterSet")] + [NativeName("Name", "pStdPPS")] + public Video.StdVideoH265PictureParameterSet* PStdPps; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeH265InlineSessionParametersInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9CapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9CapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..f6fc4d5d46 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9CapabilitiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeVP9CapabilitiesKHR")] + public unsafe partial struct VideoDecodeVP9CapabilitiesKHR : IExtendsChain + { + public VideoDecodeVP9CapabilitiesKHR + ( + StructureType? sType = StructureType.VideoDecodeVP9CapabilitiesKhr, + void* pNext = null, + StdVideoVP9Level? maxLevel = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxLevel is not null) + { + MaxLevel = maxLevel.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoVP9Level")] + [NativeName("Type.Name", "StdVideoVP9Level")] + [NativeName("Name", "maxLevel")] + public StdVideoVP9Level MaxLevel; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeVP9CapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9PictureInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9PictureInfoKHR.gen.cs new file mode 100644 index 0000000000..9708f36995 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9PictureInfoKHR.gen.cs @@ -0,0 +1,112 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeVP9PictureInfoKHR")] + public unsafe partial struct VideoDecodeVP9PictureInfoKHR : IExtendsChain + { + public VideoDecodeVP9PictureInfoKHR + ( + StructureType? sType = StructureType.VideoDecodeVP9PictureInfoKhr, + void* pNext = null, + StdVideoDecodeVP9PictureInfo* pStdPictureInfo = null, + uint? uncompressedHeaderOffset = null, + uint? compressedHeaderOffset = null, + uint? tilesOffset = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdPictureInfo is not null) + { + PStdPictureInfo = pStdPictureInfo; + } + + if (uncompressedHeaderOffset is not null) + { + UncompressedHeaderOffset = uncompressedHeaderOffset.Value; + } + + if (compressedHeaderOffset is not null) + { + CompressedHeaderOffset = compressedHeaderOffset.Value; + } + + if (tilesOffset is not null) + { + TilesOffset = tilesOffset.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoDecodeVP9PictureInfo*")] + [NativeName("Type.Name", "StdVideoDecodeVP9PictureInfo")] + [NativeName("Name", "pStdPictureInfo")] + public StdVideoDecodeVP9PictureInfo* PStdPictureInfo; + /// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "referenceNameSlotIndices")] + public fixed int ReferenceNameSlotIndices[3]; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "uncompressedHeaderOffset")] + public uint UncompressedHeaderOffset; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "compressedHeaderOffset")] + public uint CompressedHeaderOffset; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "tilesOffset")] + public uint TilesOffset; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeVP9PictureInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9ProfileInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9ProfileInfoKHR.gen.cs new file mode 100644 index 0000000000..c028acb13f --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoDecodeVP9ProfileInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoDecodeVP9ProfileInfoKHR")] + public unsafe partial struct VideoDecodeVP9ProfileInfoKHR : IExtendsChain, IExtendsChain + { + public VideoDecodeVP9ProfileInfoKHR + ( + StructureType? sType = StructureType.VideoDecodeVP9ProfileInfoKhr, + void* pNext = null, + StdVideoVP9Profile? stdProfile = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (stdProfile is not null) + { + StdProfile = stdProfile.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoVP9Profile")] + [NativeName("Type.Name", "StdVideoVP9Profile")] + [NativeName("Name", "stdProfile")] + public StdVideoVP9Profile StdProfile; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoDecodeVP9ProfileInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1CapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1CapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..c8b529a208 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1CapabilitiesKHR.gen.cs @@ -0,0 +1,327 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1CapabilitiesKHR")] + public unsafe partial struct VideoEncodeAV1CapabilitiesKHR : IExtendsChain + { + public VideoEncodeAV1CapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1CapabilitiesKhr, + void* pNext = null, + VideoEncodeAV1CapabilityFlagsKHR? flags = null, + Video.StdVideoAV1Level? maxLevel = null, + Extent2D? codedPictureAlignment = null, + Extent2D? maxTiles = null, + Extent2D? minTileSize = null, + Extent2D? maxTileSize = null, + VideoEncodeAV1SuperblockSizeFlagsKHR? superblockSizes = null, + uint? maxSingleReferenceCount = null, + uint? singleReferenceNameMask = null, + uint? maxUnidirectionalCompoundReferenceCount = null, + uint? maxUnidirectionalCompoundGroup1ReferenceCount = null, + uint? unidirectionalCompoundReferenceNameMask = null, + uint? maxBidirectionalCompoundReferenceCount = null, + uint? maxBidirectionalCompoundGroup1ReferenceCount = null, + uint? maxBidirectionalCompoundGroup2ReferenceCount = null, + uint? bidirectionalCompoundReferenceNameMask = null, + uint? maxTemporalLayerCount = null, + uint? maxSpatialLayerCount = null, + uint? maxOperatingPoints = null, + uint? minQIndex = null, + uint? maxQIndex = null, + Bool32? prefersGopRemainingFrames = null, + Bool32? requiresGopRemainingFrames = null, + VideoEncodeAV1StdFlagsKHR? stdSyntaxFlags = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (maxLevel is not null) + { + MaxLevel = maxLevel.Value; + } + + if (codedPictureAlignment is not null) + { + CodedPictureAlignment = codedPictureAlignment.Value; + } + + if (maxTiles is not null) + { + MaxTiles = maxTiles.Value; + } + + if (minTileSize is not null) + { + MinTileSize = minTileSize.Value; + } + + if (maxTileSize is not null) + { + MaxTileSize = maxTileSize.Value; + } + + if (superblockSizes is not null) + { + SuperblockSizes = superblockSizes.Value; + } + + if (maxSingleReferenceCount is not null) + { + MaxSingleReferenceCount = maxSingleReferenceCount.Value; + } + + if (singleReferenceNameMask is not null) + { + SingleReferenceNameMask = singleReferenceNameMask.Value; + } + + if (maxUnidirectionalCompoundReferenceCount is not null) + { + MaxUnidirectionalCompoundReferenceCount = maxUnidirectionalCompoundReferenceCount.Value; + } + + if (maxUnidirectionalCompoundGroup1ReferenceCount is not null) + { + MaxUnidirectionalCompoundGroup1ReferenceCount = maxUnidirectionalCompoundGroup1ReferenceCount.Value; + } + + if (unidirectionalCompoundReferenceNameMask is not null) + { + UnidirectionalCompoundReferenceNameMask = unidirectionalCompoundReferenceNameMask.Value; + } + + if (maxBidirectionalCompoundReferenceCount is not null) + { + MaxBidirectionalCompoundReferenceCount = maxBidirectionalCompoundReferenceCount.Value; + } + + if (maxBidirectionalCompoundGroup1ReferenceCount is not null) + { + MaxBidirectionalCompoundGroup1ReferenceCount = maxBidirectionalCompoundGroup1ReferenceCount.Value; + } + + if (maxBidirectionalCompoundGroup2ReferenceCount is not null) + { + MaxBidirectionalCompoundGroup2ReferenceCount = maxBidirectionalCompoundGroup2ReferenceCount.Value; + } + + if (bidirectionalCompoundReferenceNameMask is not null) + { + BidirectionalCompoundReferenceNameMask = bidirectionalCompoundReferenceNameMask.Value; + } + + if (maxTemporalLayerCount is not null) + { + MaxTemporalLayerCount = maxTemporalLayerCount.Value; + } + + if (maxSpatialLayerCount is not null) + { + MaxSpatialLayerCount = maxSpatialLayerCount.Value; + } + + if (maxOperatingPoints is not null) + { + MaxOperatingPoints = maxOperatingPoints.Value; + } + + if (minQIndex is not null) + { + MinQIndex = minQIndex.Value; + } + + if (maxQIndex is not null) + { + MaxQIndex = maxQIndex.Value; + } + + if (prefersGopRemainingFrames is not null) + { + PrefersGopRemainingFrames = prefersGopRemainingFrames.Value; + } + + if (requiresGopRemainingFrames is not null) + { + RequiresGopRemainingFrames = requiresGopRemainingFrames.Value; + } + + if (stdSyntaxFlags is not null) + { + StdSyntaxFlags = stdSyntaxFlags.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeAV1CapabilityFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1CapabilityFlagsKHR")] + [NativeName("Name", "flags")] + public VideoEncodeAV1CapabilityFlagsKHR Flags; +/// + [NativeName("Type", "StdVideoAV1Level")] + [NativeName("Type.Name", "StdVideoAV1Level")] + [NativeName("Name", "maxLevel")] + public Video.StdVideoAV1Level MaxLevel; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "codedPictureAlignment")] + public Extent2D CodedPictureAlignment; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "maxTiles")] + public Extent2D MaxTiles; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "minTileSize")] + public Extent2D MinTileSize; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "maxTileSize")] + public Extent2D MaxTileSize; +/// + [NativeName("Type", "VkVideoEncodeAV1SuperblockSizeFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1SuperblockSizeFlagsKHR")] + [NativeName("Name", "superblockSizes")] + public VideoEncodeAV1SuperblockSizeFlagsKHR SuperblockSizes; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxSingleReferenceCount")] + public uint MaxSingleReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "singleReferenceNameMask")] + public uint SingleReferenceNameMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxUnidirectionalCompoundReferenceCount")] + public uint MaxUnidirectionalCompoundReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxUnidirectionalCompoundGroup1ReferenceCount")] + public uint MaxUnidirectionalCompoundGroup1ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "unidirectionalCompoundReferenceNameMask")] + public uint UnidirectionalCompoundReferenceNameMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxBidirectionalCompoundReferenceCount")] + public uint MaxBidirectionalCompoundReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxBidirectionalCompoundGroup1ReferenceCount")] + public uint MaxBidirectionalCompoundGroup1ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxBidirectionalCompoundGroup2ReferenceCount")] + public uint MaxBidirectionalCompoundGroup2ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bidirectionalCompoundReferenceNameMask")] + public uint BidirectionalCompoundReferenceNameMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxTemporalLayerCount")] + public uint MaxTemporalLayerCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxSpatialLayerCount")] + public uint MaxSpatialLayerCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxOperatingPoints")] + public uint MaxOperatingPoints; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minQIndex")] + public uint MinQIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxQIndex")] + public uint MaxQIndex; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "prefersGopRemainingFrames")] + public Bool32 PrefersGopRemainingFrames; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "requiresGopRemainingFrames")] + public Bool32 RequiresGopRemainingFrames; +/// + [NativeName("Type", "VkVideoEncodeAV1StdFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1StdFlagsKHR")] + [NativeName("Name", "stdSyntaxFlags")] + public VideoEncodeAV1StdFlagsKHR StdSyntaxFlags; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1CapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1DpbSlotInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1DpbSlotInfoKHR.gen.cs new file mode 100644 index 0000000000..2f6fbbf266 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1DpbSlotInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1DpbSlotInfoKHR")] + public unsafe partial struct VideoEncodeAV1DpbSlotInfoKHR : IExtendsChain + { + public VideoEncodeAV1DpbSlotInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1DpbSlotInfoKhr, + void* pNext = null, + StdVideoEncodeAV1ReferenceInfo* pStdReferenceInfo = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdReferenceInfo is not null) + { + PStdReferenceInfo = pStdReferenceInfo; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoEncodeAV1ReferenceInfo*")] + [NativeName("Type.Name", "StdVideoEncodeAV1ReferenceInfo")] + [NativeName("Name", "pStdReferenceInfo")] + public StdVideoEncodeAV1ReferenceInfo* PStdReferenceInfo; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1DpbSlotInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1FrameSizeKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1FrameSizeKHR.gen.cs new file mode 100644 index 0000000000..70a8b4b76d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1FrameSizeKHR.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1FrameSizeKHR")] + public unsafe partial struct VideoEncodeAV1FrameSizeKHR + { + public VideoEncodeAV1FrameSizeKHR + ( + uint? intraFrameSize = null, + uint? predictiveFrameSize = null, + uint? bipredictiveFrameSize = null + ) : this() + { + if (intraFrameSize is not null) + { + IntraFrameSize = intraFrameSize.Value; + } + + if (predictiveFrameSize is not null) + { + PredictiveFrameSize = predictiveFrameSize.Value; + } + + if (bipredictiveFrameSize is not null) + { + BipredictiveFrameSize = bipredictiveFrameSize.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "intraFrameSize")] + public uint IntraFrameSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "predictiveFrameSize")] + public uint PredictiveFrameSize; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bipredictiveFrameSize")] + public uint BipredictiveFrameSize; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1GopRemainingFrameInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1GopRemainingFrameInfoKHR.gen.cs new file mode 100644 index 0000000000..3033e902e7 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1GopRemainingFrameInfoKHR.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1GopRemainingFrameInfoKHR")] + public unsafe partial struct VideoEncodeAV1GopRemainingFrameInfoKHR : IExtendsChain + { + public VideoEncodeAV1GopRemainingFrameInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1GopRemainingFrameInfoKhr, + void* pNext = null, + Bool32? useGopRemainingFrames = null, + uint? gopRemainingIntra = null, + uint? gopRemainingPredictive = null, + uint? gopRemainingBipredictive = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (useGopRemainingFrames is not null) + { + UseGopRemainingFrames = useGopRemainingFrames.Value; + } + + if (gopRemainingIntra is not null) + { + GopRemainingIntra = gopRemainingIntra.Value; + } + + if (gopRemainingPredictive is not null) + { + GopRemainingPredictive = gopRemainingPredictive.Value; + } + + if (gopRemainingBipredictive is not null) + { + GopRemainingBipredictive = gopRemainingBipredictive.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "useGopRemainingFrames")] + public Bool32 UseGopRemainingFrames; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "gopRemainingIntra")] + public uint GopRemainingIntra; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "gopRemainingPredictive")] + public uint GopRemainingPredictive; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "gopRemainingBipredictive")] + public uint GopRemainingBipredictive; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1GopRemainingFrameInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1PictureInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1PictureInfoKHR.gen.cs new file mode 100644 index 0000000000..8823f9b939 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1PictureInfoKHR.gen.cs @@ -0,0 +1,134 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1PictureInfoKHR")] + public unsafe partial struct VideoEncodeAV1PictureInfoKHR : IExtendsChain + { + public VideoEncodeAV1PictureInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1PictureInfoKhr, + void* pNext = null, + VideoEncodeAV1PredictionModeKHR? predictionMode = null, + VideoEncodeAV1RateControlGroupKHR? rateControlGroup = null, + uint? constantQIndex = null, + StdVideoEncodeAV1PictureInfo* pStdPictureInfo = null, + Bool32? primaryReferenceCdfOnly = null, + Bool32? generateObuExtensionHeader = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (predictionMode is not null) + { + PredictionMode = predictionMode.Value; + } + + if (rateControlGroup is not null) + { + RateControlGroup = rateControlGroup.Value; + } + + if (constantQIndex is not null) + { + ConstantQIndex = constantQIndex.Value; + } + + if (pStdPictureInfo is not null) + { + PStdPictureInfo = pStdPictureInfo; + } + + if (primaryReferenceCdfOnly is not null) + { + PrimaryReferenceCdfOnly = primaryReferenceCdfOnly.Value; + } + + if (generateObuExtensionHeader is not null) + { + GenerateObuExtensionHeader = generateObuExtensionHeader.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeAV1PredictionModeKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1PredictionModeKHR")] + [NativeName("Name", "predictionMode")] + public VideoEncodeAV1PredictionModeKHR PredictionMode; +/// + [NativeName("Type", "VkVideoEncodeAV1RateControlGroupKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1RateControlGroupKHR")] + [NativeName("Name", "rateControlGroup")] + public VideoEncodeAV1RateControlGroupKHR RateControlGroup; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "constantQIndex")] + public uint ConstantQIndex; +/// + [NativeName("Type", "StdVideoEncodeAV1PictureInfo*")] + [NativeName("Type.Name", "StdVideoEncodeAV1PictureInfo")] + [NativeName("Name", "pStdPictureInfo")] + public StdVideoEncodeAV1PictureInfo* PStdPictureInfo; + /// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "referenceNameSlotIndices")] + public fixed int ReferenceNameSlotIndices[7]; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "primaryReferenceCdfOnly")] + public Bool32 PrimaryReferenceCdfOnly; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "generateObuExtensionHeader")] + public Bool32 GenerateObuExtensionHeader; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1PictureInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1ProfileInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1ProfileInfoKHR.gen.cs new file mode 100644 index 0000000000..79a7f17aad --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1ProfileInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1ProfileInfoKHR")] + public unsafe partial struct VideoEncodeAV1ProfileInfoKHR : IExtendsChain, IExtendsChain + { + public VideoEncodeAV1ProfileInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1ProfileInfoKhr, + void* pNext = null, + Video.StdVideoAV1Profile? stdProfile = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (stdProfile is not null) + { + StdProfile = stdProfile.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoAV1Profile")] + [NativeName("Type.Name", "StdVideoAV1Profile")] + [NativeName("Name", "stdProfile")] + public Video.StdVideoAV1Profile StdProfile; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1ProfileInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QIndexKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QIndexKHR.gen.cs new file mode 100644 index 0000000000..75ac70788c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QIndexKHR.gen.cs @@ -0,0 +1,61 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1QIndexKHR")] + public unsafe partial struct VideoEncodeAV1QIndexKHR + { + public VideoEncodeAV1QIndexKHR + ( + uint? intraQIndex = null, + uint? predictiveQIndex = null, + uint? bipredictiveQIndex = null + ) : this() + { + if (intraQIndex is not null) + { + IntraQIndex = intraQIndex.Value; + } + + if (predictiveQIndex is not null) + { + PredictiveQIndex = predictiveQIndex.Value; + } + + if (bipredictiveQIndex is not null) + { + BipredictiveQIndex = bipredictiveQIndex.Value; + } + } + +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "intraQIndex")] + public uint IntraQIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "predictiveQIndex")] + public uint PredictiveQIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bipredictiveQIndex")] + public uint BipredictiveQIndex; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QualityLevelPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QualityLevelPropertiesKHR.gen.cs new file mode 100644 index 0000000000..d1b4aa1c3c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QualityLevelPropertiesKHR.gen.cs @@ -0,0 +1,228 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1QualityLevelPropertiesKHR")] + public unsafe partial struct VideoEncodeAV1QualityLevelPropertiesKHR : IExtendsChain + { + public VideoEncodeAV1QualityLevelPropertiesKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1QualityLevelPropertiesKhr, + void* pNext = null, + VideoEncodeAV1RateControlFlagsKHR? preferredRateControlFlags = null, + uint? preferredGopFrameCount = null, + uint? preferredKeyFramePeriod = null, + uint? preferredConsecutiveBipredictiveFrameCount = null, + uint? preferredTemporalLayerCount = null, + VideoEncodeAV1QIndexKHR? preferredConstantQIndex = null, + uint? preferredMaxSingleReferenceCount = null, + uint? preferredSingleReferenceNameMask = null, + uint? preferredMaxUnidirectionalCompoundReferenceCount = null, + uint? preferredMaxUnidirectionalCompoundGroup1ReferenceCount = null, + uint? preferredUnidirectionalCompoundReferenceNameMask = null, + uint? preferredMaxBidirectionalCompoundReferenceCount = null, + uint? preferredMaxBidirectionalCompoundGroup1ReferenceCount = null, + uint? preferredMaxBidirectionalCompoundGroup2ReferenceCount = null, + uint? preferredBidirectionalCompoundReferenceNameMask = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (preferredRateControlFlags is not null) + { + PreferredRateControlFlags = preferredRateControlFlags.Value; + } + + if (preferredGopFrameCount is not null) + { + PreferredGopFrameCount = preferredGopFrameCount.Value; + } + + if (preferredKeyFramePeriod is not null) + { + PreferredKeyFramePeriod = preferredKeyFramePeriod.Value; + } + + if (preferredConsecutiveBipredictiveFrameCount is not null) + { + PreferredConsecutiveBipredictiveFrameCount = preferredConsecutiveBipredictiveFrameCount.Value; + } + + if (preferredTemporalLayerCount is not null) + { + PreferredTemporalLayerCount = preferredTemporalLayerCount.Value; + } + + if (preferredConstantQIndex is not null) + { + PreferredConstantQIndex = preferredConstantQIndex.Value; + } + + if (preferredMaxSingleReferenceCount is not null) + { + PreferredMaxSingleReferenceCount = preferredMaxSingleReferenceCount.Value; + } + + if (preferredSingleReferenceNameMask is not null) + { + PreferredSingleReferenceNameMask = preferredSingleReferenceNameMask.Value; + } + + if (preferredMaxUnidirectionalCompoundReferenceCount is not null) + { + PreferredMaxUnidirectionalCompoundReferenceCount = preferredMaxUnidirectionalCompoundReferenceCount.Value; + } + + if (preferredMaxUnidirectionalCompoundGroup1ReferenceCount is not null) + { + PreferredMaxUnidirectionalCompoundGroup1ReferenceCount = preferredMaxUnidirectionalCompoundGroup1ReferenceCount.Value; + } + + if (preferredUnidirectionalCompoundReferenceNameMask is not null) + { + PreferredUnidirectionalCompoundReferenceNameMask = preferredUnidirectionalCompoundReferenceNameMask.Value; + } + + if (preferredMaxBidirectionalCompoundReferenceCount is not null) + { + PreferredMaxBidirectionalCompoundReferenceCount = preferredMaxBidirectionalCompoundReferenceCount.Value; + } + + if (preferredMaxBidirectionalCompoundGroup1ReferenceCount is not null) + { + PreferredMaxBidirectionalCompoundGroup1ReferenceCount = preferredMaxBidirectionalCompoundGroup1ReferenceCount.Value; + } + + if (preferredMaxBidirectionalCompoundGroup2ReferenceCount is not null) + { + PreferredMaxBidirectionalCompoundGroup2ReferenceCount = preferredMaxBidirectionalCompoundGroup2ReferenceCount.Value; + } + + if (preferredBidirectionalCompoundReferenceNameMask is not null) + { + PreferredBidirectionalCompoundReferenceNameMask = preferredBidirectionalCompoundReferenceNameMask.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeAV1RateControlFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1RateControlFlagsKHR")] + [NativeName("Name", "preferredRateControlFlags")] + public VideoEncodeAV1RateControlFlagsKHR PreferredRateControlFlags; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredGopFrameCount")] + public uint PreferredGopFrameCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredKeyFramePeriod")] + public uint PreferredKeyFramePeriod; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredConsecutiveBipredictiveFrameCount")] + public uint PreferredConsecutiveBipredictiveFrameCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredTemporalLayerCount")] + public uint PreferredTemporalLayerCount; +/// + [NativeName("Type", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Name", "preferredConstantQIndex")] + public VideoEncodeAV1QIndexKHR PreferredConstantQIndex; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxSingleReferenceCount")] + public uint PreferredMaxSingleReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredSingleReferenceNameMask")] + public uint PreferredSingleReferenceNameMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxUnidirectionalCompoundReferenceCount")] + public uint PreferredMaxUnidirectionalCompoundReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxUnidirectionalCompoundGroup1ReferenceCount")] + public uint PreferredMaxUnidirectionalCompoundGroup1ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredUnidirectionalCompoundReferenceNameMask")] + public uint PreferredUnidirectionalCompoundReferenceNameMask; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxBidirectionalCompoundReferenceCount")] + public uint PreferredMaxBidirectionalCompoundReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxBidirectionalCompoundGroup1ReferenceCount")] + public uint PreferredMaxBidirectionalCompoundGroup1ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredMaxBidirectionalCompoundGroup2ReferenceCount")] + public uint PreferredMaxBidirectionalCompoundGroup2ReferenceCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "preferredBidirectionalCompoundReferenceNameMask")] + public uint PreferredBidirectionalCompoundReferenceNameMask; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1QualityLevelPropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QuantizationMapCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QuantizationMapCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..2f26527f27 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1QuantizationMapCapabilitiesKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1QuantizationMapCapabilitiesKHR")] + public unsafe partial struct VideoEncodeAV1QuantizationMapCapabilitiesKHR : IExtendsChain + { + public VideoEncodeAV1QuantizationMapCapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1QuantizationMapCapabilitiesKhr, + void* pNext = null, + int? minQIndexDelta = null, + int? maxQIndexDelta = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (minQIndexDelta is not null) + { + MinQIndexDelta = minQIndexDelta.Value; + } + + if (maxQIndexDelta is not null) + { + MaxQIndexDelta = maxQIndexDelta.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "minQIndexDelta")] + public int MinQIndexDelta; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "maxQIndexDelta")] + public int MaxQIndexDelta; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1QuantizationMapCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlInfoKHR.gen.cs new file mode 100644 index 0000000000..fafe8979c6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlInfoKHR.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1RateControlInfoKHR")] + public unsafe partial struct VideoEncodeAV1RateControlInfoKHR : IExtendsChain, IExtendsChain + { + public VideoEncodeAV1RateControlInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1RateControlInfoKhr, + void* pNext = null, + VideoEncodeAV1RateControlFlagsKHR? flags = null, + uint? gopFrameCount = null, + uint? keyFramePeriod = null, + uint? consecutiveBipredictiveFrameCount = null, + uint? temporalLayerCount = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (gopFrameCount is not null) + { + GopFrameCount = gopFrameCount.Value; + } + + if (keyFramePeriod is not null) + { + KeyFramePeriod = keyFramePeriod.Value; + } + + if (consecutiveBipredictiveFrameCount is not null) + { + ConsecutiveBipredictiveFrameCount = consecutiveBipredictiveFrameCount.Value; + } + + if (temporalLayerCount is not null) + { + TemporalLayerCount = temporalLayerCount.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeAV1RateControlFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1RateControlFlagsKHR")] + [NativeName("Name", "flags")] + public VideoEncodeAV1RateControlFlagsKHR Flags; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "gopFrameCount")] + public uint GopFrameCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "keyFramePeriod")] + public uint KeyFramePeriod; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "consecutiveBipredictiveFrameCount")] + public uint ConsecutiveBipredictiveFrameCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "temporalLayerCount")] + public uint TemporalLayerCount; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1RateControlInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlLayerInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlLayerInfoKHR.gen.cs new file mode 100644 index 0000000000..c7b7f46df3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1RateControlLayerInfoKHR.gen.cs @@ -0,0 +1,129 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1RateControlLayerInfoKHR")] + public unsafe partial struct VideoEncodeAV1RateControlLayerInfoKHR : IExtendsChain + { + public VideoEncodeAV1RateControlLayerInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1RateControlLayerInfoKhr, + void* pNext = null, + Bool32? useMinQIndex = null, + VideoEncodeAV1QIndexKHR? minQIndex = null, + Bool32? useMaxQIndex = null, + VideoEncodeAV1QIndexKHR? maxQIndex = null, + Bool32? useMaxFrameSize = null, + VideoEncodeAV1FrameSizeKHR? maxFrameSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (useMinQIndex is not null) + { + UseMinQIndex = useMinQIndex.Value; + } + + if (minQIndex is not null) + { + MinQIndex = minQIndex.Value; + } + + if (useMaxQIndex is not null) + { + UseMaxQIndex = useMaxQIndex.Value; + } + + if (maxQIndex is not null) + { + MaxQIndex = maxQIndex.Value; + } + + if (useMaxFrameSize is not null) + { + UseMaxFrameSize = useMaxFrameSize.Value; + } + + if (maxFrameSize is not null) + { + MaxFrameSize = maxFrameSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "useMinQIndex")] + public Bool32 UseMinQIndex; +/// + [NativeName("Type", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Name", "minQIndex")] + public VideoEncodeAV1QIndexKHR MinQIndex; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "useMaxQIndex")] + public Bool32 UseMaxQIndex; +/// + [NativeName("Type", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1QIndexKHR")] + [NativeName("Name", "maxQIndex")] + public VideoEncodeAV1QIndexKHR MaxQIndex; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "useMaxFrameSize")] + public Bool32 UseMaxFrameSize; +/// + [NativeName("Type", "VkVideoEncodeAV1FrameSizeKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1FrameSizeKHR")] + [NativeName("Name", "maxFrameSize")] + public VideoEncodeAV1FrameSizeKHR MaxFrameSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1RateControlLayerInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..12bb9654de --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionCreateInfoKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1SessionCreateInfoKHR")] + public unsafe partial struct VideoEncodeAV1SessionCreateInfoKHR : IExtendsChain + { + public VideoEncodeAV1SessionCreateInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1SessionCreateInfoKhr, + void* pNext = null, + Bool32? useMaxLevel = null, + Video.StdVideoAV1Level? maxLevel = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (useMaxLevel is not null) + { + UseMaxLevel = useMaxLevel.Value; + } + + if (maxLevel is not null) + { + MaxLevel = maxLevel.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "useMaxLevel")] + public Bool32 UseMaxLevel; +/// + [NativeName("Type", "StdVideoAV1Level")] + [NativeName("Type.Name", "StdVideoAV1Level")] + [NativeName("Name", "maxLevel")] + public Video.StdVideoAV1Level MaxLevel; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1SessionCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionParametersCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionParametersCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..513e784d75 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeAV1SessionParametersCreateInfoKHR.gen.cs @@ -0,0 +1,107 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeAV1SessionParametersCreateInfoKHR")] + public unsafe partial struct VideoEncodeAV1SessionParametersCreateInfoKHR : IExtendsChain + { + public VideoEncodeAV1SessionParametersCreateInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeAV1SessionParametersCreateInfoKhr, + void* pNext = null, + Video.StdVideoAV1SequenceHeader* pStdSequenceHeader = null, + StdVideoEncodeAV1DecoderModelInfo* pStdDecoderModelInfo = null, + uint? stdOperatingPointCount = null, + StdVideoEncodeAV1OperatingPointInfo* pStdOperatingPoints = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pStdSequenceHeader is not null) + { + PStdSequenceHeader = pStdSequenceHeader; + } + + if (pStdDecoderModelInfo is not null) + { + PStdDecoderModelInfo = pStdDecoderModelInfo; + } + + if (stdOperatingPointCount is not null) + { + StdOperatingPointCount = stdOperatingPointCount.Value; + } + + if (pStdOperatingPoints is not null) + { + PStdOperatingPoints = pStdOperatingPoints; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "StdVideoAV1SequenceHeader*")] + [NativeName("Type.Name", "StdVideoAV1SequenceHeader")] + [NativeName("Name", "pStdSequenceHeader")] + public Video.StdVideoAV1SequenceHeader* PStdSequenceHeader; +/// + [NativeName("Type", "StdVideoEncodeAV1DecoderModelInfo*")] + [NativeName("Type.Name", "StdVideoEncodeAV1DecoderModelInfo")] + [NativeName("Name", "pStdDecoderModelInfo")] + public StdVideoEncodeAV1DecoderModelInfo* PStdDecoderModelInfo; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "stdOperatingPointCount")] + public uint StdOperatingPointCount; +/// + [NativeName("Type", "StdVideoEncodeAV1OperatingPointInfo*")] + [NativeName("Type.Name", "StdVideoEncodeAV1OperatingPointInfo")] + [NativeName("Name", "pStdOperatingPoints")] + public StdVideoEncodeAV1OperatingPointInfo* PStdOperatingPoints; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeAV1SessionParametersCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH264QuantizationMapCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH264QuantizationMapCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..6ee8929ea2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH264QuantizationMapCapabilitiesKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeH264QuantizationMapCapabilitiesKHR")] + public unsafe partial struct VideoEncodeH264QuantizationMapCapabilitiesKHR : IExtendsChain + { + public VideoEncodeH264QuantizationMapCapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeH264QuantizationMapCapabilitiesKhr, + void* pNext = null, + int? minQpDelta = null, + int? maxQpDelta = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (minQpDelta is not null) + { + MinQpDelta = minQpDelta.Value; + } + + if (maxQpDelta is not null) + { + MaxQpDelta = maxQpDelta.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "minQpDelta")] + public int MinQpDelta; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "maxQpDelta")] + public int MaxQpDelta; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeH264QuantizationMapCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH265QuantizationMapCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH265QuantizationMapCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..5d53dc591b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeH265QuantizationMapCapabilitiesKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeH265QuantizationMapCapabilitiesKHR")] + public unsafe partial struct VideoEncodeH265QuantizationMapCapabilitiesKHR : IExtendsChain + { + public VideoEncodeH265QuantizationMapCapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeH265QuantizationMapCapabilitiesKhr, + void* pNext = null, + int? minQpDelta = null, + int? maxQpDelta = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (minQpDelta is not null) + { + MinQpDelta = minQpDelta.Value; + } + + if (maxQpDelta is not null) + { + MaxQpDelta = maxQpDelta.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "minQpDelta")] + public int MinQpDelta; +/// + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "maxQpDelta")] + public int MaxQpDelta; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeH265QuantizationMapCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..5fee7bf7c3 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshCapabilitiesKHR.gen.cs @@ -0,0 +1,118 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeIntraRefreshCapabilitiesKHR")] + public unsafe partial struct VideoEncodeIntraRefreshCapabilitiesKHR : IExtendsChain + { + public VideoEncodeIntraRefreshCapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeIntraRefreshCapabilitiesKhr, + void* pNext = null, + VideoEncodeIntraRefreshModeFlagsKHR? intraRefreshModes = null, + uint? maxIntraRefreshCycleDuration = null, + uint? maxIntraRefreshActiveReferencePictures = null, + Bool32? partitionIndependentIntraRefreshRegions = null, + Bool32? nonRectangularIntraRefreshRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (intraRefreshModes is not null) + { + IntraRefreshModes = intraRefreshModes.Value; + } + + if (maxIntraRefreshCycleDuration is not null) + { + MaxIntraRefreshCycleDuration = maxIntraRefreshCycleDuration.Value; + } + + if (maxIntraRefreshActiveReferencePictures is not null) + { + MaxIntraRefreshActiveReferencePictures = maxIntraRefreshActiveReferencePictures.Value; + } + + if (partitionIndependentIntraRefreshRegions is not null) + { + PartitionIndependentIntraRefreshRegions = partitionIndependentIntraRefreshRegions.Value; + } + + if (nonRectangularIntraRefreshRegions is not null) + { + NonRectangularIntraRefreshRegions = nonRectangularIntraRefreshRegions.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeIntraRefreshModeFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeIntraRefreshModeFlagsKHR")] + [NativeName("Name", "intraRefreshModes")] + public VideoEncodeIntraRefreshModeFlagsKHR IntraRefreshModes; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxIntraRefreshCycleDuration")] + public uint MaxIntraRefreshCycleDuration; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxIntraRefreshActiveReferencePictures")] + public uint MaxIntraRefreshActiveReferencePictures; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "partitionIndependentIntraRefreshRegions")] + public Bool32 PartitionIndependentIntraRefreshRegions; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "nonRectangularIntraRefreshRegions")] + public Bool32 NonRectangularIntraRefreshRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeIntraRefreshCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshInfoKHR.gen.cs new file mode 100644 index 0000000000..1968ea378a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeIntraRefreshInfoKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeIntraRefreshInfoKHR")] + public unsafe partial struct VideoEncodeIntraRefreshInfoKHR : IExtendsChain + { + public VideoEncodeIntraRefreshInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeIntraRefreshInfoKhr, + void* pNext = null, + uint? intraRefreshCycleDuration = null, + uint? intraRefreshIndex = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (intraRefreshCycleDuration is not null) + { + IntraRefreshCycleDuration = intraRefreshCycleDuration.Value; + } + + if (intraRefreshIndex is not null) + { + IntraRefreshIndex = intraRefreshIndex.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "intraRefreshCycleDuration")] + public uint IntraRefreshCycleDuration; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "intraRefreshIndex")] + public uint IntraRefreshIndex; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeIntraRefreshInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapCapabilitiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..1b5e2a0606 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapCapabilitiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeQuantizationMapCapabilitiesKHR")] + public unsafe partial struct VideoEncodeQuantizationMapCapabilitiesKHR : IExtendsChain + { + public VideoEncodeQuantizationMapCapabilitiesKHR + ( + StructureType? sType = StructureType.VideoEncodeQuantizationMapCapabilitiesKhr, + void* pNext = null, + Extent2D? maxQuantizationMapExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (maxQuantizationMapExtent is not null) + { + MaxQuantizationMapExtent = maxQuantizationMapExtent.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "maxQuantizationMapExtent")] + public Extent2D MaxQuantizationMapExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeQuantizationMapCapabilitiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapInfoKHR.gen.cs new file mode 100644 index 0000000000..7ec59ebdb2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapInfoKHR.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeQuantizationMapInfoKHR")] + public unsafe partial struct VideoEncodeQuantizationMapInfoKHR : IExtendsChain + { + public VideoEncodeQuantizationMapInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeQuantizationMapInfoKhr, + void* pNext = null, + ImageView? quantizationMap = null, + Extent2D? quantizationMapExtent = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (quantizationMap is not null) + { + QuantizationMap = quantizationMap.Value; + } + + if (quantizationMapExtent is not null) + { + QuantizationMapExtent = quantizationMapExtent.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkImageView")] + [NativeName("Type.Name", "VkImageView")] + [NativeName("Name", "quantizationMap")] + public ImageView QuantizationMap; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "quantizationMapExtent")] + public Extent2D QuantizationMapExtent; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeQuantizationMapInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapSessionParametersCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapSessionParametersCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..e06de63259 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeQuantizationMapSessionParametersCreateInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeQuantizationMapSessionParametersCreateInfoKHR")] + public unsafe partial struct VideoEncodeQuantizationMapSessionParametersCreateInfoKHR : IExtendsChain + { + public VideoEncodeQuantizationMapSessionParametersCreateInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeQuantizationMapSessionParametersCreateInfoKhr, + void* pNext = null, + Extent2D? quantizationMapTexelSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (quantizationMapTexelSize is not null) + { + QuantizationMapTexelSize = quantizationMapTexelSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "quantizationMapTexelSize")] + public Extent2D QuantizationMapTexelSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeQuantizationMapSessionParametersCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeSessionIntraRefreshCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeSessionIntraRefreshCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..c2c8ee9405 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoEncodeSessionIntraRefreshCreateInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoEncodeSessionIntraRefreshCreateInfoKHR")] + public unsafe partial struct VideoEncodeSessionIntraRefreshCreateInfoKHR : IExtendsChain + { + public VideoEncodeSessionIntraRefreshCreateInfoKHR + ( + StructureType? sType = StructureType.VideoEncodeSessionIntraRefreshCreateInfoKhr, + void* pNext = null, + VideoEncodeIntraRefreshModeFlagsKHR? intraRefreshMode = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (intraRefreshMode is not null) + { + IntraRefreshMode = intraRefreshMode.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeIntraRefreshModeFlagBitsKHR")] + [NativeName("Type.Name", "VkVideoEncodeIntraRefreshModeFlagBitsKHR")] + [NativeName("Name", "intraRefreshMode")] + public VideoEncodeIntraRefreshModeFlagsKHR IntraRefreshMode; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoEncodeSessionIntraRefreshCreateInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatAV1QuantizationMapPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatAV1QuantizationMapPropertiesKHR.gen.cs new file mode 100644 index 0000000000..beda896c0d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatAV1QuantizationMapPropertiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoFormatAV1QuantizationMapPropertiesKHR")] + public unsafe partial struct VideoFormatAV1QuantizationMapPropertiesKHR : IExtendsChain + { + public VideoFormatAV1QuantizationMapPropertiesKHR + ( + StructureType? sType = StructureType.VideoFormatAV1QuantizationMapPropertiesKhr, + void* pNext = null, + VideoEncodeAV1SuperblockSizeFlagsKHR? compatibleSuperblockSizes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (compatibleSuperblockSizes is not null) + { + CompatibleSuperblockSizes = compatibleSuperblockSizes.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeAV1SuperblockSizeFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeAV1SuperblockSizeFlagsKHR")] + [NativeName("Name", "compatibleSuperblockSizes")] + public VideoEncodeAV1SuperblockSizeFlagsKHR CompatibleSuperblockSizes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoFormatAV1QuantizationMapPropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatH265QuantizationMapPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatH265QuantizationMapPropertiesKHR.gen.cs new file mode 100644 index 0000000000..f40acce06b --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatH265QuantizationMapPropertiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoFormatH265QuantizationMapPropertiesKHR")] + public unsafe partial struct VideoFormatH265QuantizationMapPropertiesKHR : IExtendsChain + { + public VideoFormatH265QuantizationMapPropertiesKHR + ( + StructureType? sType = StructureType.VideoFormatH265QuantizationMapPropertiesKhr, + void* pNext = null, + VideoEncodeH265CtbSizeFlagsKHR? compatibleCtbSizes = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (compatibleCtbSizes is not null) + { + CompatibleCtbSizes = compatibleCtbSizes.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkVideoEncodeH265CtbSizeFlagsKHR")] + [NativeName("Type.Name", "VkVideoEncodeH265CtbSizeFlagsKHR")] + [NativeName("Name", "compatibleCtbSizes")] + public VideoEncodeH265CtbSizeFlagsKHR CompatibleCtbSizes; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoFormatH265QuantizationMapPropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatPropertiesKHR.gen.cs index cb94712fd5..6ceb3c9020 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatPropertiesKHR.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.Vulkan { [NativeName("Name", "VkVideoFormatPropertiesKHR")] - public unsafe partial struct VideoFormatPropertiesKHR : IChainable + public unsafe partial struct VideoFormatPropertiesKHR : IChainStart { public VideoFormatPropertiesKHR ( @@ -125,5 +125,17 @@ unsafe BaseInStructure* IChainable.PNext get => (BaseInStructure*) PNext; set => PNext = value; } + + /// + /// Convenience method to start a chain. + /// + /// The newly created chain root + /// A reference to the newly created chain. + public static unsafe ref VideoFormatPropertiesKHR Chain( + out VideoFormatPropertiesKHR capture) + { + capture = new VideoFormatPropertiesKHR(StructureType.VideoFormatPropertiesKhr); + return ref capture; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatQuantizationMapPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatQuantizationMapPropertiesKHR.gen.cs new file mode 100644 index 0000000000..6fa803a204 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoFormatQuantizationMapPropertiesKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoFormatQuantizationMapPropertiesKHR")] + public unsafe partial struct VideoFormatQuantizationMapPropertiesKHR : IExtendsChain + { + public VideoFormatQuantizationMapPropertiesKHR + ( + StructureType? sType = StructureType.VideoFormatQuantizationMapPropertiesKhr, + void* pNext = null, + Extent2D? quantizationMapTexelSize = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (quantizationMapTexelSize is not null) + { + QuantizationMapTexelSize = quantizationMapTexelSize.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkExtent2D")] + [NativeName("Type.Name", "VkExtent2D")] + [NativeName("Name", "quantizationMapTexelSize")] + public Extent2D QuantizationMapTexelSize; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoFormatQuantizationMapPropertiesKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoReferenceIntraRefreshInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoReferenceIntraRefreshInfoKHR.gen.cs new file mode 100644 index 0000000000..d43ce2b6c9 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoReferenceIntraRefreshInfoKHR.gen.cs @@ -0,0 +1,74 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkVideoReferenceIntraRefreshInfoKHR")] + public unsafe partial struct VideoReferenceIntraRefreshInfoKHR : IExtendsChain + { + public VideoReferenceIntraRefreshInfoKHR + ( + StructureType? sType = StructureType.VideoReferenceIntraRefreshInfoKhr, + void* pNext = null, + uint? dirtyIntraRefreshRegions = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (dirtyIntraRefreshRegions is not null) + { + DirtyIntraRefreshRegions = dirtyIntraRefreshRegions.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "dirtyIntraRefreshRegions")] + public uint DirtyIntraRefreshRegions; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.VideoReferenceIntraRefreshInfoKhr; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoSessionParametersCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoSessionParametersCreateInfoKHR.gen.cs index fcd12d1214..17836b53d0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/VideoSessionParametersCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/VideoSessionParametersCreateInfoKHR.gen.cs @@ -23,7 +23,7 @@ public VideoSessionParametersCreateInfoKHR ( StructureType? sType = StructureType.VideoSessionParametersCreateInfoKhr, void* pNext = null, - uint? flags = null, + VideoSessionParametersCreateFlagsKHR? flags = null, VideoSessionParametersKHR? videoSessionParametersTemplate = null, VideoSessionKHR? videoSession = null ) : this() @@ -68,7 +68,7 @@ public VideoSessionParametersCreateInfoKHR [NativeName("Type", "VkVideoSessionParametersCreateFlagsKHR")] [NativeName("Type.Name", "VkVideoSessionParametersCreateFlagsKHR")] [NativeName("Name", "flags")] - public uint Flags; + public VideoSessionParametersCreateFlagsKHR Flags; /// [NativeName("Type", "VkVideoSessionParametersKHR")] [NativeName("Type.Name", "VkVideoSessionParametersKHR")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetPartitionedAccelerationStructureNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetPartitionedAccelerationStructureNV.gen.cs new file mode 100644 index 0000000000..9481ec8d18 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetPartitionedAccelerationStructureNV.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkWriteDescriptorSetPartitionedAccelerationStructureNV")] + public unsafe partial struct WriteDescriptorSetPartitionedAccelerationStructureNV : IExtendsChain + { + public WriteDescriptorSetPartitionedAccelerationStructureNV + ( + StructureType? sType = StructureType.WriteDescriptorSetPartitionedAccelerationStructureNV, + void* pNext = null, + uint? accelerationStructureCount = null, + ulong* pAccelerationStructures = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (accelerationStructureCount is not null) + { + AccelerationStructureCount = accelerationStructureCount.Value; + } + + if (pAccelerationStructures is not null) + { + PAccelerationStructures = pAccelerationStructures; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "accelerationStructureCount")] + public uint AccelerationStructureCount; +/// + [NativeName("Type", "VkDeviceAddress*")] + [NativeName("Type.Name", "VkDeviceAddress")] + [NativeName("Name", "pAccelerationStructures")] + public ulong* PAccelerationStructures; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.WriteDescriptorSetPartitionedAccelerationStructureNV; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetTensorARM.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetTensorARM.gen.cs new file mode 100644 index 0000000000..c97a694778 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/WriteDescriptorSetTensorARM.gen.cs @@ -0,0 +1,85 @@ +// 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; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkWriteDescriptorSetTensorARM")] + public unsafe partial struct WriteDescriptorSetTensorARM : IExtendsChain + { + public WriteDescriptorSetTensorARM + ( + StructureType? sType = StructureType.WriteDescriptorSetTensorArm, + void* pNext = null, + uint? tensorViewCount = null, + TensorViewARM* pTensorViews = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (tensorViewCount is not null) + { + TensorViewCount = tensorViewCount.Value; + } + + if (pTensorViews is not null) + { + PTensorViews = pTensorViews; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "tensorViewCount")] + public uint TensorViewCount; +/// + [NativeName("Type", "VkTensorViewARM*")] + [NativeName("Type.Name", "VkTensorViewARM")] + [NativeName("Name", "pTensorViews")] + public TensorViewARM* PTensorViews; + + /// + StructureType IStructuredType.StructureType() + { + return SType = StructureType.WriteDescriptorSetTensorArm; + } + + /// + unsafe BaseInStructure* IChainable.PNext + { + get => (BaseInStructure*) PNext; + set => PNext = value; + } + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs index dfbcbfd799..795b2d006d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs @@ -20,6 +20,12 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_ATTACHMENT_UNUSED")] public const uint AttachmentUnused = unchecked((uint) (~0U)); [NativeName("Type", "")] + [NativeName("Name", "VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_BYTE_ALIGNMENT_AMDX")] + public const uint CompressedTriangleFormatDgf1ByteAlignmentAmdx = unchecked((uint) 128); + [NativeName("Type", "")] + [NativeName("Name", "VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_BYTE_STRIDE_AMDX")] + public const uint CompressedTriangleFormatDgf1ByteStrideAmdx = unchecked((uint) 128); + [NativeName("Type", "")] [NativeName("Name", "VK_FALSE")] public const uint False = unchecked((uint) 0); [NativeName("Type", "")] @@ -29,38 +35,23 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_LUID_SIZE")] public const uint LuidSize = unchecked((uint) 8); [NativeName("Type", "")] - [NativeName("Name", "VK_LUID_SIZE_KHR")] - public const uint LuidSizeKhr = unchecked((uint) 8); - [NativeName("Type", "")] [NativeName("Name", "VK_MAX_DESCRIPTION_SIZE")] public const uint MaxDescriptionSize = unchecked((uint) 256); [NativeName("Type", "")] [NativeName("Name", "VK_MAX_DEVICE_GROUP_SIZE")] public const uint MaxDeviceGroupSize = unchecked((uint) 32); [NativeName("Type", "")] - [NativeName("Name", "VK_MAX_DEVICE_GROUP_SIZE_KHR")] - public const uint MaxDeviceGroupSizeKhr = unchecked((uint) 32); - [NativeName("Type", "")] [NativeName("Name", "VK_MAX_DRIVER_INFO_SIZE")] public const uint MaxDriverInfoSize = unchecked((uint) 256); [NativeName("Type", "")] - [NativeName("Name", "VK_MAX_DRIVER_INFO_SIZE_KHR")] - public const uint MaxDriverInfoSizeKhr = unchecked((uint) 256); - [NativeName("Type", "")] [NativeName("Name", "VK_MAX_DRIVER_NAME_SIZE")] public const uint MaxDriverNameSize = unchecked((uint) 256); [NativeName("Type", "")] - [NativeName("Name", "VK_MAX_DRIVER_NAME_SIZE_KHR")] - public const uint MaxDriverNameSizeKhr = unchecked((uint) 256); - [NativeName("Type", "")] [NativeName("Name", "VK_MAX_EXTENSION_NAME_SIZE")] public const uint MaxExtensionNameSize = unchecked((uint) 256); [NativeName("Type", "")] - [NativeName("Name", "VK_MAX_GLOBAL_PRIORITY_SIZE_EXT")] - public const uint MaxGlobalPrioritySizeExt = unchecked((uint) 16); - [NativeName("Type", "")] - [NativeName("Name", "VK_MAX_GLOBAL_PRIORITY_SIZE_KHR")] - public const uint MaxGlobalPrioritySizeKhr = unchecked((uint) 16); + [NativeName("Name", "VK_MAX_GLOBAL_PRIORITY_SIZE")] + public const uint MaxGlobalPrioritySize = unchecked((uint) 16); [NativeName("Type", "")] [NativeName("Name", "VK_MAX_MEMORY_HEAPS")] public const uint MaxMemoryHeaps = unchecked((uint) 16); @@ -68,6 +59,9 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_MAX_MEMORY_TYPES")] public const uint MaxMemoryTypes = unchecked((uint) 32); [NativeName("Type", "")] + [NativeName("Name", "VK_MAX_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_SET_NAME_SIZE_ARM")] + public const uint MaxPhysicalDeviceDataGraphOperationSetNameSizeArm = unchecked((uint) 128); + [NativeName("Type", "")] [NativeName("Name", "VK_MAX_PHYSICAL_DEVICE_NAME_SIZE")] public const uint MaxPhysicalDeviceNameSize = unchecked((uint) 256); [NativeName("Type", "")] @@ -80,12 +74,15 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR")] public const uint MaxVideoAV1ReferencesPerFrameKhr = unchecked((uint) 7); [NativeName("Type", "")] + [NativeName("Name", "VK_MAX_VIDEO_VP9_REFERENCES_PER_FRAME_KHR")] + public const uint MaxVideoVP9ReferencesPerFrameKhr = unchecked((uint) 3); + [NativeName("Type", "")] + [NativeName("Name", "VK_PARTITIONED_ACCELERATION_STRUCTURE_PARTITION_INDEX_GLOBAL_NV")] + public const uint PartitionedAccelerationStructurePartitionIndexGlobalNV = unchecked((uint) (~0U)); + [NativeName("Type", "")] [NativeName("Name", "VK_QUEUE_FAMILY_EXTERNAL")] public const uint QueueFamilyExternal = unchecked((uint) (~1U)); [NativeName("Type", "")] - [NativeName("Name", "VK_QUEUE_FAMILY_EXTERNAL_KHR")] - public const uint QueueFamilyExternalKhr = unchecked((uint) (~1U)); - [NativeName("Type", "")] [NativeName("Name", "VK_QUEUE_FAMILY_FOREIGN_EXT")] public const uint QueueFamilyForeignExt = unchecked((uint) (~2U)); [NativeName("Type", "")] @@ -107,9 +104,6 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_SHADER_UNUSED_KHR")] public const uint ShaderUnusedKhr = unchecked((uint) (~0U)); [NativeName("Type", "")] - [NativeName("Name", "VK_SHADER_UNUSED_NV")] - public const uint ShaderUnusedNV = unchecked((uint) (~0U)); - [NativeName("Type", "")] [NativeName("Name", "VK_SUBPASS_EXTERNAL")] public const uint SubpassExternal = unchecked((uint) (~0U)); [NativeName("Type", "")] @@ -122,6 +116,186 @@ public unsafe partial class Vk : NativeAPI [NativeName("Name", "VK_WHOLE_SIZE")] public const ulong WholeSize = unchecked((ulong) (~0ul)); + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBindDescriptorSets2", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] BindDescriptorSetsInfo* pBindDescriptorSetsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBindDescriptorSets2", Convention = CallingConvention.Winapi)] + public partial void CmdBindDescriptorSets2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in BindDescriptorSetsInfo pBindDescriptorSetsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdBindIndexBuffer2", Convention = CallingConvention.Winapi)] + public partial void CmdBindIndexBuffer2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] Buffer buffer, [Count(Count = 0)] ulong offset, [Count(Count = 0)] ulong size, [Count(Count = 0)] IndexType indexType); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushConstants2", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushConstantsInfo* pPushConstantsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushConstants2", Convention = CallingConvention.Winapi)] + public partial void CmdPushConstants2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushConstantsInfo pPushConstantsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSet", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdPushDescriptorSet([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] PipelineBindPoint pipelineBindPoint, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] uint descriptorWriteCount, [Count(Parameter = "descriptorWriteCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] WriteDescriptorSet* pDescriptorWrites); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSet", Convention = CallingConvention.Winapi)] + public partial void CmdPushDescriptorSet([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] PipelineBindPoint pipelineBindPoint, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] uint descriptorWriteCount, [Count(Parameter = "descriptorWriteCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in WriteDescriptorSet pDescriptorWrites); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSet2", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetInfo* pPushDescriptorSetInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSet2", Convention = CallingConvention.Winapi)] + public partial void CmdPushDescriptorSet2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetInfo pPushDescriptorSetInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdPushDescriptorSetWithTemplate([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DescriptorUpdateTemplate descriptorUpdateTemplate, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] void* pData); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate", Convention = CallingConvention.Winapi)] + public partial void CmdPushDescriptorSetWithTemplate([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DescriptorUpdateTemplate descriptorUpdateTemplate, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] ref T0 pData) where T0 : unmanaged; + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate2", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] PushDescriptorSetWithTemplateInfo* pPushDescriptorSetWithTemplateInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdPushDescriptorSetWithTemplate2", Convention = CallingConvention.Winapi)] + public partial void CmdPushDescriptorSetWithTemplate2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in PushDescriptorSetWithTemplateInfo pPushDescriptorSetWithTemplateInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdSetLineStipple", Convention = CallingConvention.Winapi)] + public partial void CmdSetLineStipple([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint lineStippleFactor, [Count(Count = 0)] ushort lineStipplePattern); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdSetRenderingAttachmentLocations", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAttachmentLocationInfo* pLocationInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdSetRenderingAttachmentLocations", Convention = CallingConvention.Winapi)] + public partial void CmdSetRenderingAttachmentLocation([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAttachmentLocationInfo pLocationInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdSetRenderingInputAttachmentIndices", Convention = CallingConvention.Winapi)] + public unsafe partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingInputAttachmentIndexInfo* pInputAttachmentIndexInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCmdSetRenderingInputAttachmentIndices", Convention = CallingConvention.Winapi)] + public partial void CmdSetRenderingInputAttachmentIndices([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingInputAttachmentIndexInfo pInputAttachmentIndexInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyImageToImage", Convention = CallingConvention.Winapi)] + public unsafe partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToImageInfo* pCopyImageToImageInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyImageToImage", Convention = CallingConvention.Winapi)] + public partial Result CopyImageToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToImageInfo pCopyImageToImageInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyImageToMemory", Convention = CallingConvention.Winapi)] + public unsafe partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyImageToMemoryInfo* pCopyImageToMemoryInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyImageToMemory", Convention = CallingConvention.Winapi)] + public partial Result CopyImageToMemory([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyImageToMemoryInfo pCopyImageToMemoryInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyMemoryToImage", Convention = CallingConvention.Winapi)] + public unsafe partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyMemoryToImageInfo* pCopyMemoryToImageInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkCopyMemoryToImage", Convention = CallingConvention.Winapi)] + public partial Result CopyMemoryToImage([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in CopyMemoryToImageInfo pCopyMemoryToImageInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayout", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayout", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayout", Convention = CallingConvention.Winapi)] + public unsafe partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + [NativeApi(EntryPoint = "vkGetDeviceImageSubresourceLayout", Convention = CallingConvention.Winapi)] + public partial void GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2", Convention = CallingConvention.Winapi)] + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2", Convention = CallingConvention.Winapi)] + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2", Convention = CallingConvention.Winapi)] + public unsafe partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + [NativeApi(EntryPoint = "vkGetImageSubresourceLayout2", Convention = CallingConvention.Winapi)] + public partial void GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out SubresourceLayout2 pLayout); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetRenderingAreaGranularity", Convention = CallingConvention.Winapi)] + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetRenderingAreaGranularity", Convention = CallingConvention.Winapi)] + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetRenderingAreaGranularity", Convention = CallingConvention.Winapi)] + public unsafe partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetRenderingAreaGranularity", Convention = CallingConvention.Winapi)] + public partial void GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] out Extent2D pGranularity); + + /// To be documented. + [NativeApi(EntryPoint = "vkMapMemory2", Convention = CallingConvention.Winapi)] + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfo* pMemoryMapInfo, [Count(Count = 0)] void** ppData); + + /// To be documented. + [NativeApi(EntryPoint = "vkMapMemory2", Convention = CallingConvention.Winapi)] + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryMapInfo* pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); + + /// To be documented. + [NativeApi(EntryPoint = "vkMapMemory2", Convention = CallingConvention.Winapi)] + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfo pMemoryMapInfo, [Count(Count = 0)] void** ppData); + + /// To be documented. + [NativeApi(EntryPoint = "vkMapMemory2", Convention = CallingConvention.Winapi)] + public unsafe partial Result MapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryMapInfo pMemoryMapInfo, [Count(Count = 0)] ref void* ppData); + + /// To be documented. + [NativeApi(EntryPoint = "vkTransitionImageLayout", Convention = CallingConvention.Winapi)] + public unsafe partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] HostImageLayoutTransitionInfo* pTransitions); + + /// To be documented. + [NativeApi(EntryPoint = "vkTransitionImageLayout", Convention = CallingConvention.Winapi)] + public partial Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in HostImageLayoutTransitionInfo pTransitions); + + /// To be documented. + [NativeApi(EntryPoint = "vkUnmapMemory2", Convention = CallingConvention.Winapi)] + public unsafe partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] MemoryUnmapInfo* pMemoryUnmapInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkUnmapMemory2", Convention = CallingConvention.Winapi)] + public partial Result UnmapMemory2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in MemoryUnmapInfo pMemoryUnmapInfo); + /// To be documented. [NativeApi(EntryPoint = "vkCmdBeginRenderPass2", Convention = CallingConvention.Winapi)] public unsafe partial void CmdBeginRenderPass2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPassBeginInfo* pRenderPassBegin, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] SubpassBeginInfo* pSubpassBeginInfo); @@ -2836,6 +3010,20 @@ public unsafe partial class Vk : NativeAPI [NativeApi(EntryPoint = "vkWaitForFences", Convention = CallingConvention.Winapi)] public partial Result WaitForFences([Count(Count = 0)] Device device, [Count(Count = 0)] uint fenceCount, [Count(Parameter = "fenceCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Fence pFences, [Count(Count = 0)] Bool32 waitAll, [Count(Count = 0)] ulong timeout); + /// To be documented. + public unsafe void CmdPushDescriptorSet([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] PipelineBindPoint pipelineBindPoint, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Parameter = "descriptorWriteCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pDescriptorWrites) + { + // ImplicitCountSpanOverloader + CmdPushDescriptorSet(commandBuffer, pipelineBindPoint, layout, set, (uint) pDescriptorWrites.Length, in pDescriptorWrites.GetPinnableReference()); + } + + /// To be documented. + public unsafe Result TransitionImageLayout([Count(Count = 0)] Device device, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) + { + // ImplicitCountSpanOverloader + return TransitionImageLayout(device, (uint) pTransitions.Length, in pTransitions.GetPinnableReference()); + } + /// To be documented. public unsafe void CmdBindVertexBuffers2([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstBinding, [Count(Parameter = "bindingCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] Buffer* pBuffers, [Count(Parameter = "bindingCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* pOffsets, [Count(Parameter = "bindingCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong* pSizes, [Count(Parameter = "bindingCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pStrides) { @@ -3548,6 +3736,58 @@ public unsafe Result WaitForFences([Count(Count = 0)] Device device, [Count(Para return WaitForFences(device, (uint) pFences.Length, in pFences.GetPinnableReference(), waitAll, timeout); } + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo) + { + // NonKhrReturnTypeOverloader + GetDeviceImageSubresourceLayout(device, pInfo, out SubresourceLayout2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetDeviceImageSubresourceLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in DeviceImageSubresourceInfo pInfo) + { + // NonKhrReturnTypeOverloader + GetDeviceImageSubresourceLayout(device, in pInfo, out SubresourceLayout2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource) + { + // NonKhrReturnTypeOverloader + GetImageSubresourceLayout2(device, image, pSubresource, out SubresourceLayout2 silkRet); + return silkRet; + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public unsafe SubresourceLayout2 GetImageSubresourceLayout2([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in ImageSubresource2 pSubresource) + { + // NonKhrReturnTypeOverloader + GetImageSubresourceLayout2(device, image, in pSubresource, out SubresourceLayout2 silkRet); + return silkRet; + } + + /// To be documented. + public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo) + { + // NonKhrReturnTypeOverloader + GetRenderingAreaGranularity(device, pRenderingAreaInfo, out Extent2D silkRet); + return silkRet; + } + + /// To be documented. + public unsafe Extent2D GetRenderingAreaGranularity([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in RenderingAreaInfo pRenderingAreaInfo) + { + // NonKhrReturnTypeOverloader + GetRenderingAreaGranularity(device, in pRenderingAreaInfo, out Extent2D silkRet); + return silkRet; + } + /// To be documented. [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public unsafe MemoryRequirements2 GetDeviceBufferMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceBufferMemoryRequirements* pInfo) diff --git a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs index 06d53b6e80..562f07c4da 100644 --- a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs @@ -16,6 +16,178 @@ namespace Silk.NET.Vulkan { public static class VkOverloads { + /// To be documented. + public static unsafe void CmdBindDescriptorSets2(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pBindDescriptorSetsInfo) + { + // SpanOverloader + thisApi.CmdBindDescriptorSets2(commandBuffer, in pBindDescriptorSetsInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdPushConstants2(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushConstantsInfo) + { + // SpanOverloader + thisApi.CmdPushConstants2(commandBuffer, in pPushConstantsInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdPushDescriptorSet(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] PipelineBindPoint pipelineBindPoint, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] uint descriptorWriteCount, [Count(Parameter = "descriptorWriteCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pDescriptorWrites) + { + // SpanOverloader + thisApi.CmdPushDescriptorSet(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, in pDescriptorWrites.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdPushDescriptorSet2(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetInfo) + { + // SpanOverloader + thisApi.CmdPushDescriptorSet2(commandBuffer, in pPushDescriptorSetInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdPushDescriptorSetWithTemplate(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] DescriptorUpdateTemplate descriptorUpdateTemplate, [Count(Count = 0)] PipelineLayout layout, [Count(Count = 0)] uint set, [Count(Count = 0)] Span pData) where T0 : unmanaged + { + // SpanOverloader + thisApi.CmdPushDescriptorSetWithTemplate(commandBuffer, descriptorUpdateTemplate, layout, set, ref pData.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdPushDescriptorSetWithTemplate2(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pPushDescriptorSetWithTemplateInfo) + { + // SpanOverloader + thisApi.CmdPushDescriptorSetWithTemplate2(commandBuffer, in pPushDescriptorSetWithTemplateInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdSetRenderingAttachmentLocation(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pLocationInfo) + { + // SpanOverloader + thisApi.CmdSetRenderingAttachmentLocation(commandBuffer, in pLocationInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void CmdSetRenderingInputAttachmentIndices(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInputAttachmentIndexInfo) + { + // SpanOverloader + thisApi.CmdSetRenderingInputAttachmentIndices(commandBuffer, in pInputAttachmentIndexInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CopyImageToImage(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToImageInfo) + { + // SpanOverloader + return thisApi.CopyImageToImage(device, in pCopyImageToImageInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CopyImageToMemory(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyImageToMemoryInfo) + { + // SpanOverloader + return thisApi.CopyImageToMemory(device, in pCopyImageToMemoryInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CopyMemoryToImage(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pCopyMemoryToImageInfo) + { + // SpanOverloader + return thisApi.CopyMemoryToImage(device, in pCopyMemoryToImageInfo.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetDeviceImageSubresourceLayout(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceImageSubresourceInfo* pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + { + // SpanOverloader + thisApi.GetDeviceImageSubresourceLayout(device, pInfo, out pLayout.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetDeviceImageSubresourceLayout(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) + { + // SpanOverloader + thisApi.GetDeviceImageSubresourceLayout(device, in pInfo.GetPinnableReference(), pLayout); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetDeviceImageSubresourceLayout(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + { + // SpanOverloader + thisApi.GetDeviceImageSubresourceLayout(device, in pInfo.GetPinnableReference(), out pLayout.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageSubresource2* pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + { + // SpanOverloader + thisApi.GetImageSubresourceLayout2(device, image, pSubresource, out pLayout.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetImageSubresourceLayout2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] SubresourceLayout2* pLayout) + { + // SpanOverloader + thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), pLayout); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pLayout = new(StructureType.SubresourceLayout2);")] + public static unsafe void GetImageSubresourceLayout2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubresource, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pLayout) + { + // SpanOverloader + thisApi.GetImageSubresourceLayout2(device, image, in pSubresource.GetPinnableReference(), out pLayout.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetRenderingAreaGranularity(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderingAreaInfo* pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) + { + // SpanOverloader + thisApi.GetRenderingAreaGranularity(device, pRenderingAreaInfo, out pGranularity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void GetRenderingAreaGranularity(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Extent2D* pGranularity) + { + // SpanOverloader + thisApi.GetRenderingAreaGranularity(device, in pRenderingAreaInfo.GetPinnableReference(), pGranularity); + } + + /// To be documented. + public static unsafe void GetRenderingAreaGranularity(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pRenderingAreaInfo, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span pGranularity) + { + // SpanOverloader + thisApi.GetRenderingAreaGranularity(device, in pRenderingAreaInfo.GetPinnableReference(), out pGranularity.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result MapMemory2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] void** ppData) + { + // SpanOverloader + return thisApi.MapMemory2(device, in pMemoryMapInfo.GetPinnableReference(), ppData); + } + + /// To be documented. + public static unsafe Result MapMemory2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryMapInfo, [Count(Count = 0)] ref void* ppData) + { + // SpanOverloader + return thisApi.MapMemory2(device, in pMemoryMapInfo.GetPinnableReference(), ref ppData); + } + + /// To be documented. + public static unsafe Result TransitionImageLayout(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint transitionCount, [Count(Parameter = "transitionCount"), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pTransitions) + { + // SpanOverloader + return thisApi.TransitionImageLayout(device, transitionCount, in pTransitions.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result UnmapMemory2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pMemoryUnmapInfo) + { + // SpanOverloader + return thisApi.UnmapMemory2(device, in pMemoryUnmapInfo.GetPinnableReference()); + } + /// To be documented. public static unsafe void CmdBeginRenderPass2(this Vk thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPassBeginInfo* pRenderPassBegin, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan pSubpassBeginInfo) {